diff options
author | Daniel Baumann <daniel@debian.org> | 2007-11-14 10:13:58 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:29 +0100 |
commit | ec72b41c82c66d18a508759f17f54fcce59cfb69 (patch) | |
tree | 41edc828d00eb6693d651417de0f79c3dd2eb201 /helpers | |
parent | d27d31616073636cce2e0d43f3157fbb5f7c0c8c (diff) | |
download | vyos-live-build-ec72b41c82c66d18a508759f17f54fcce59cfb69.tar.gz vyos-live-build-ec72b41c82c66d18a508759f17f54fcce59cfb69.zip |
Mounting pseudo filesystems before creating binary images in non-chrooted builds.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_binary | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/helpers/lh_binary b/helpers/lh_binary index b6a30cdfd..63606e9f2 100755 --- a/helpers/lh_binary +++ b/helpers/lh_binary @@ -67,6 +67,13 @@ lh_binary_local-includes ${*} lh_binary_local-hooks ${*} lh_binary_md5sum ${*} +if [ "${LH_CHROOT_BUILD}" != "enabled" ] +then + lh_chroot_devpts install ${*} + lh_chroot_proc install ${*} + lh_chroot_sysfs install ${*} +fi + # Building images lh_binary_iso ${*} lh_binary_net ${*} @@ -80,7 +87,8 @@ then lh_chroot_hostname remove ${*} lh_chroot_resolv remove ${*} lh_chroot_hosts remove ${*} - lh_chroot_sysfs remove ${*} - lh_chroot_proc remove ${*} - lh_chroot_devpts remove ${*} fi + +lh_chroot_sysfs remove ${*} +lh_chroot_proc remove ${*} +lh_chroot_devpts remove ${*} |