Commit Graph

490 Commits

Author SHA1 Message Date
Daniel Baumann
409545314f Moving kexec-tools default preseeding into its own hook script. 2012-12-16 23:48:34 +01:00
Daniel Baumann
10d0fb5aed Removing old code in chroot_hacks for tasks which are not used anymore. 2012-12-16 23:42:37 +01:00
Daniel Baumann
46b0d4370b Switching from genisoimage to xorriso. 2012-12-16 21:39:38 +01:00
Daniel Baumann
ba1ded2f1f Updating removal of adjtime in a split out hook for wheezy. 2012-12-13 20:32:40 +01:00
Daniel Baumann
0fa1427801 Avoid re-populating an already populated configuration tree when using lb config --config. 2012-12-13 19:04:23 +01:00
Daniel Baumann
3f19c0c357 Adding support for live-images configs and arbitrary configuration directories in lb_config --config option. 2012-12-13 18:51:54 +01:00
Daniel Baumann
12751445d0 Skipping creation of soon to be replaced config/templates directory. 2012-12-10 20:37:28 +01:00
Daniel Baumann
0ebb3e0dc3 Removing local/bin by default in lb_clean too. 2012-12-10 20:35:57 +01:00
Daniel Baumann
ab293d35ed 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:49:08 +01:00
Daniel Baumann
1815b4fcba Adding proper header to build.sh include. 2012-12-04 12:49:21 +01:00
Daniel Baumann
ffa9706fc9 Ensuring that functions are either sources locally or globally, but not both. 2012-12-04 12:47:46 +01:00
Daniel Baumann
f145e20565 Adding support for local apt conf.d snippets in archive definitions (Closes: #685791). 2012-12-04 12:08:15 +01:00
Daniel Baumann
9117fd0ba4 Harmonizing apt configuration handling in chroot_archives. 2012-12-04 12:08:11 +01:00
Daniel Baumann
0da4e6e3e3 Adding dropped empty-line separator in binary_debian-installer. 2012-12-01 01:57:01 +01:00
Daniel Baumann
2cfcafba89 Updating powerpc kernel list on ubuntu. 2012-12-01 01:50:32 +01:00
Daniel Baumann
d08aabb614 Dropping support for squeeze and squeeze-based distributions. 2012-11-30 15:22:05 +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