From 9ad970aca24720f1fe7262c4b9d64e010d3bb2e7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 12 Nov 2007 23:00:48 +0100 Subject: Adding option to disable md5sum generation. --- helpers/lh_config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'helpers/lh_config') diff --git a/helpers/lh_config b/helpers/lh_config index 05e5cb0da..255f59deb 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -42,6 +42,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\ \t [--cache-indices enabled|disabled]\n\ \t [--cache-packages enabled|disabled]\n\ \t [--cache-stages STAGE|\"STAGES\"]\n\ +\t [--checksums enabled|disabled]\n\ \t [--chroot-build enabled|disabled]\n\ \t [--chroot-filesystem ext2|ext3|squashfs|plain]\n\ \t [-c|--conffile FILE]\n\ @@ -109,7 +110,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\ Local_arguments () { - ARGUMENTS="$(getopt --longoptions apt:,apt-ftp-proxy:,apt-http-proxy:,apt-pdiffs:,apt-pipeline:,apt-recommends:,apt-secure:,bootstrap:,cache:,cache-indices:,cache-packages:,cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,genisoimage:,initramfs:,fdisk:,losetup:,mode:,root-command:,use-fakeroot:,tasksel:,includes:,templates:,architecture:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,distribution:,mirror-bootstrap:,mirror-bootstrap-security:,mirror-binary:,mirror-binary-security:,sections:,chroot-filesystem:,union-filesystem:,exposed-root:,hooks:,interactive:,keyring-packages:,language:,linux-flavours:,linux-packages:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,binary-images:,binary-indices:,bootappend-install:,bootappend-live:,bootloader:,chroot-build:,debian-installer:,debian-installer-daily:,encryption:,grub-splash:,hostname:,iso-application:,iso-preparer:,iso-publisher:,iso-volume:,memtest:,net-root-filesystem:,net-root-mountoptions:,net-root-path:,net-root-server:,net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,net-cow-server:,syslinux-splash:,syslinux-timeout:,syslinux-menu:,username:,source:,source-images:,breakpoints,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options a:f:d:m:l:k:p:b:e:s:c:huv --shell sh -- "${@}")" + ARGUMENTS="$(getopt --longoptions apt:,apt-ftp-proxy:,apt-http-proxy:,apt-pdiffs:,apt-pipeline:,apt-recommends:,apt-secure:,bootstrap:,cache:,cache-indices:,cache-packages:,cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,genisoimage:,initramfs:,fdisk:,losetup:,mode:,root-command:,use-fakeroot:,tasksel:,includes:,templates:,architecture:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,distribution:,mirror-bootstrap:,mirror-bootstrap-security:,mirror-binary:,mirror-binary-security:,sections:,chroot-filesystem:,union-filesystem:,exposed-root:,hooks:,interactive:,keyring-packages:,language:,linux-flavours:,linux-packages:,packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,binary-images:,binary-indices:,bootappend-install:,bootappend-live:,bootloader:,checksums:,chroot-build:,debian-installer:,debian-installer-daily:,encryption:,grub-splash:,hostname:,iso-application:,iso-preparer:,iso-publisher:,iso-volume:,memtest:,net-root-filesystem:,net-root-mountoptions:,net-root-path:,net-root-server:,net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,net-cow-server:,syslinux-splash:,syslinux-timeout:,syslinux-menu:,username:,source:,source-images:,breakpoints,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options a:f:d:m:l:k:p:b:e:s:c:huv --shell sh -- "${@}")" if [ "${?}" != "0" ] then @@ -426,6 +427,11 @@ Local_arguments () shift 2 ;; + --checksums) + LH_CHECKSUMS="${2}" + shift 2 + ;; + --chroot-build) LH_CHROOT_BUILD="${2}" shift 2 @@ -919,6 +925,10 @@ LH_BOOTAPPEND_INSTALL="${LH_BOOTAPPEND_INSTALL}" # (Default: ${LH_BOOTLOADER}) LH_BOOTLOADER="${LH_BOOTLOADER}" +# \$LH_CHECKSUMS: set checksums +# (Default: ${LH_CHECKSUMS}) +LH_CHECKSUMS="${LH_CHECKSUMS}" + # \${LH_CHROOT_BUILD: control if we build binary images chrooted # (Default: ${LH_CHROOT_BUILD}) # DO NEVER, *NEVER*, *N*E*V*E*R* SET THIS OPTION to disabled. -- cgit v1.2.3