From ac8a9404f9b306a651f312d7825b36830d384695 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 28 Jan 2023 02:21:28 +0100 Subject: [PATCH] Remove wdvn-chroot/wdvn-chroot-end from live-installer login --- mods/live-installer/data/bin/login | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/mods/live-installer/data/bin/login b/mods/live-installer/data/bin/login index fc0e7dd..bf86afb 100755 --- a/mods/live-installer/data/bin/login +++ b/mods/live-installer/data/bin/login @@ -2,31 +2,6 @@ export PATH="/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" export HOME="/root" -function wdvn-chroot { - ( - set -e - mount -o bind "/dev" "$1/dev" - mount -o bind "/dev/pts" "$1/dev/pts" - mount -o bind "/sys" "$1/sys" - mount -t proc none "$1/proc" - chroot "$1" ${@:2} - ) - - if [ $? != 0 ]; then - wdvn-chroot-end "$1" - exit 1 - fi - - wdvn-chroot-end "$1" -} - -function wdvn-chroot-end { - umount -l "$1/proc" - umount -l "$1/sys" - umount -l "$1/dev/pts" - umount -l "$1/dev" -} - CHOICE=1 dpkg-reconfigure keyboard-configuration