Enforcing lh_config to be run before lh_build, see also http://lists.debian.org/debian-live/2008/10/msg00102.html (Closes: #500740).
This commit is contained in:
parent
0cbbde2b96
commit
6204dc0e6d
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin copying chroot..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_chroot
|
||||
|
|
|
@ -56,7 +56,7 @@ esac
|
|||
Echo_message "Begin installing debian-installer..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_debian-installer
|
||||
|
|
|
@ -39,7 +39,7 @@ esac
|
|||
Echo_message "Begin installing disk information..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_disk
|
||||
|
|
|
@ -53,7 +53,7 @@ esac
|
|||
Echo_message "Begin encrypting root filesystem image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap .stage/binary_rootfs
|
||||
Require_stagefile .stage/config .stage/bootstrap .stage/binary_rootfs
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_encryption
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin installing grub..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_grub
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin copying binary includes..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_includes
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin building binary iso image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_iso
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin install linux-image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_linux-image
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin executing local hooks..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_local-hooks
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin copying binary local includes..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_local-includes
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin installing local packages lists..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_local-packageslists
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin creating manifest..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_manifest
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin creating binary md5sum.txt..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_md5sum
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin installing memtest..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_memtest
|
||||
|
|
|
@ -41,7 +41,7 @@ fi
|
|||
Echo_message "Begin building binary netboot image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_net
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin building root filesystem image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap .stage/binary_chroot
|
||||
Require_stagefile .stage/config .stage/bootstrap .stage/binary_chroot
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_rootfs
|
||||
|
|
|
@ -47,7 +47,7 @@ esac
|
|||
Echo_message "Begin installing silo..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_silo
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin installing syslinux..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_syslinux
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin building binary harddisk image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_tar
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin building binary usb-hdd image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap .stage/chroot_proc
|
||||
Require_stagefile .stage/config .stage/bootstrap .stage/chroot_proc
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_usb-hdd
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin installing yaboot..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/binary_yaboot
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install|install-binary)
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -32,7 +32,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin executing hacks..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_hacks
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin executing hooks..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_hooks
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin installing packages..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_install-packages
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin interactive build..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_interactive
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin executing local hooks..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_local-hooks
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin copying chroot local includes..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_local-includes
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin queueing installation of local packages..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_local-packages
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin applying chroot local patches..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_local-patches
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin executing local preseeds..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_local-preseed
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin installing localization packages..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_localization
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin queueing installation of packages..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_packages
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin queueing installation of packages lists..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_packageslists
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin executing preseed..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_preseed
|
||||
|
|
|
@ -32,7 +32,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -32,7 +32,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
_LH_LOCAL_KEY_EMAIL="live-helper-local-key@invalid"
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin converting symlinks..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_symlinks
|
||||
|
|
|
@ -32,7 +32,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -29,7 +29,7 @@ Read_conffile config/all config/common config/bootstrap config/chroot config/bin
|
|||
Set_defaults
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
case "${1}" in
|
||||
install)
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Configuring package sysvinit"
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_sysvinit
|
||||
|
|
|
@ -31,7 +31,7 @@ Set_defaults
|
|||
Echo_message "Begin installing tasks..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/chroot_tasks
|
||||
|
|
|
@ -1171,3 +1171,6 @@ then
|
|||
debconf-get-selections | grep -v deinstall | cut -f1 > config/chroot_local-preseed/local-system
|
||||
fi
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/config
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin downloading sources..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_debian
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin copying live-helper configuration..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_debian-live
|
||||
|
|
|
@ -36,7 +36,7 @@ fi
|
|||
Echo_message "Begin installing disk information..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/bootstrap
|
||||
Require_stagefile .stage/config .stage/bootstrap
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_disk
|
||||
|
|
|
@ -41,7 +41,7 @@ fi
|
|||
Echo_message "Begin building source iso image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/source_debian
|
||||
Require_stagefile .stage/config .stage/source_debian
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_iso
|
||||
|
|
|
@ -41,7 +41,7 @@ fi
|
|||
Echo_message "Begin creating source md5sum.txt..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/source_debian
|
||||
Require_stagefile .stage/config .stage/source_debian
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_md5sum
|
||||
|
|
|
@ -41,7 +41,7 @@ fi
|
|||
Echo_message "Begin building source netboot image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/source_debian
|
||||
Require_stagefile .stage/config .stage/source_debian
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_net
|
||||
|
|
|
@ -42,7 +42,7 @@ Echo_message "Begin building source tarball..."
|
|||
Echo_message "This may take a while."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/source_debian
|
||||
Require_stagefile .stage/config .stage/source_debian
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_tar
|
||||
|
|
|
@ -41,7 +41,7 @@ fi
|
|||
Echo_message "Begin building source usb-hdd image..."
|
||||
|
||||
# Requiring stage file
|
||||
Require_stagefile .stage/source_debian
|
||||
Require_stagefile .stage/config .stage/source_debian
|
||||
|
||||
# Checking stage file
|
||||
Check_stagefile .stage/source_usb-hdd
|
||||
|
|
Loading…
Reference in New Issue