summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_selinuxfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-07 15:11:20 +0200
committerDaniel Baumann <daniel@debian.org>2010-09-07 15:11:48 +0200
commit493c4488bfb24e9553e79ba84441167d5757a3e1 (patch)
tree25be3b96127e122c9f1448f6155dea6b03293248 /scripts/build/chroot_selinuxfs
parentec77afa94f35e2acb4da77d027b7040aa0fb7114 (diff)
downloadvyos-live-build-493c4488bfb24e9553e79ba84441167d5757a3e1.tar.gz
vyos-live-build-493c4488bfb24e9553e79ba84441167d5757a3e1.zip
Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename.
Diffstat (limited to 'scripts/build/chroot_selinuxfs')
-rwxr-xr-xscripts/build/chroot_selinuxfs10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/chroot_selinuxfs b/scripts/build/chroot_selinuxfs
index 1fb263e86..0f30d3b5e 100755
--- a/scripts/build/chroot_selinuxfs
+++ b/scripts/build/chroot_selinuxfs
@@ -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
# Setting static variables
DESCRIPTION="$(Echo 'mount /selinux')"
@@ -45,13 +45,13 @@ case "${1}" in
# Creating lock file
Create_lockfile .lock
- if [ "${LH_USE_FAKEROOT}" != "true" ]
+ if [ "${LB_USE_FAKEROOT}" != "true" ]
then
# Create mountpoint
mkdir -p chroot/selinux
# Mounting /selinux
- ${LH_ROOT_COMMAND} mount selinuxfs-live -t selinuxfs chroot/selinux
+ ${LB_ROOT_COMMAND} mount selinuxfs-live -t selinuxfs chroot/selinux
else
rm -rf chroot/selinux
ln -s /selinux chroot/
@@ -71,13 +71,13 @@ case "${1}" in
# Creating lock file
Create_lockfile .lock
- if [ "${LH_USE_FAKEROOT}" != "true" ]
+ if [ "${LB_USE_FAKEROOT}" != "true" ]
then
# Unmounting /selinux
#fuser -km chroot/selinux
if [ -e chroot/selinux/enforce ]
then
- ${LH_ROOT_COMMAND} umount chroot/selinux
+ ${LB_ROOT_COMMAND} umount chroot/selinux
fi
else
if [ -e chroot/selinux ]