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:
Daniel Baumann 2008-10-14 21:32:50 +02:00
parent 0cbbde2b96
commit 6204dc0e6d
59 changed files with 61 additions and 58 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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"

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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