diff options
author | Daniel Baumann <daniel@debian.org> | 2010-02-05 17:10:44 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:04 +0100 |
commit | 3b80c5c5d9c9d2eec91910b70a120da5943c7fac (patch) | |
tree | 31b5fef2977e7fabe669077041c569169c788a95 /helpers/lh_binary | |
parent | 59e9a93ad08c171fb0d22e965c56f91c5bd17615 (diff) | |
download | live-build-3b80c5c5d9c9d2eec91910b70a120da5943c7fac.zip live-build-3b80c5c5d9c9d2eec91910b70a120da5943c7fac.tar.gz |
Dropping lh_ prefix from internal helpers, this is not user visible.
Diffstat (limited to 'helpers/lh_binary')
-rwxr-xr-x | helpers/lh_binary | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/helpers/lh_binary b/helpers/lh_binary deleted file mode 100755 index 33ee5d6..0000000 --- a/helpers/lh_binary +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# lh_binary(1) - build binary images -# Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org> -# -# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -# This is free software, and you are welcome to redistribute it -# under certain conditions; see COPYING for details. - -set -e - -# Including common functions -. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh - -# Setting static variables -DESCRIPTION="$(Echo 'build binary images')" -HELP="" -USAGE="${PROGRAM} [--force]" - -Arguments "${@}" - -# Reading configuration files -Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source -Set_defaults - -# Setup cleanup function -Setup_cleanup - -# Preparing root filesystem -lh binary_chroot ${*} - -if [ "${LH_CHROOT_BUILD}" = "true" ] -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 ${*} - lh chroot_hostname install ${*} - lh chroot_apt install-binary ${*} - lh chroot_sources install ${*} -fi - -# Building root filesystem -lh binary_rootfs ${*} -lh binary_manifest ${*} -lh binary_encryption ${*} - -# Prepare images -lh binary_local-packageslists ${*} -lh binary_linux-image ${*} -lh binary_debian-installer ${*} -lh binary_memtest ${*} -lh binary_grub ${*} -lh binary_grub2 ${*} -lh binary_syslinux ${*} -lh binary_yaboot ${*} -lh binary_silo ${*} -lh binary_disk ${*} -lh binary_win32-loader ${*} -lh binary_includes ${*} -lh binary_local-includes ${*} -lh binary_local-hooks ${*} -lh binary_md5sum ${*} - -if [ "${LH_CHROOT_BUILD}" != "true" ] -then - lh chroot_devpts install ${*} - lh chroot_proc install ${*} - lh chroot_selinuxfs install ${*} - lh chroot_sysfs install ${*} -fi - -# Building images -lh binary_iso ${*} -lh binary_net ${*} -lh binary_tar ${*} -lh binary_usb-hdd ${*} -lh binary_virtual-hdd ${*} - -if [ "${LH_CHROOT_BUILD}" = "true" ] -then - # Deconfiguring chroot - rm -f .stage/chroot_sources - lh chroot_hostname remove ${*} - lh chroot_resolv remove ${*} - lh chroot_hosts remove ${*} -fi - -lh chroot_apt remove ${*} -lh chroot_sysfs remove ${*} -lh chroot_selinuxfs remove ${*} -lh chroot_proc remove ${*} -lh chroot_devpts remove ${*} |