Commit Graph

565 Commits

Author SHA1 Message Date
Daniel Baumann 628c93f923 Adding bootrap_archive-keys to establish secure trust-chain on top of debian-keyring for derivatives. 2013-02-08 21:40:27 +01:00
Daniel Baumann 4df36c9407 Correcting install path in loadlins install.bat for the gtk d-i flavour. 2013-01-24 00:26:29 +01:00
Daniel Baumann 84af3683bd Escaping quotes to workaround a false-positive of checkbashisms in binary_debian-installer. 2013-01-24 00:08:07 +01:00
Daniel Baumann cca9934da6 Applying slightly modified patch from Raphaël Hertzog <hertzog@debian.org> to fix automatic firmware inclusion when using debian-installer with live-installer and having firmware packages installed in the live system already. 2013-01-20 08:55:05 +01:00
Daniel Baumann 715adcfc8e Falling back to use genisoimage when building squeeze iso-hybrid images. 2013-01-19 18:04:52 +01:00
Daniel Baumann 9ec95b51a7 Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>. 2013-01-19 12:50:03 +01:00
Daniel Baumann 357c2e0399 Updating samhain workaround in chroot_dpkg to work if live-build is being used with sudo or fakeroot (Closes: #698423). 2013-01-19 12:46:40 +01:00
Daniel Baumann 7f0662cd50 Cleaning up binary_loadlin. 2013-01-06 23:30:49 +01:00
Daniel Baumann 8607b231d6 Using cat instead of echo to workaround incompatible and conflicting uses in escaping of \t in dash and bash, and less importantly to workaround a false-positive in checkbashisms. 2013-01-04 19:13:23 +01:00
Daniel Baumann 8d31e413f8 Dropping pre-squeeze handling for win32-loader files. 2013-01-02 11:42:18 +01:00
Daniel Baumann 369a600509 Adding support for sha512 checksums. 2013-01-02 11:27:05 +01:00
Daniel Baumann bffc19e3a2 Removing all checksum files in lb clean. 2013-01-02 11:25:48 +01:00
Daniel Baumann 33eb0dfd91 Correcting legacy filename for checksum files. 2013-01-02 11:23:08 +01:00
Daniel Baumann 71cb88de17 Updating win32-loader.ini for wheezy. 2013-01-02 11:19:50 +01:00
Daniel Baumann 6eb4e2236a Only including gtk d-i in win32-loader config if available on the target image. 2013-01-02 11:19:20 +01:00
Daniel Baumann fd5c4609e9 Creating install.bat for loadlin. 2013-01-02 11:09:11 +01:00
Daniel Baumann d2940edc0f Dropping stable and unstable dist symlinks for d-i in dists for wheezy. 2013-01-02 11:05:17 +01:00
Daniel Baumann e8fd91ee05 Creating autorun.inf in binary_win32-loader. 2013-01-02 11:00:05 +01:00
Daniel Baumann e724421fee Also ignoring legacy checksum filenames when creating checksum files. 2013-01-02 10:51:01 +01:00
Daniel Baumann a6b1521567 Correcting spelling typo in help text within the binary checksums file. 2013-01-02 10:51:01 +01:00
Daniel Baumann a39bfcb512 Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082). 2013-01-02 10:38:53 +01:00
Daniel Baumann 7f50113e74 Don't fail when adding symlinks for firmware in binary/firmware for debian-installer and the symlink already exists (Closes: #696688). 2013-01-02 10:22:20 +01:00
Daniel Baumann a203b86fdd Updating year in all copyright notices. 2013-01-01 00:13:01 +01:00
Daniel Baumann e366eae5c3 Using .cfg suffix for consistency with debian-installer on preseed files in config/preseed. 2012-12-31 10:18:45 +01:00
Daniel Baumann 52262ab8f9 Correcting glitch with plain chroot filesystems in binary_chroot. 2012-12-30 14:19:02 +01:00
Daniel Baumann 27f9ebb269 Removing redundant check for linux-images in binary_linux-image. 2012-12-30 13:14:36 +01:00
Daniel Baumann bd0ccc992b Omitting memtest in binary if chroot filesystem is set to none. 2012-12-30 12:58:31 +01:00
Daniel Baumann 2ef5a2bfe1 Omitting binary manifest creation when chroot filesystem is set to none. 2012-12-30 12:51:18 +01:00
Daniel Baumann a03aa6e812 Removing grub package from binary_debian-installer for wheezy. 2012-12-22 19:31:51 +01:00
Daniel Baumann 7e8240cd5e Removing kubuntu mode, it's not different anymore to standard ubuntu mode. 2012-12-17 13:51:44 +01:00
Daniel Baumann 43434c2f6a Moving removal of backup and temporary files to their own hook script. 2012-12-16 23:56:55 +01:00
Daniel Baumann 8618786d5f Marking loop-aes-utils related hack as squeeze only. 2012-12-16 23:51:07 +01:00
Daniel Baumann 18c8ece239 Moving kexec-tools default preseeding into its own hook script. 2012-12-16 23:48:24 +01:00
Daniel Baumann f2d57e26ed Removing old code in chroot_hacks for tasks which are not used anymore. 2012-12-16 23:43:48 +01:00
Daniel Baumann bae505eb97 Switching from genisoimage to xorriso. 2012-12-16 21:41:42 +01:00
Daniel Baumann 414b89ed3f Updating removal of adjtime in a split out hook for wheezy. 2012-12-13 20:32:18 +01:00
Daniel Baumann 4e65bcbb5b Avoid re-populating an already populated configuration tree when using lb config --config. 2012-12-13 19:04:14 +01:00
Daniel Baumann 8353cbb301 Adding support for live-images configs and arbitrary configuration directories in lb_config --config option. 2012-12-13 18:52:15 +01:00
Daniel Baumann 2ea65fdcc9 Skipping creation of soon to be replaced config/templates directory. 2012-12-10 20:37:49 +01:00
Daniel Baumann d4ba252197 Removing local/bin by default in lb_clean too. 2012-12-10 20:35:50 +01:00
Daniel Baumann b46eefce94 Adding back legacy filtering for firmware packages on squeeze when contrib or non-free is not enabled. 2012-12-06 20:59:35 +01:00
Daniel Baumann ca42266824 Dropping ubuntu guards on firmware selection code, we're not enabling firmware inclusion in ubuntu mode anyway.
Also, we're not keeping this as ubuntu should just update their archive
structure for content files to match debian. Not worth keeping temporary
extra turns just for ubuntu.
2012-12-06 20:47:27 +01:00
Daniel Baumann 6a206425e8 Adding support for local apt conf.d snippets in archive definitions (Closes: #685791). 2012-12-04 12:07:51 +01:00
Daniel Baumann dabe28bdd3 Harmonizing apt configuration handling in chroot_archives. 2012-12-04 12:04:47 +01:00
Daniel Baumann 1855adbbd0 Adding dropped empty-line separator in binary_debian-installer. 2012-12-01 01:56:41 +01:00
Daniel Baumann d79a5200e6 Updating powerpc kernel list on ubuntu. 2012-12-01 01:50:23 +01:00
Daniel Baumann bbf1634782 Also avoiding to use xz compression for squashfs for kubuntu. 2012-11-30 15:29:24 +01:00
Daniel Baumann fce9502aad Replicating same qemu support within bootstrap_debootstrao for bootstrap_cdebootstrap too (Closes: #694102). 2012-11-30 15:09:22 +01:00
Daniel Baumann 2df809705d Using hash rather than pipe as sed separator for writing boot parameters into bootloader configurations (Closes: #694723). 2012-11-30 15:06:57 +01:00
Daniel Baumann bbbe6a66df Using four letter digit prefixes for hooks like for consistency with all other live packages. 2012-11-29 21:18:28 +01:00
Daniel Baumann f225840b96 Updating note about integrity check boot parameter within checksum files. 2012-11-28 09:31:29 +01:00
Daniel Baumann ade11a8ebb Marking comments in checksum files as such to avoid harmless but anoying warning messages during live-boots medium integrity check. 2012-11-28 09:30:46 +01:00
Richard Nelson b7d0742e0a Correct another typo on commit 11d97a6a5f 2012-11-22 15:32:27 -06:00
Richard Nelson 1d0113a70b Correct typo on commit 11d97a6a5f 2012-11-22 15:05:42 -06:00
Daniel Baumann 3ca8e64d0f Adding default-preseeding for non-free firmware only when non-free is actually included, to avoid cluttering debconf db by default on all systems. 2012-11-22 17:11:00 +01:00
Daniel Baumann 11d97a6a5f Adding backwards compatible handling for squeeze and the ubuntus for old-style Contents files in the archive. 2012-11-22 17:07:49 +01:00
Daniel Baumann e7a6543499 Correcting a typo in chroot_apt when re-configuring apt preferences, found by Thanatermesis <thanatermesis@gmail.com> (Closes: #685924). 2012-11-19 16:21:19 +01:00
Daniel Baumann 3138b1a4fa Correcting copying of archive specific apt preferences files, thanks to Thanatermesis <thanatermesis@gmail.com> (Closes: #693250). 2012-11-14 21:54:42 +01:00
Daniel Baumann ce36fd703f Workarounding recent archive changes wrt/ content files until #692111 is fixed. 2012-11-02 11:57:41 +01:00
Daniel Baumann 0863d00128 Correcting typos in aptitude-options name in lb config, thanks to Frank Gard <frank@familie-gard.de> (Closes: #691930). 2012-11-01 06:49:33 +01:00
Daniel Baumann 4f710bc3c4 Removing debconf-nowarnings option, doesn't provide any advantage to disable this option in the first place. 2012-10-31 09:26:25 +01:00
Daniel Baumann 3718d0db96 Also supporting the other way around: removing systemd from a bootstrap and switching to sysvinit for those distributions that default to systemd. 2012-10-31 07:48:26 +01:00
Daniel Baumann 5021fd2313 Making sysvinit removal on systemd systems conditional, newer bootstraps might not always pull in sysvinit packages anymore. 2012-10-31 07:45:55 +01:00
Daniel Baumann 5e20937df4 Removing sysvinit when building images with systemd. 2012-10-29 19:45:17 +01:00
Daniel Baumann b7abcb0c01 Shortening initsystem specific hacks for wheezy, systemd on squeeze never was really supported anyway. 2012-10-28 11:46:01 +01:00
Daniel Baumann 74c6a77e5a Removing cruft line breaks in bailout messages for bootstrap tools. 2012-10-27 23:06:52 +02:00
Daniel Baumann 2eaa6eeb71 Removing workaround for #657560 where we had to temporarily include bzip2 into the bootstrapped chroot to avoid sids apt failing on mirrors with bzip2 indices only. 2012-10-26 10:58:54 +02:00
Daniel Baumann 9a33f681fa Removing unecessary removal of apt preferences.
When we rebuild an image with changed local archives,
we would preferably remove the already existing preferences files.
However, there's no way to make sure that we remove enough or too
much, hence we don't remove any at all and stay with the dogma:

  "If you change something in the config tree affecting $stage,
   you need to rebuild that stage from scratch."

So for pinning changes for local archives, this means, since it's
affecting the chroot stage, we'll have to rebuild the chroot stage:

  "lb clean --chroot && lb chroot"
2012-10-25 14:00:36 +02:00
Daniel Baumann 2caef33ea2 Renaming progress mode to progress-linux to match the used naming scheme. 2012-10-25 13:36:18 +02:00
chals 743cf9775d Addin missing comma in the long debootstrap-options that caused an unrecognized option message. 2012-10-24 14:18:26 +02:00
Daniel Baumann bb86b31b7b Renaming config/includes.binary_debian-installer to simply config/includes.debian-installer. 2012-10-22 20:43:21 +02:00
Daniel Baumann b7c3e69b0d Renaming config/binary_rootfs to simply config/rootfs. 2012-10-22 20:41:40 +02:00
Daniel Baumann f8d11f4698 Avoid creating old left-over directory for custom syslinux splash handing from within the config tree in lb_config. 2012-10-22 20:36:25 +02:00
Daniel Baumann 46de5bb96c Removing support for local grub/grub2 splash image and config manipulations, custom templates should be used instead.
Rather than doing all the heavy lifting in live-build that nobody really
uses and which is quite inflexible, users should (in line with the syslinux
handling) either stick with the default grub configurations, or, supply
a custom one to live-build, rather than partial/single files only.
2012-10-22 20:34:14 +02:00
Daniel Baumann bd5f6bc104 Renaming config/binary_debian-installer to simply config/debian-installer. 2012-10-22 20:30:41 +02:00
Daniel Baumann fe3333bcb6 Renaming config/chroot_apt to simply config/apt.
Eventually lb_chroot_apt will be folded into chroot_archives
but that's left for after wheezy.
2012-10-22 20:27:15 +02:00
Daniel Baumann 1fc33f6afb Renaming local/scripts to local/bin for executables overriding not just lb scripts, but any command during live-build runs. 2012-10-22 19:20:12 +02:00
Daniel Baumann 6caf65efee Removing local/functions functionality, it's not really usefull anyway. 2012-10-22 19:18:06 +02:00
Daniel Baumann ff115e5a88 Removing some left-overs from bootstrap-copy removal in lb config. 2012-10-22 19:14:01 +02:00
Daniel Baumann 65bc289e9b Correcting variable handling for --bootappend-live-failsafe in lb config. 2012-10-08 19:51:23 +02:00
Daniel Baumann 56e4085c60 Making failsafe boot parameters fully customizable like the normal ones. 2012-10-04 14:25:01 +02:00
Michal Suchanek 057d7439ac Allowing to include multiple kernel images but menu entry is generated only for one. 2012-10-03 14:22:47 +02:00
Daniel Baumann 80f3c62290 Removing unsupported and unsupportable bootstrap_copy. 2012-10-03 13:46:22 +02:00
Daniel Baumann 97de0e925e Add missing whitespace when concatenating multiple live.cfg syslinux files. 2012-10-01 05:36:09 +02:00
Daniel Baumann 711d6504f1 Using menu default only once when populating syslinux configurations for more than one kernel flavour (Closes: #682957). 2012-10-01 05:01:18 +02:00
Daniel Baumann fd73a68615 Simplify internal replacement strings when processing syslinux configuration files. 2012-10-01 04:43:14 +02:00
Daniel Baumann 803266d886 Also use .contents suffix for file list of sources images like for binary images, rather than the old .list suffix. 2012-10-01 03:42:20 +02:00
Daniel Baumann b7396abd13 Avoiding warnings when checking for arguments in clean. 2012-09-30 20:29:55 +02:00
Daniel Baumann 26f2278a23 Supporting parent distribution as a variable field in archive definitions. 2012-09-30 20:14:05 +02:00
Daniel Baumann ad31a98bf0 Supporting parent distribution as a variable field in syslinux splashes. 2012-09-30 20:13:42 +02:00
Daniel Baumann 64664bb475 Only producing zsync files for iso and iso-hybrid images. 2012-09-30 17:34:08 +02:00
Daniel Baumann efe7090bdb Simplyfing clean option in lb config. 2012-09-30 15:13:42 +02:00
Daniel Baumann 880e6e0736 Adding slightly modified patch from Adam Conrad <adconrad@ubuntu.com> to remove resolvconf artifacts. 2012-09-30 09:43:58 +02:00
Colin Watson 5e4f7742c5 Fixing execution of binary hooks. 2012-09-30 09:40:01 +02:00
Colin Watson cab0d9e783 If --build-with-chroot is false, run ! lines in package-lists in the host system. 2012-09-30 09:38:17 +02:00
Daniel Baumann 2046ad7fdd Don't turn on xz compression in mksquashfs for ubuntu builds according to Adam Conrad <adconrad@ubuntu.com>. 2012-09-30 09:33:06 +02:00
Colin Watson 01b64bf2b9 Using i386 -generic-pae kernel flavour on Ubuntu precise. 2012-09-30 09:28:55 +02:00
Adam Conrad 7ae630cc43 Switching Ubuntu from powerpc to powerpc-smp kernel. 2012-09-30 09:26:12 +02:00
Daniel Baumann 7fad1b698d Including loadlin on d-i images on amd64 and i386. 2012-09-29 13:23:31 +02:00
Daniel Baumann 6b12a3fb7d Updating win32-loader inclusion handling. 2012-09-29 13:08:14 +02:00