diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:09 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:29 +0100 |
commit | 97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179 (patch) | |
tree | d7facbbbf53b1a5bc0fa92f671f5b1e29a7e3200 /helpers/lh_config | |
parent | 7c68e6ebca01f64501453fa53941ac77b9c2c335 (diff) | |
download | live-build-97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179.zip live-build-97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179.tar.gz |
Adding live-helper 1.0~a10-1.
Diffstat (limited to 'helpers/lh_config')
-rwxr-xr-x | helpers/lh_config | 92 |
1 files changed, 47 insertions, 45 deletions
diff --git a/helpers/lh_config b/helpers/lh_config index 8e9e117..5477dd0 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -57,6 +57,8 @@ Breakpoint "config: Init" # Creating configuration directory mkdir -p "${LIVE_ROOT}"/config +mkdir -p "${LIVE_ROOT}"/config/includes +mkdir -p "${LIVE_ROOT}"/config/templates # Creating live-helper configuration cat > "${LIVE_ROOT}"/config/common << EOF @@ -78,10 +80,6 @@ LH_APT_FTPPROXY="${LH_APT_FTPPROXY}" # (Default: autodetected or empty) LH_APT_HTTPPROXY="${LH_APT_HTTPPROXY}" -# \$LH_APT_GENERIC: set apt/aptitude generic indices -# (Default: ${LH_APT_GENERIC}) -LH_APT_GENERIC="${LH_APT_GENERIC}" - # \$LH_APT_PDIFFS: set apt/aptitude pdiff indices # (Default: ${LH_APT_PDIFFS}) LH_APT_PDIFFS="${LH_APT_PDIFFS}" @@ -181,13 +179,21 @@ EOF cat > "${LIVE_ROOT}"/config/chroot << EOF # config/chroot: configuration for lh_chroot_* -# \$LIVE_KERNEL_FLAVOUR: set the kernel flavour to use +# \$LIVE_CHROOT_FILESYSTEM: set chroot filesystem +# (Default: ${LIVE_CHROOT_FILESYSTEM}) +LIVE_CHROOT_FILESYSTEM="${LIVE_CHROOT_FILESYSTEM}" + +# \$LIVE_INTERACTIVE: set interactive build +# (Default: ${LIVE_INTERACTIVE}) +LIVE_INTERACTIVE="${LIVE_INTERACTIVE}" + +# \$LIVE_LINUX_FLAVOURS: set the kernel flavour to use # (Default: autodetected) -LIVE_KERNEL_FLAVOUR="${LIVE_KERNEL_FLAVOUR}" +LIVE_LINUX_FLAVOURS="${LIVE_LINUX_FLAVOURS}" -# \$LIVE_KERNEL_PACKAGES: set the kernel packages to use +# \$LIVE_LINUX_PACKAGES: set the kernel packages to use # (Default: autodetected) -LIVE_KERNEL_PACKAGES="${LIVE_KERNEL_PACKAGES}" +LIVE_LINUX_PACKAGES="${LIVE_LINUX_PACKAGES}" # \$LIVE_KEYRING_PACKAGES: set the keyring packages # (Default: empty) @@ -224,17 +230,13 @@ LIVE_SYMLINKS="${LIVE_SYMLINKS}" # \$LIVE_SYSVINIT: enable sysvinit # (Default: ${LIVE_SYSVINIT}) LIVE_SYSVINIT="${LIVE_SYSVINIT}" - -# \$LIVE_INTERACTIVE: set interactive build -# (Default: ${LIVE_INTERACTIVE}) -LIVE_INTERACTIVE="${LIVE_INTERACTIVE}" EOF # Creating lh_chroot_* directories -mkdir -p "${LIVE_ROOT}"/config/chroot_localhooks -mkdir -p "${LIVE_ROOT}"/config/chroot_localincludes -mkdir -p "${LIVE_ROOT}"/config/chroot_localpackages -mkdir -p "${LIVE_ROOT}"/config/chroot_localpackageslists +mkdir -p "${LIVE_ROOT}"/config/chroot_local-hooks +mkdir -p "${LIVE_ROOT}"/config/chroot_local-includes +mkdir -p "${LIVE_ROOT}"/config/chroot_local-packages +mkdir -p "${LIVE_ROOT}"/config/chroot_local-packageslists mkdir -p "${LIVE_ROOT}"/config/chroot_sources # Creating lh_bootstrap_* configuration @@ -257,21 +259,21 @@ LIVE_DISTRIBUTION_CONFIG="${LIVE_DISTRIBUTION_CONFIG}" # (Default: ${LIVE_BOOTSTRAP_FLAVOUR}) LIVE_BOOTSTRAP_FLAVOUR="${LIVE_BOOTSTRAP_FLAVOUR}" -# \$LIVE_MIRROR_BUILD: set the mirror to fetch packages from -# (Default: ${LIVE_MIRROR_BUILD}) -LIVE_MIRROR_BUILD="${LIVE_MIRROR_BUILD}" +# \$LIVE_MIRROR_BOOTSTRAP: set the mirror to fetch packages from +# (Default: ${LIVE_MIRROR_BOOTSTRAP}) +LIVE_MIRROR_BOOTSTRAP="${LIVE_MIRROR_BOOTSTRAP}" -# \$LIVE_MIRROR_BUILD_SECURITY: set the security mirror to fetch packages from -# (Default: ${LIVE_MIRROR_BUILD_SECURITY}) -LIVE_MIRROR_BUILD_SECURITY="${LIVE_MIRROR_BUILD_SECURITY}" +# \$LIVE_MIRROR_BOOTSTRAP_SECURITY: set the security mirror to fetch packages from +# (Default: ${LIVE_MIRROR_BOOTSTRAP_SECURITY}) +LIVE_MIRROR_BOOTSTRAP_SECURITY="${LIVE_MIRROR_BOOTSTRAP_SECURITY}" -# \$LIVE_MIRROR_IMAGE: set the mirror which ends up in the image -# (Default: ${LIVE_MIRROR_IMAGE}) -LIVE_MIRROR_IMAGE="${LIVE_MIRROR_IMAGE}" +# \$LIVE_MIRROR_BINARY: set the mirror which ends up in the image +# (Default: ${LIVE_MIRROR_BINARY}) +LIVE_MIRROR_BINARY="${LIVE_MIRROR_BINARY}" -# \$LIVE_MIRROR_IMAGE_SECURITY: set the security mirror which ends up in the image -# (Default: ${LIVE_MIRROR_IMAGE_SECURITY}) -LIVE_MIRROR_IMAGE_SECURITY="${LIVE_MIRROR_IMAGE_SECURITY}" +# \$LIVE_MIRROR_BINARY_SECURITY: set the security mirror which ends up in the image +# (Default: ${LIVE_MIRROR_BINARY_SECURITY}) +LIVE_MIRROR_BINARY_SECURITY="${LIVE_MIRROR_BINARY_SECURITY}" # \$LIVE_SECTIONS: select the section(s) to use # (Default: ${LIVE_SECTIONS}) @@ -282,6 +284,10 @@ EOF cat > "${LIVE_ROOT}"/config/binary << EOF # config/chroot: configuration for lh_binary_* +# \$LIVE_BINARY_INDICES: set apt/aptitude generic indices +# (Default: ${LIVE_BINARY_INDICES}) +LIVE_BINARY_INDICES="${LIVE_BINARY_INDICES}" + # \$LIVE_BOOTAPPEND: set boot parameters # (Default: empty) LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND}" @@ -298,10 +304,6 @@ LIVE_USERNAME="${LIVE_USERNAME}" # (Default: ${LIVE_HOSTNAME}) LIVE_HOSTNAME="${LIVE_HOSTNAME}" -# \$LIVE_FILESYSTEM: set filesystem -# (Default: ${LIVE_FILESYSTEM}) -LIVE_FILESYSTEM="${LIVE_FILESYSTEM}" - # \$LIVE_MEMTEST: set memtest # (Default: ${LIVE_MEMTEST}) LIVE_MEMTEST="${LIVE_MEMTEST}" @@ -314,13 +316,13 @@ LIVE_DEBIAN_INSTALLER="${LIVE_DEBIAN_INSTALLER}" # (Default: ${LIVE_ISO_VOLUME}) LIVE_ISO_VOLUME="${LIVE_ISO_VOLUME}" -# \$LIVE_SERVER_ADDRESS: set the netboot server address -# (Default: ${LIVE_SERVER_ADDRESS}) -LIVE_SERVER_ADDRESS="${LIVE_SERVER_ADDRESS}" +# \$LIVE_NET_SERVER: set the netboot server address +# (Default: ${LIVE_NET_SERVER}) +LIVE_NET_SERVER="${LIVE_NET_SERVER}" -# \$LIVE_SERVER_PATH: set the netboot server directory -# (Default: ${LIVE_SERVER_PATH}) -LIVE_SERVER_PATH="${LIVE_SERVER_PATH}" +# \$LIVE_NET_PATH: set the netboot server directory +# (Default: ${LIVE_NET_PATH}) +LIVE_NET_PATH="${LIVE_NET_PATH}" # \$LIVE_BOOTLOADER: set bootloader # (Default: ${LIVE_BOOTLOADER}) @@ -334,9 +336,9 @@ LIVE_GRUB_SPLASH="${LIVE_GRUB_SPLASH}" # (Default: empty) LIVE_SYSLINUX_SPLASH="${LIVE_SYSLINUX_SPLASH}" -# \$LIVE_BINARY_IMAGE: set image type -# (Default: ${LIVE_BINARY_IMAGE}) -LIVE_BINARY_IMAGE="${LIVE_BINARY_IMAGE}" +# \$LIVE_BINARY_IMAGES: set image type +# (Default: ${LIVE_BINARY_IMAGES}) +LIVE_BINARY_IMAGES="${LIVE_BINARY_IMAGES}" EOF # Creating lh_source_* configuration @@ -347,12 +349,12 @@ cat > "${LIVE_ROOT}"/config/source << EOF # (Default: ${LH_SOURCE}) LIVE_SOURCE="${LIVE_SOURCE}" -# \$LIVE_SOURCE_IMAGE: set image type -# (Default: ${LIVE_SOURCE_IMAGE}) -LIVE_SOURCE_IMAGE="${LIVE_SOURCE_IMAGE}" +# \$LIVE_SOURCE_IMAGES: set image type +# (Default: ${LIVE_SOURCE_IMAGES}) +LIVE_SOURCE_IMAGES="${LIVE_SOURCE_IMAGES}" EOF # Creating lh_binary_* directories mkdir -p "${LIVE_ROOT}"/config/binary_grub -mkdir -p "${LIVE_ROOT}"/config/binary_localincludes +mkdir -p "${LIVE_ROOT}"/config/binary_local-includes mkdir -p "${LIVE_ROOT}"/config/binary_syslinux |