]>
git.ipfire.org Git - people/stevee/pakfire.git/blob - tools/chroot-shell
5 You are now dropped to a chrooted shell of the package's environment.
7 The sources have been extracted to /build and maybe there are files left
8 from a last (broken) build. Nothing of that content will be saved after
11 You can leave the environment by typing "exit" or Ctrl-D.
15 # Setting nice environment
16 export PS1
="pakfire-chroot \w> "
18 # Change to directory the user will most likely work in
19 for i
in ${SOURCE_DIR} /root
/; do
20 if [ -d "${i}" ]; then
27 exec /bin
/bash
--login