summaryrefslogtreecommitdiff
path: root/helpers/lh_binary
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-10-12 11:07:42 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commit1476f3a1c36090279dbf9a4ceef61893e3972e93 (patch)
treef15a14aa6bbfd2ddaafce7f2dadb1ea9a2155d5c /helpers/lh_binary
parent63dc9da964f586ae30523b16ad88f2d53f1a1c1b (diff)
downloadvyos-live-build-1476f3a1c36090279dbf9a4ceef61893e3972e93.tar.gz
vyos-live-build-1476f3a1c36090279dbf9a4ceef61893e3972e93.zip
Adding lh_chroot_selinuxfs helper to support building live images on a selinux enabled host (Closes: #501652).
Diffstat (limited to 'helpers/lh_binary')
-rwxr-xr-xhelpers/lh_binary3
1 files changed, 3 insertions, 0 deletions
diff --git a/helpers/lh_binary b/helpers/lh_binary
index 48087c03a..41d111c96 100755
--- a/helpers/lh_binary
+++ b/helpers/lh_binary
@@ -36,6 +36,7 @@ then
# Configuring chroot
lh_chroot_devpts install ${*}
lh_chroot_proc install ${*}
+ lh_chroot_selinuxfs install ${*}
lh_chroot_sysfs install ${*}
lh_chroot_hosts install ${*}
lh_chroot_resolv install ${*}
@@ -68,6 +69,7 @@ if [ "${LH_CHROOT_BUILD}" != "enabled" ]
then
lh_chroot_devpts install ${*}
lh_chroot_proc install ${*}
+ lh_chroot_selinuxfs install ${*}
lh_chroot_sysfs install ${*}
fi
@@ -87,5 +89,6 @@ then
fi
lh_chroot_sysfs remove ${*}
+lh_chroot_selinuxfs remove ${*}
lh_chroot_proc remove ${*}
lh_chroot_devpts remove ${*}