Mounting pseudo filesystems before creating binary images in non-chrooted builds.

This commit is contained in:
Daniel Baumann 2007-11-14 10:13:58 +01:00
parent d27d316160
commit ec72b41c82
1 changed files with 11 additions and 3 deletions

View File

@ -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 ${*}