]> git.ipfire.org Git - pakfire.git/commitdiff
Drop unused chroot-shell script
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 May 2021 16:07:56 +0000 (16:07 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 May 2021 16:07:56 +0000 (16:07 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/scripts/chroot-shell [deleted file]

index 4288def5064852abe335f3392492e9033f98e558..a4ba1408356ef10249fb131bf685f273ae904094 100644 (file)
@@ -567,7 +567,6 @@ CLEANFILES += \
        src/scripts/quality-agent
 
 dist_scripts_SCRIPTS = \
-       src/scripts/chroot-shell \
        src/scripts/cleanup \
        src/scripts/compress-man-pages \
        src/scripts/find-common \
diff --git a/src/scripts/chroot-shell b/src/scripts/chroot-shell
deleted file mode 100644 (file)
index de70d77..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-cat <<EOF
-
-       You are now dropped to a chrooted shell of the package's environment.
-
-       The sources have been extracted to /build and maybe there are files left
-       from a last (broken) build. Nothing of that content will be saved after
-       you left the shell.
-
-       You can leave the environment by typing "exit" or Ctrl-D.
-
-EOF
-
-# Setting nice environment
-export PS1="pakfire-chroot \w> "
-
-# Change to directory the user will most likely work in
-for i in ${SOURCE_DIR} /root /; do
-       if [ -d "${i}" ]; then
-               cd ${i}
-               break
-       fi
-done
-unset i
-
-exec /bin/bash --login