mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-09 12:55:23 +01:00
Add after.sh hook to sysc (similarly to after.kaem hook in stage0-posix).
This commit is contained in:
parent
fc0368aa6a
commit
c6ca548d5b
2 changed files with 11 additions and 2 deletions
8
sysc/after.sh
Executable file
8
sysc/after.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# Replace this hook if you wish to do more
|
||||
|
||||
exec env - PATH="${PREFIX}/bin" PS1="\w # " bash -i
|
||||
|
|
@ -102,5 +102,6 @@ fi
|
|||
|
||||
echo "Bootstrapping completed."
|
||||
|
||||
cd "${PREFIX}"
|
||||
exec env - PATH="${PREFIX}/bin" PS1="\w # " bash -i
|
||||
cd "/"
|
||||
|
||||
exec env -i PATH="${PATH}" PREFIX="${PREFIX}" SOURCES="${SOURCES}" DESTDIR="${DESTDIR}" DISTFILES="${DISTFILES}" bash after.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue