From 83bc63f725263c571094e3af1c88c58992bf0ac6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 7 Sep 2010 15:11:20 +0200 Subject: Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename. --- scripts/build/clean | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'scripts/build/clean') diff --git a/scripts/build/clean b/scripts/build/clean index 280de865c..f734a50b0 100755 --- a/scripts/build/clean +++ b/scripts/build/clean @@ -11,7 +11,7 @@ set -e # Including common functions -. "${LH_BASE:-/usr/share/live/build}"/scripts/build.sh +. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh # Read meta config if [ "${1}" != "noauto" ] && [ -x auto/clean ] @@ -68,30 +68,30 @@ do ;; --cache) - ${LH_ROOT_COMMAND} rm -rf cache + ${LB_ROOT_COMMAND} rm -rf cache ;; --chroot) Echo_message "Cleaning chroot" - ${LH_ROOT_COMMAND} umount -f chroot/sys > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/proc/sys/fs/binfmt_misc > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/proc > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/lib/init/rw > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/dev/shm > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/dev > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/var/lib/dpkg > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/sys > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/proc/sys/fs/binfmt_misc > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/proc > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/lib/init/rw > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/dev/shm > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/dev > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/var/lib/dpkg > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/binary.tmp > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} umount -f chroot/dev.tmp/pts > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/binary.tmp > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f chroot/dev.tmp/pts > /dev/null 2>&1 || true - ${LH_ROOT_COMMAND} rm -rf chroot chroot.tmp + ${LB_ROOT_COMMAND} rm -rf chroot chroot.tmp rm -f .stage/chroot* ;; --binary) - ${LH_ROOT_COMMAND} umount -f binary.tmp > /dev/null 2>&1 || true + ${LB_ROOT_COMMAND} umount -f binary.tmp > /dev/null 2>&1 || true rm -rf binary.tmp binary.deb binary.udeb rm -f binary*.iso rm -f binary*.img -- cgit v1.2.3