Updating internal calls to use live-build instead of live-helper.
This commit is contained in:
parent
e70ad72254
commit
4b84f354bf
4
cgi/cron
4
cgi/cron
|
@ -97,9 +97,9 @@ then
|
||||||
|
|
||||||
# Generating image
|
# Generating image
|
||||||
cd "${_TEMPDIR}"/"${_BUILD}"
|
cd "${_TEMPDIR}"/"${_BUILD}"
|
||||||
lh config -c ${_FILE} >> "${_TEMPDIR}"/"${_BUILD}"/log 2>&1
|
lb config -c ${_FILE} >> "${_TEMPDIR}"/"${_BUILD}"/log 2>&1
|
||||||
_ERRORCONFIG="${?}"
|
_ERRORCONFIG="${?}"
|
||||||
lh build >> "${_TEMPDIR}"/"${_BUILD}"/log 2>&1
|
lb build >> "${_TEMPDIR}"/"${_BUILD}"/log 2>&1
|
||||||
_ERRORBUILD="${?}"
|
_ERRORBUILD="${?}"
|
||||||
|
|
||||||
_DATE_END="`date -R`"
|
_DATE_END="`date -R`"
|
||||||
|
|
|
@ -498,7 +498,7 @@ Set_defaults ()
|
||||||
case "${LH_ARCHITECTURE}" in
|
case "${LH_ARCHITECTURE}" in
|
||||||
arm|armel)
|
arm|armel)
|
||||||
Echo_error "There is no default kernel flavour defined for your architecture."
|
Echo_error "There is no default kernel flavour defined for your architecture."
|
||||||
Echo_error "Please configure it manually with 'lh config -k FLAVOUR'."
|
Echo_error "Please configure it manually with 'lb config -k FLAVOUR'."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
@ -28,74 +28,74 @@ Set_defaults
|
||||||
Setup_cleanup
|
Setup_cleanup
|
||||||
|
|
||||||
# Preparing root filesystem
|
# Preparing root filesystem
|
||||||
lh binary_chroot ${*}
|
lb binary_chroot ${*}
|
||||||
|
|
||||||
if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
|
if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
|
||||||
then
|
then
|
||||||
# Configuring chroot
|
# Configuring chroot
|
||||||
lh chroot_devpts install ${*}
|
lb chroot_devpts install ${*}
|
||||||
lh chroot_proc install ${*}
|
lb chroot_proc install ${*}
|
||||||
lh chroot_selinuxfs install ${*}
|
lb chroot_selinuxfs install ${*}
|
||||||
lh chroot_sysfs install ${*}
|
lb chroot_sysfs install ${*}
|
||||||
lh chroot_hosts install ${*}
|
lb chroot_hosts install ${*}
|
||||||
lh chroot_resolv install ${*}
|
lb chroot_resolv install ${*}
|
||||||
lh chroot_hostname install ${*}
|
lb chroot_hostname install ${*}
|
||||||
lh chroot_sysv-rc install ${*}
|
lb chroot_sysv-rc install ${*}
|
||||||
lh chroot_upstart install ${*}
|
lb chroot_upstart install ${*}
|
||||||
lh chroot_apt install-binary ${*}
|
lb chroot_apt install-binary ${*}
|
||||||
lh chroot_sources install ${*}
|
lb chroot_sources install ${*}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Building root filesystem
|
# Building root filesystem
|
||||||
lh binary_rootfs ${*}
|
lb binary_rootfs ${*}
|
||||||
lh binary_manifest ${*}
|
lb binary_manifest ${*}
|
||||||
lh binary_encryption ${*}
|
lb binary_encryption ${*}
|
||||||
|
|
||||||
# Prepare images
|
# Prepare images
|
||||||
lh binary_local-packageslists ${*}
|
lb binary_local-packageslists ${*}
|
||||||
lh binary_linux-image ${*}
|
lb binary_linux-image ${*}
|
||||||
lh binary_debian-installer ${*}
|
lb binary_debian-installer ${*}
|
||||||
lh binary_memtest ${*}
|
lb binary_memtest ${*}
|
||||||
lh binary_grub ${*}
|
lb binary_grub ${*}
|
||||||
lh binary_grub2 ${*}
|
lb binary_grub2 ${*}
|
||||||
lh binary_syslinux ${*}
|
lb binary_syslinux ${*}
|
||||||
lh binary_yaboot ${*}
|
lb binary_yaboot ${*}
|
||||||
lh binary_silo ${*}
|
lb binary_silo ${*}
|
||||||
lh binary_disk ${*}
|
lb binary_disk ${*}
|
||||||
lh binary_win32-loader ${*}
|
lb binary_win32-loader ${*}
|
||||||
lh binary_includes ${*}
|
lb binary_includes ${*}
|
||||||
lh binary_local-includes ${*}
|
lb binary_local-includes ${*}
|
||||||
lh binary_local-hooks ${*}
|
lb binary_local-hooks ${*}
|
||||||
lh binary_checksums ${*}
|
lb binary_checksums ${*}
|
||||||
|
|
||||||
if [ "${LH_BUILD_WITH_CHROOT}" != "true" ]
|
if [ "${LH_BUILD_WITH_CHROOT}" != "true" ]
|
||||||
then
|
then
|
||||||
lh chroot_devpts install ${*}
|
lb chroot_devpts install ${*}
|
||||||
lh chroot_proc install ${*}
|
lb chroot_proc install ${*}
|
||||||
lh chroot_selinuxfs install ${*}
|
lb chroot_selinuxfs install ${*}
|
||||||
lh chroot_sysfs install ${*}
|
lb chroot_sysfs install ${*}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Building images
|
# Building images
|
||||||
lh binary_iso ${*}
|
lb binary_iso ${*}
|
||||||
lh binary_net ${*}
|
lb binary_net ${*}
|
||||||
lh binary_tar ${*}
|
lb binary_tar ${*}
|
||||||
lh binary_usb ${*}
|
lb binary_usb ${*}
|
||||||
lh binary_virtual-hdd ${*}
|
lb binary_virtual-hdd ${*}
|
||||||
|
|
||||||
if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
|
if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]
|
||||||
then
|
then
|
||||||
# Deconfiguring chroot
|
# Deconfiguring chroot
|
||||||
rm -f .stage/chroot_sources
|
rm -f .stage/chroot_sources
|
||||||
lh chroot_hostname remove ${*}
|
lb chroot_hostname remove ${*}
|
||||||
lh chroot_resolv remove ${*}
|
lb chroot_resolv remove ${*}
|
||||||
lh chroot_hosts remove ${*}
|
lb chroot_hosts remove ${*}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
lh chroot_apt remove ${*}
|
lb chroot_apt remove ${*}
|
||||||
lh chroot_sysv-rc remove ${*}
|
lb chroot_sysv-rc remove ${*}
|
||||||
lh chroot_sysfs remove ${*}
|
lb chroot_sysfs remove ${*}
|
||||||
lh chroot_upstart remove ${*}
|
lb chroot_upstart remove ${*}
|
||||||
lh chroot_selinuxfs remove ${*}
|
lb chroot_selinuxfs remove ${*}
|
||||||
lh chroot_proc remove ${*}
|
lb chroot_proc remove ${*}
|
||||||
lh chroot_devpts remove ${*}
|
lb chroot_devpts remove ${*}
|
||||||
|
|
|
@ -123,38 +123,38 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
rm -f .lock
|
rm -f .lock
|
||||||
mv chroot/chroot chroot.tmp
|
mv chroot/chroot chroot.tmp
|
||||||
|
|
||||||
lh chroot_linux-image remove ${*}
|
lb chroot_linux-image remove ${*}
|
||||||
lh chroot_sources remove ${*}
|
lb chroot_sources remove ${*}
|
||||||
lh chroot_apt remove ${*}
|
lb chroot_apt remove ${*}
|
||||||
lh chroot_hostname remove ${*}
|
lb chroot_hostname remove ${*}
|
||||||
lh chroot_resolv remove ${*}
|
lb chroot_resolv remove ${*}
|
||||||
lh chroot_hosts remove ${*}
|
lb chroot_hosts remove ${*}
|
||||||
lh chroot_sysv-rc remove ${*}
|
lb chroot_sysv-rc remove ${*}
|
||||||
lh chroot_upstart remove ${*}
|
lb chroot_upstart remove ${*}
|
||||||
lh chroot_dpkg remove ${*}
|
lb chroot_dpkg remove ${*}
|
||||||
lh chroot_debianchroot remove ${*}
|
lb chroot_debianchroot remove ${*}
|
||||||
lh chroot_sysfs remove ${*}
|
lb chroot_sysfs remove ${*}
|
||||||
lh chroot_selinuxfs remove ${*}
|
lb chroot_selinuxfs remove ${*}
|
||||||
lh chroot_proc remove ${*}
|
lb chroot_proc remove ${*}
|
||||||
lh chroot_devpts remove ${*}
|
lb chroot_devpts remove ${*}
|
||||||
|
|
||||||
rm -rf chroot
|
rm -rf chroot
|
||||||
mv chroot.tmp chroot
|
mv chroot.tmp chroot
|
||||||
|
|
||||||
lh chroot_devpts install ${*}
|
lb chroot_devpts install ${*}
|
||||||
lh chroot_proc install ${*}
|
lb chroot_proc install ${*}
|
||||||
lh chroot_selinuxfs install ${*}
|
lb chroot_selinuxfs install ${*}
|
||||||
lh chroot_sysfs install ${*}
|
lb chroot_sysfs install ${*}
|
||||||
lh chroot_debianchroot install ${*}
|
lb chroot_debianchroot install ${*}
|
||||||
lh chroot_dpkg install ${*}
|
lb chroot_dpkg install ${*}
|
||||||
lh chroot_sysv-rc install ${*}
|
lb chroot_sysv-rc install ${*}
|
||||||
lh chroot_upstart install ${*}
|
lb chroot_upstart install ${*}
|
||||||
lh chroot_hosts install ${*}
|
lb chroot_hosts install ${*}
|
||||||
lh chroot_resolv install ${*}
|
lb chroot_resolv install ${*}
|
||||||
lh chroot_hostname install ${*}
|
lb chroot_hostname install ${*}
|
||||||
lh chroot_apt install ${*}
|
lb chroot_apt install ${*}
|
||||||
lh chroot_sources install ${*}
|
lb chroot_sources install ${*}
|
||||||
lh chroot_linux-image install ${*}
|
lb chroot_linux-image install ${*}
|
||||||
|
|
||||||
touch .lock
|
touch .lock
|
||||||
else
|
else
|
||||||
|
@ -207,38 +207,38 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
rm -f .lock
|
rm -f .lock
|
||||||
mv chroot/chroot chroot.tmp
|
mv chroot/chroot chroot.tmp
|
||||||
|
|
||||||
lh chroot_linux-image remove ${*}
|
lb chroot_linux-image remove ${*}
|
||||||
lh chroot_sources remove ${*}
|
lb chroot_sources remove ${*}
|
||||||
lh chroot_apt remove ${*}
|
lb chroot_apt remove ${*}
|
||||||
lh chroot_hostname remove ${*}
|
lb chroot_hostname remove ${*}
|
||||||
lh chroot_resolv remove ${*}
|
lb chroot_resolv remove ${*}
|
||||||
lh chroot_hosts remove ${*}
|
lb chroot_hosts remove ${*}
|
||||||
lh chroot_sysv-rc remove ${*}
|
lb chroot_sysv-rc remove ${*}
|
||||||
lh chroot_upstart remove ${*}
|
lb chroot_upstart remove ${*}
|
||||||
lh chroot_dpkg remove ${*}
|
lb chroot_dpkg remove ${*}
|
||||||
lh chroot_debianchroot remove ${*}
|
lb chroot_debianchroot remove ${*}
|
||||||
lh chroot_sysfs remove ${*}
|
lb chroot_sysfs remove ${*}
|
||||||
lh chroot_selinuxfs remove ${*}
|
lb chroot_selinuxfs remove ${*}
|
||||||
lh chroot_proc remove ${*}
|
lb chroot_proc remove ${*}
|
||||||
lh chroot_devpts remove ${*}
|
lb chroot_devpts remove ${*}
|
||||||
|
|
||||||
rm -rf chroot
|
rm -rf chroot
|
||||||
mv chroot.tmp chroot
|
mv chroot.tmp chroot
|
||||||
|
|
||||||
lh chroot_devpts install ${*}
|
lb chroot_devpts install ${*}
|
||||||
lh chroot_proc install ${*}
|
lb chroot_proc install ${*}
|
||||||
lh chroot_selinuxfs install ${*}
|
lb chroot_selinuxfs install ${*}
|
||||||
lh chroot_sysfs install ${*}
|
lb chroot_sysfs install ${*}
|
||||||
lh chroot_debianchroot install ${*}
|
lb chroot_debianchroot install ${*}
|
||||||
lh chroot_dpkg install ${*}
|
lb chroot_dpkg install ${*}
|
||||||
lh chroot_sysv-rc install ${*}
|
lb chroot_sysv-rc install ${*}
|
||||||
lh chroot_upstart install ${*}
|
lb chroot_upstart install ${*}
|
||||||
lh chroot_hosts install ${*}
|
lb chroot_hosts install ${*}
|
||||||
lh chroot_resolv install ${*}
|
lb chroot_resolv install ${*}
|
||||||
lh chroot_hostname install ${*}
|
lb chroot_hostname install ${*}
|
||||||
lh chroot_apt install ${*}
|
lb chroot_apt install ${*}
|
||||||
lh chroot_sources install ${*}
|
lb chroot_sources install ${*}
|
||||||
lh chroot_linux-image install ${*}
|
lb chroot_linux-image install ${*}
|
||||||
|
|
||||||
touch .lock
|
touch .lock
|
||||||
else
|
else
|
||||||
|
@ -330,38 +330,38 @@ case "${LH_CHROOT_FILESYSTEM}" in
|
||||||
rm -f .lock
|
rm -f .lock
|
||||||
mv chroot/chroot chroot.tmp
|
mv chroot/chroot chroot.tmp
|
||||||
|
|
||||||
lh chroot_linux-image remove ${*}
|
lb chroot_linux-image remove ${*}
|
||||||
lh chroot_sources remove ${*}
|
lb chroot_sources remove ${*}
|
||||||
lh chroot_apt remove ${*}
|
lb chroot_apt remove ${*}
|
||||||
lh chroot_hostname remove ${*}
|
lb chroot_hostname remove ${*}
|
||||||
lh chroot_resolv remove ${*}
|
lb chroot_resolv remove ${*}
|
||||||
lh chroot_hosts remove ${*}
|
lb chroot_hosts remove ${*}
|
||||||
lh chroot_sysv-rc remove ${*}
|
lb chroot_sysv-rc remove ${*}
|
||||||
lh chroot_upstart remove ${*}
|
lb chroot_upstart remove ${*}
|
||||||
lh chroot_dpkg remove ${*}
|
lb chroot_dpkg remove ${*}
|
||||||
lh chroot_debianchroot remove ${*}
|
lb chroot_debianchroot remove ${*}
|
||||||
lh chroot_sysfs remove ${*}
|
lb chroot_sysfs remove ${*}
|
||||||
lh chroot_selinuxfs remove ${*}
|
lb chroot_selinuxfs remove ${*}
|
||||||
lh chroot_proc remove ${*}
|
lb chroot_proc remove ${*}
|
||||||
lh chroot_devpts remove ${*}
|
lb chroot_devpts remove ${*}
|
||||||
|
|
||||||
rm -rf chroot
|
rm -rf chroot
|
||||||
mv chroot.tmp chroot
|
mv chroot.tmp chroot
|
||||||
|
|
||||||
lh chroot_devpts install ${*}
|
lb chroot_devpts install ${*}
|
||||||
lh chroot_proc install ${*}
|
lb chroot_proc install ${*}
|
||||||
lh chroot_selinuxfs install ${*}
|
lb chroot_selinuxfs install ${*}
|
||||||
lh chroot_sysfs install ${*}
|
lb chroot_sysfs install ${*}
|
||||||
lh chroot_debianchroot install ${*}
|
lb chroot_debianchroot install ${*}
|
||||||
lh chroot_dpkg install ${*}
|
lb chroot_dpkg install ${*}
|
||||||
lh chroot_sysv-rc install ${*}
|
lb chroot_sysv-rc install ${*}
|
||||||
lh chroot_upstart install ${*}
|
lb chroot_upstart install ${*}
|
||||||
lh chroot_hosts install ${*}
|
lb chroot_hosts install ${*}
|
||||||
lh chroot_resolv install ${*}
|
lb chroot_resolv install ${*}
|
||||||
lh chroot_hostname install ${*}
|
lb chroot_hostname install ${*}
|
||||||
lh chroot_apt install ${*}
|
lb chroot_apt install ${*}
|
||||||
lh chroot_sources install ${*}
|
lb chroot_sources install ${*}
|
||||||
lh chroot_linux-image install ${*}
|
lb chroot_linux-image install ${*}
|
||||||
|
|
||||||
touch .lock
|
touch .lock
|
||||||
else
|
else
|
||||||
|
|
|
@ -28,8 +28,8 @@ Set_defaults
|
||||||
Setup_cleanup
|
Setup_cleanup
|
||||||
|
|
||||||
# Bootstrapping system
|
# Bootstrapping system
|
||||||
lh bootstrap_cache restore ${*}
|
lb bootstrap_cache restore ${*}
|
||||||
lh bootstrap_copy ${*}
|
lb bootstrap_copy ${*}
|
||||||
lh bootstrap_cdebootstrap ${*}
|
lb bootstrap_cdebootstrap ${*}
|
||||||
lh bootstrap_debootstrap ${*}
|
lb bootstrap_debootstrap ${*}
|
||||||
lh bootstrap_cache save ${*}
|
lb bootstrap_cache save ${*}
|
||||||
|
|
|
@ -37,7 +37,7 @@ Echo_message "Begin bootstrapping system..."
|
||||||
Check_package /usr/bin/${LH_BOOTSTRAP} cdebootstrap
|
Check_package /usr/bin/${LH_BOOTSTRAP} cdebootstrap
|
||||||
|
|
||||||
# Ensure that a system is built as root
|
# Ensure that a system is built as root
|
||||||
lh testroot
|
lb testroot
|
||||||
|
|
||||||
# Checking stage file
|
# Checking stage file
|
||||||
Check_stagefile .stage/bootstrap
|
Check_stagefile .stage/bootstrap
|
||||||
|
|
|
@ -35,7 +35,7 @@ Check_crossarchitecture
|
||||||
Echo_message "Begin bootstrapping system..."
|
Echo_message "Begin bootstrapping system..."
|
||||||
|
|
||||||
# Ensure that a system is built as root
|
# Ensure that a system is built as root
|
||||||
lh testroot
|
lb testroot
|
||||||
|
|
||||||
# Checking stage file
|
# Checking stage file
|
||||||
Check_stagefile .stage/bootstrap
|
Check_stagefile .stage/bootstrap
|
||||||
|
|
|
@ -37,7 +37,7 @@ Echo_message "Begin bootstrapping system..."
|
||||||
Check_package /usr/sbin/debootstrap debootstrap
|
Check_package /usr/sbin/debootstrap debootstrap
|
||||||
|
|
||||||
# Ensure that a system is built as root
|
# Ensure that a system is built as root
|
||||||
lh testroot
|
lb testroot
|
||||||
|
|
||||||
# Checking stage file
|
# Checking stage file
|
||||||
Check_stagefile .stage/bootstrap
|
Check_stagefile .stage/bootstrap
|
||||||
|
|
|
@ -17,7 +17,7 @@ set -e
|
||||||
if [ -x auto/config ] && [ ! -e .stage/config ]
|
if [ -x auto/config ] && [ ! -e .stage/config ]
|
||||||
then
|
then
|
||||||
Echo_message "Automatically populating config tree."
|
Echo_message "Automatically populating config tree."
|
||||||
lh config
|
lb config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Read meta config
|
# Read meta config
|
||||||
|
@ -64,13 +64,13 @@ Set_defaults
|
||||||
Check_defaults
|
Check_defaults
|
||||||
|
|
||||||
# Bootstrapping system
|
# Bootstrapping system
|
||||||
lh bootstrap ${*}
|
lb bootstrap ${*}
|
||||||
|
|
||||||
# Customizing chroot
|
# Customizing chroot
|
||||||
lh chroot ${*}
|
lb chroot ${*}
|
||||||
|
|
||||||
# Building binary images
|
# Building binary images
|
||||||
lh binary ${*}
|
lb binary ${*}
|
||||||
|
|
||||||
# Building source images
|
# Building source images
|
||||||
lh source ${*}
|
lb source ${*}
|
||||||
|
|
|
@ -28,56 +28,56 @@ Set_defaults
|
||||||
Setup_cleanup
|
Setup_cleanup
|
||||||
|
|
||||||
# Configuring chroot
|
# Configuring chroot
|
||||||
lh chroot_cache restore ${*}
|
lb chroot_cache restore ${*}
|
||||||
lh chroot_devpts install ${*}
|
lb chroot_devpts install ${*}
|
||||||
lh chroot_proc install ${*}
|
lb chroot_proc install ${*}
|
||||||
lh chroot_selinuxfs install ${*}
|
lb chroot_selinuxfs install ${*}
|
||||||
lh chroot_sysfs install ${*}
|
lb chroot_sysfs install ${*}
|
||||||
lh chroot_debianchroot install ${*}
|
lb chroot_debianchroot install ${*}
|
||||||
lh chroot_dpkg install ${*}
|
lb chroot_dpkg install ${*}
|
||||||
lh chroot_dpkg_tmpfs install ${*}
|
lb chroot_dpkg_tmpfs install ${*}
|
||||||
lh chroot_sysv-rc install ${*}
|
lb chroot_sysv-rc install ${*}
|
||||||
lh chroot_upstart install ${*}
|
lb chroot_upstart install ${*}
|
||||||
lh chroot_hosts install ${*}
|
lb chroot_hosts install ${*}
|
||||||
lh chroot_resolv install ${*}
|
lb chroot_resolv install ${*}
|
||||||
lh chroot_hostname install ${*}
|
lb chroot_hostname install ${*}
|
||||||
lh chroot_apt install ${*}
|
lb chroot_apt install ${*}
|
||||||
lh chroot_sources install ${*}
|
lb chroot_sources install ${*}
|
||||||
lh chroot_linux-image install ${*}
|
lb chroot_linux-image install ${*}
|
||||||
|
|
||||||
# Customizing chroot
|
# Customizing chroot
|
||||||
lh chroot_preseed ${*}
|
lb chroot_preseed ${*}
|
||||||
lh chroot_local-preseed ${*}
|
lb chroot_local-preseed ${*}
|
||||||
lh chroot_tasks ${*}
|
lb chroot_tasks ${*}
|
||||||
lh chroot_packageslists ${*}
|
lb chroot_packageslists ${*}
|
||||||
lh chroot_local-packageslists ${*}
|
lb chroot_local-packageslists ${*}
|
||||||
lh chroot_packages ${*}
|
lb chroot_packages ${*}
|
||||||
lh chroot_local-packages ${*}
|
lb chroot_local-packages ${*}
|
||||||
lh chroot_install-packages ${*}
|
lb chroot_install-packages ${*}
|
||||||
lh chroot_localization ${*}
|
lb chroot_localization ${*}
|
||||||
lh chroot_local-includes ${*}
|
lb chroot_local-includes ${*}
|
||||||
lh chroot_local-patches ${*}
|
lb chroot_local-patches ${*}
|
||||||
lh chroot_sysvinit ${*}
|
lb chroot_sysvinit ${*}
|
||||||
lh chroot_local-hooks ${*}
|
lb chroot_local-hooks ${*}
|
||||||
lh chroot_hooks ${*}
|
lb chroot_hooks ${*}
|
||||||
lh chroot_symlinks ${*}
|
lb chroot_symlinks ${*}
|
||||||
lh chroot_hacks ${*}
|
lb chroot_hacks ${*}
|
||||||
lh chroot_interactive ${*}
|
lb chroot_interactive ${*}
|
||||||
|
|
||||||
# Deconfiguring chroot
|
# Deconfiguring chroot
|
||||||
lh chroot_linux-image remove ${*}
|
lb chroot_linux-image remove ${*}
|
||||||
lh chroot_sources remove ${*}
|
lb chroot_sources remove ${*}
|
||||||
lh chroot_apt remove ${*}
|
lb chroot_apt remove ${*}
|
||||||
lh chroot_hostname remove ${*}
|
lb chroot_hostname remove ${*}
|
||||||
lh chroot_resolv remove ${*}
|
lb chroot_resolv remove ${*}
|
||||||
lh chroot_hosts remove ${*}
|
lb chroot_hosts remove ${*}
|
||||||
lh chroot_sysv-rc remove ${*}
|
lb chroot_sysv-rc remove ${*}
|
||||||
lh chroot_upstart remove ${*}
|
lb chroot_upstart remove ${*}
|
||||||
lh chroot_dpkg_tmpfs remove ${*}
|
lb chroot_dpkg_tmpfs remove ${*}
|
||||||
lh chroot_dpkg remove ${*}
|
lb chroot_dpkg remove ${*}
|
||||||
lh chroot_debianchroot remove ${*}
|
lb chroot_debianchroot remove ${*}
|
||||||
lh chroot_sysfs remove ${*}
|
lb chroot_sysfs remove ${*}
|
||||||
lh chroot_selinuxfs remove ${*}
|
lb chroot_selinuxfs remove ${*}
|
||||||
lh chroot_proc remove ${*}
|
lb chroot_proc remove ${*}
|
||||||
lh chroot_devpts remove ${*}
|
lb chroot_devpts remove ${*}
|
||||||
lh chroot_cache save ${*}
|
lb chroot_cache save ${*}
|
||||||
|
|
|
@ -21,7 +21,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
|
||||||
Arguments "${@}"
|
Arguments "${@}"
|
||||||
|
|
||||||
# Ensure that a system is built as root
|
# Ensure that a system is built as root
|
||||||
lh testroot
|
lb testroot
|
||||||
|
|
||||||
# Reading configuration files
|
# Reading configuration files
|
||||||
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
||||||
|
|
|
@ -21,7 +21,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
|
||||||
Arguments "${@}"
|
Arguments "${@}"
|
||||||
|
|
||||||
# Ensure that a system is built as root
|
# Ensure that a system is built as root
|
||||||
lh testroot
|
lb testroot
|
||||||
|
|
||||||
# Reading configuration files
|
# Reading configuration files
|
||||||
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
||||||
|
|
|
@ -21,7 +21,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
|
||||||
Arguments "${@}"
|
Arguments "${@}"
|
||||||
|
|
||||||
# Ensure that a system is built as root
|
# Ensure that a system is built as root
|
||||||
lh testroot
|
lb testroot
|
||||||
|
|
||||||
# Reading configuration files
|
# Reading configuration files
|
||||||
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
||||||
|
|
|
@ -21,7 +21,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
|
||||||
Arguments "${@}"
|
Arguments "${@}"
|
||||||
|
|
||||||
# Ensure that a system is built as root
|
# Ensure that a system is built as root
|
||||||
lh testroot
|
lb testroot
|
||||||
|
|
||||||
# Reading configuration files
|
# Reading configuration files
|
||||||
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
||||||
|
|
|
@ -15,5 +15,5 @@ export LH_BASE PATH
|
||||||
|
|
||||||
if [ ! -z "${1}" ]
|
if [ ! -z "${1}" ]
|
||||||
then
|
then
|
||||||
exec lh "${@}"
|
exec lb "${@}"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -30,26 +30,26 @@ Require_stagefile .stage/chroot_install-packages
|
||||||
Setup_cleanup
|
Setup_cleanup
|
||||||
|
|
||||||
# Enabling network in chroot
|
# Enabling network in chroot
|
||||||
lh chroot_hosts install ${*}
|
lb chroot_hosts install ${*}
|
||||||
lh chroot_resolv install ${*}
|
lb chroot_resolv install ${*}
|
||||||
lh chroot_hostname install ${*}
|
lb chroot_hostname install ${*}
|
||||||
lh chroot_sources install ${*}
|
lb chroot_sources install ${*}
|
||||||
|
|
||||||
# Preparing images
|
# Preparing images
|
||||||
lh source_debian-live ${*}
|
lb source_debian-live ${*}
|
||||||
lh source_debian ${*}
|
lb source_debian ${*}
|
||||||
lh source_disk ${*}
|
lb source_disk ${*}
|
||||||
lh source_checksums ${*}
|
lb source_checksums ${*}
|
||||||
|
|
||||||
# Building images
|
# Building images
|
||||||
lh source_iso ${*}
|
lb source_iso ${*}
|
||||||
lh source_net ${*}
|
lb source_net ${*}
|
||||||
lh source_tar ${*}
|
lb source_tar ${*}
|
||||||
lh source_usb ${*}
|
lb source_usb ${*}
|
||||||
lh source_virtual-hdd ${*}
|
lb source_virtual-hdd ${*}
|
||||||
|
|
||||||
# Deconfiguring chroot
|
# Deconfiguring chroot
|
||||||
rm -f .stage/chroot_sources
|
rm -f .stage/chroot_sources
|
||||||
lh chroot_hostname remove ${*}
|
lb chroot_hostname remove ${*}
|
||||||
lh chroot_resolv remove ${*}
|
lb chroot_resolv remove ${*}
|
||||||
lh chroot_hosts remove ${*}
|
lb chroot_hosts remove ${*}
|
||||||
|
|
Loading…
Reference in New Issue