Commit Graph

407 Commits

Author SHA1 Message Date
Daniel Baumann 7ce22c258d Applying patch from Frederic Boiteux <fboiteux@calistel.com> to support wildcards in rootfs exclude lists (Closes: #500677). 2011-03-09 19:03:42 +01:00
Daniel Baumann 1476f3a1c3 Adding lh_chroot_selinuxfs helper to support building live images on a selinux enabled host (Closes: #501652). 2011-03-09 19:03:42 +01:00
Marco Amadori 63dc9da964 lh_config --help and manpage 'copy' mention. 2011-03-09 19:03:42 +01:00
Daniel Baumann 817f3f8cf6 Improving indices workaround by checking LH_BOOTSTRAP_FLAVOUR rather than LH_PACKAGES_LISTS in order to handle chicken-egg problem for installing apt-utils when having bootstrapped a minimal chroot. 2011-03-09 19:03:42 +01:00
Chris Lamb 15a8c9ab3d Include source for sparc-utils on that architecture. 2011-03-09 19:03:42 +01:00
Chris Lamb 13804c6102 Correcting sparc architecture detection to ensure correct source package contents. 2011-03-09 19:03:42 +01:00
Chris Lamb bb97c59eb7 Install appropriate tasksel program. 2011-03-09 19:03:42 +01:00
Chris Lamb 7bc94cef99 Don't build up source package list inside chroot. 2011-03-09 19:03:42 +01:00
Chris Lamb ab1e4ce5a8 Create a "missing-source.txt" file containing missing source packages instead of exiting. 2011-03-09 19:03:42 +01:00
Maximilian Gass 0c8232307d Only install memtest in lh_binary_syslinux if enabled. 2011-03-09 19:03:42 +01:00
Chris Lamb 44fefdf1d3 Additionally save the 'scripts/' subdirectory if it contains files when building source images. 2011-03-09 19:03:42 +01:00
Chris Lamb 8d9860284d Fix timing issue in create of source tarballs. Patch by Sebastian H <shbugreport@online.de>. (Closes: #499793) 2011-03-09 19:03:42 +01:00
Daniel Baumann ed6d9e8c8c Adding explicit --yes to apt-get call when installing keyring packages (previously, this was inherited through Apt(); wrapper) (Closes: #499625). 2011-03-09 19:03:42 +01:00
Chris Lamb 4210fbf03c Really fix LH_BOOTSTRAP="copy". Thanks to Andreas Teuchert <ant+bdo@hsg-kl.de>. (Closes: #498385) 2011-03-09 19:03:42 +01:00
Marco Amadori dfc00ce30c Splitted "longoptions" in various lines. 2011-03-09 19:03:42 +01:00
Daniel Baumann f423bca5d8 Adding scripts directory to to include custom helper scripts. 2011-03-09 19:03:42 +01:00
Chris Lamb 57029d7a66 Fix handling of --version and getopt program name. 2011-03-09 19:03:42 +01:00
Daniel Baumann 30b0d0a5f3 Simplyfing partition size check when enforcing fat32. 2011-03-09 19:03:41 +01:00
Daniel Baumann 107125bae8 Automatically enforcing fat32 on usb-hdd when detecting partitions bigger than 2GB. 2011-03-09 19:03:41 +01:00
Daniel Baumann 759d82a2c4 Automatically enforcing fat32 on usb-hdd when detecting files bigger than 2GB. 2011-03-09 19:03:41 +01:00
Daniel Baumann dbb7a3d459 Correcting wrong logic in lh_cleans check for beeing in the config directory or not (in order to prevent accidental cleaning by the user). 2011-03-09 19:03:41 +01:00
Daniel Baumann 1102bca971 Always using apt to install keyring packages (Closes: #498531). 2011-03-09 19:03:41 +01:00
Chris Lamb c0a28cb532 Add silo to sparc source package selection. 2011-03-09 19:03:41 +01:00
Chris Lamb 9c13ebdf48 Use tar to perform lh_bootstrap_copy (Closes: #498385) 2011-03-09 19:03:41 +01:00
Chris Lamb 8d373e005b Refactor partition size calculation, ensuring a uniform increase for ext partitions. 2011-03-09 19:03:41 +01:00
Chris Lamb cf20a5b7b7 Additionally unmount chroot/binary.tmp in lh_clean --chroot. 2011-03-09 19:03:41 +01:00
Chris Lamb a2c5c9e2d0 Unmount chroot/dev.tmp/pts filestems created by lh_binary_usb-hdd in lh_clean. 2011-03-09 19:03:41 +01:00
Chris Lamb 4908e9a907 Add "/.disk" metadata on usb-hdd images. 2011-03-09 19:03:41 +01:00
Chris Lamb 523899d26d Use cp's "-T" option instead of shell globbing to ensure dotfiles in the binary image's / are copied. 2011-03-09 19:03:41 +01:00
Chris Lamb 80bcf4d3b7 Standardise on appending " (fail-safe mode)" for all bootloaders. 2011-03-09 19:03:41 +01:00
Daniel Baumann 3c48eb2a5a Fixing a chicken-egg problem with package indices when using minimal/stripped list *and* including local-packages. 2011-03-09 19:03:40 +01:00
Chris Lamb 478a3ca3dd mksquashfs in Lenny supports -no-progress, so remove (broken) check. 2011-03-09 19:03:40 +01:00
Daniel Baumann 45a98f5977 Correcting chroot call to process config/binary_rootfs/excludes in chrooted builds. 2011-03-09 19:03:40 +01:00
Daniel Baumann 492c2876ac Replacing Chroot(); call for removing the udev persistent-net rules with a direct rm call to avoid beeing expanded by the shell based on the build systems files. 2011-03-09 19:03:40 +01:00
Daniel Baumann 98cb61600c Passing -wildcards to mksquashfs call when having excludes, thanks to Phillip Lougher <phillip@lougher.demon.co.uk>. 2011-03-09 19:03:40 +01:00
Marco Amadori dbcc5dc8b3 Fixed 2 typos in getopt longoptions string. 2011-03-09 19:03:40 +01:00
Daniel Baumann ef222396cd Introducing config/binary_rootfs/excludes as a generic way to exclude files manually from the binary image. 2011-03-09 19:03:40 +01:00
Daniel Baumann 5fe8b202c3 Since #433076 is fixed in live-initramfs, we only need to adjust owner of the live-user when using casper for etch builds. 2011-03-09 19:03:40 +01:00
Daniel Baumann fa8e9f9381 Renaming sections to categories in order to use the same names as Debian Policy does (Closes: #483777). 2011-03-09 19:03:40 +01:00
Daniel Baumann 14fe5c6fb2 Improving check for a mounted chroot/dev/pts to cover all terminals, not just the 0th (Closes: #459697, #459779). 2011-03-09 19:03:40 +01:00
Chris Lamb a12a4b71fb Support expanding wildcards in udeb excludes.
This was preventing "kernel-image-*" "exclude" entries from removing these
packages. This saves about 5 MiB of space in all.
2011-03-09 19:03:40 +01:00
Chris Lamb b6a9ccaa08 Remove pointless whitespace. 2011-03-09 19:03:40 +01:00
Chris Lamb 3ef5610890 Removing surrounded braces from LH_BOOTAPPEND_INSTALL - it is expanded by sed, not the shell. 2011-03-09 19:03:40 +01:00
Chris Lamb c4c0f319ae Correcting typo LH_BOOTSTRAP_INSTALL -> LH_BOOTAPPEND_INSTALL in Grub kernel parameters. 2011-03-09 19:03:40 +01:00
Chris Lamb 6018c34eda Correct bogus path for d-i preseed files. 2011-03-09 19:03:40 +01:00
Chris Lamb 59e050290d Don't install lists from chroot_local-packageslists without them being specified in LH_PACKAGES_LISTS (Closes: #490755) 2011-03-09 19:03:40 +01:00
Daniel Baumann b070f0a9a3 Preserve changed apt settings (pdiffs, recommends, and secure) in binary image (Closes: #494640). 2011-03-09 19:03:40 +01:00
Chris Lamb 1a8e869265 Remove accidental trailing '"' (quote) package from lh_config usage. 2011-03-09 19:03:39 +01:00
Daniel Baumann 8888135805 Updating chroot hacks to reflect namechange of the udev persistent rules. 2011-03-09 19:03:39 +01:00
Daniel Baumann 7e20d93cf5 Correcting typo in win32-loader config. 2011-03-09 19:03:39 +01:00