Commit Graph

482 Commits

Author SHA1 Message Date
Daniel Baumann
5b11bd1a06 Adding default hook to truncate log files. 2012-12-16 23:58:54 +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
18c8ece239 Moving kexec-tools default preseeding into its own hook script. 2012-12-16 23:48:24 +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
8fd30d15b3 Adding default hook to remove mdadm configuration.
mdadm creates a /etc/mdadm/mdadm.conf configuration file
on package installation which contains array information
from the build system.
2012-12-12 11:43:41 +01:00
Daniel Baumann
37c9a7e0f0 Correcting test for no config tree version number to match all other cases, not just lower-than-1. 2012-12-04 11:31:01 +01:00
Daniel Baumann
4be0cce940 Updating wording about regenerating config trees. 2012-12-04 11:26:02 +01:00
Daniel Baumann
e832622a33 Adding dropped empty-line separator in defaults. 2012-12-01 01:56:37 +01:00
Daniel Baumann
d79a5200e6 Updating powerpc kernel list on ubuntu. 2012-12-01 01:50:23 +01:00
Daniel Baumann
96287e4b8f Removing some leftovers from stripped and minimal package lists. 2012-12-01 01:44:29 +01:00
Daniel Baumann
f7ba1350f8 Adding default hook to remove linux-image backup files. 2012-11-28 17:43:29 +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
68b1966b94 Defaulting to systemd as initsystem for wheezy based progress-linux releases and newer. 2012-10-28 11:43:51 +01:00
Daniel Baumann
2caef33ea2 Renaming progress mode to progress-linux to match the used naming scheme. 2012-10-25 13:36:18 +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
dd43976fb7 Correcting variable handling for --bootappend-live-failsafe in defaults. 2012-10-08 20:16:40 +02:00
Daniel Baumann
5f7780597e Simplifying bootparameter assembling in defaults. 2012-10-08 20:01:30 +02:00
Daniel Baumann
a7227d4ebc Stopping to support LB_INITRAMFS=auto, when switching the mode one has to update several parameters anyway, use of auto scripts are recommended. 2012-10-08 20:00:41 +02:00
Daniel Baumann
81029d0e72 Setting default compression to none.
Normally, when using compressed file systems (squashfs),
there is no point in further compressing the tarballs and images.
2012-10-04 20:13:28 +02:00
Daniel Baumann
84dcf4ed02 Making different boot options defaults depending on initramfs generator, not depending on mode. 2012-10-04 14:26:44 +02:00
Daniel Baumann
56e4085c60 Making failsafe boot parameters fully customizable like the normal ones. 2012-10-04 14:25:01 +02:00
Daniel Baumann
fd445ce765 Booting by default with 'quiet' and 'splash' parameters. 2012-10-01 13:11:40 +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
a9bb5418c9 Using initramfs generator specific boot parameters in syslinux configuration files. 2012-09-30 09:20:15 +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
9228a0ca66 Renaming volatile options refering to volatile archive to updates to match current archive namings. 2012-09-26 14:43:12 +02:00
Daniel Baumann
e12985ac97 Adding baureo-backports and charon-backports as valid distributions in progress mode. 2012-08-29 15:58:42 +02:00
Daniel Baumann
341bd2a096 Setting default progress distribution from artax to baureo. 2012-08-27 16:23:27 +02:00
Daniel Baumann
ddd0ef9dc0 Moving aborting when no bootstrap tool is installed from defaults to the respective bootstrap script. 2012-08-27 16:05:46 +02:00
Daniel Baumann
d0561821e4 Calling local live-build embedded in config directly rather than to adjust path. 2012-08-27 15:03:21 +02:00
Daniel Baumann
5f26aa5bd0 Correcting wrong bootstrap-qemu-exclude variable in defaults. 2012-08-27 14:39:14 +02:00
Daniel Baumann
9b5fc09d0f Removing bootstrap-keyring option. 2012-08-27 14:36:42 +02:00
Daniel Baumann
fda74e4307 Removing bootstrap-include and bootstrap-exclude options. 2012-08-27 14:33:57 +02:00
Daniel Baumann
df1cea54c5 Removing bootstrap-flavour option (Closes: #685675).
live-build does too much magic that causes too much effort in
maintaining for stuff that hardly everyone uses.

Rather than 'translating' back and forth and maintaining compatibility
between options of different debootstrap and cdebootstrap versions (and
possibly any other in the future), it's is better to 'off-load' this to
the user.

For non-live specific options passed to the bootstrap tools, we'll
be introducing --debootstrap-options and --cdebootstrap-options
where users can specify their additional options passed to the
respective bootstrap tool, rather than us maintaining them in a
'hardcoded' and selected list.
2012-08-27 14:26:11 +02:00
Daniel Baumann
fd685847ad Moving from cdn.debian.net to http.debian.net as binary mirror. 2012-08-24 11:38:25 +02:00
Daniel Baumann
14f57935cd Correcting fallback for default binary volatile mirror on ubuntu, thanks to Luigi Capriotti <l.capriotti@xbmc.org>. 2012-08-14 11:38:05 +02:00
Daniel Baumann
e53c79c8d0 Disabling volatile for wheezy for the time being.
Why oh why can people not just create empty indices for the
auxiliary repositories once they populate a new suite in the
main archive, this is so obvious and I say it after every
release.. Keeping these things constantly in sync with reality
is tedious, just stupid and sucks big time.
2012-07-30 18:19:29 +02:00
Daniel Baumann
508510e097 Updating GPL standard header in all files. 2012-07-30 18:19:27 +02:00
Daniel Baumann
81fb429453 Dropping global package-lists entirely, only local package lists within the config tree are support. 2012-07-29 00:29:23 +02:00
Daniel Baumann
bedb2fa9f9 Including gnupg on ubuntu by default through corresponding default for bootstrap includes. 2012-07-28 21:01:37 +02:00
Daniel Baumann
a16be4ab5e Updating all distribution specific selectors in defaults to be as future proof as possible. 2012-07-27 23:29:19 +02:00
Daniel Baumann
8473b925fd Fixing up inclusion of functions while allowing local usage of live-build with different file layouts. 2012-07-19 21:11:59 +02:00
Daniel Baumann
2d94f79d0a Adding support for ntfs as binary filesystem when using syslinux. 2012-07-18 22:30:15 +02:00
Daniel Baumann
27f7d92862 Using xz to compress images on anything except squeeze, keeping gzip as default for squeeze. 2012-07-18 20:07:08 +02:00
Daniel Baumann
f4de284deb Adding xz as valid compression format. 2012-07-18 20:07:06 +02:00
Daniel Baumann
75ca21eaec Adding support for zsync control files generation, thanks to Hector Oron <hector.oron@gmail.com> for the idea and prototype. 2012-07-18 19:37:20 +02:00
Daniel Baumann
310be05bff Renaming net flavour to netboot for consistency. 2012-07-18 19:26:07 +02:00
Daniel Baumann
e906e78462 Defaulting to SHA256 live-media checksums. 2012-06-05 17:42:07 +02:00
Daniel Baumann
5953d2c948 Don't bother supporting firmware on ubuntu, they seem to have a different archive structure. 2012-06-03 08:24:31 +02:00
Daniel Baumann
3eb2b243cc Cleaning http_proxy and ftp_proxy settings in chroot, people using apt proxies set them throught the apt pseudo-proxy options, and people using real proxies use config/environment.{chroot,binary} to set them. 2012-05-31 13:12:13 +02:00
Daniel Baumann
58cb79b8cd Transforming failsafe boot parameter into an own option. 2012-04-27 20:31:49 +02:00
Daniel Baumann
1315e5b1f5 Unconditionally including firmware in all images by default. This is safe since only firmware available within the configured archive area is included automatically, see manpage. 2012-04-26 23:11:25 +02:00
Daniel Baumann
b8bf4da08f Adding support for including firmware packages automatically within the live system. 2012-04-26 22:39:36 +02:00
Daniel Baumann
bbd9c284e4 Adding support for including firmware packages automatically within debian-installer. 2012-04-26 22:28:48 +02:00
Daniel Baumann
d2be2946db Updating defaults for linux-latest metapackages in wheezy. 2012-04-23 12:35:10 +02:00
Daniel Baumann
98192da0b9 Switching default bootstrap mirror from ftp.de.debian.org to ftp.debian.org, now that ftp.debian.org has upgraded hardware and bandwith. 2012-03-04 21:05:37 +01:00
Daniel Baumann
d4d4265357 Excluding security and volatile archives for ubuntu precise for the the time being. 2012-03-03 13:37:16 +01:00
Daniel Baumann
7809c0ef96 Removing --username cruft, live-config bootparameters should be used via --bootappend-live. 2012-02-26 19:55:28 +01:00
Daniel Baumann
ea22359fa6 Removing --hostname cruft, live-config bootparameters should be used via --bootappend-live. 2012-02-26 19:50:49 +01:00
Daniel Baumann
84c185055f Add forgotten fallback for mode setting if lsb_release is not installed. 2012-02-16 21:40:18 +01:00
Daniel Baumann
cc5e2ad304 Correcting typo in ubuntu default distribution name, thanks to Marco Lechner <marco.lechner@fossgis.de> (Closes: #659823). 2012-02-14 05:35:26 +01:00
Daniel Baumann
636a416717 Correcting typo in defaults for backports mirror. 2012-02-13 21:01:28 +01:00
Daniel Baumann
db4b354436 Improve backports handling in derivatives mode.
If LB_BACKPORTS=true, then backports are configured in sources.list,
however, not enabled.

If backports are enabled depends on pinning, either manually through
apt/preferences.d snipplets in local includes/chroot_apt, or,
depending on distribution (e.g. building artax-backports enables
pinning automatically).
2012-02-06 23:15:13 +01:00
Daniel Baumann
822dc2c028 Updating year in copyright notices for 2012. 2012-02-06 23:15:12 +01:00
Daniel Baumann
43105e7a2d Autodetecting mode depending on which distribution we're building. 2012-02-06 23:15:11 +01:00
Daniel Baumann
98932c4edf Correcting typo in security chroot mirror variable assembling. 2012-02-06 23:15:11 +01:00
Daniel Baumann
4e2a532f37 Updating lb_binary_syslinux for embedded syslinux themes. 2012-02-06 17:02:58 +01:00
Daniel Baumann
07ca41c280 Setting default mirror for progress to cdn.archive.progress-linux.org. 2012-01-18 23:06:21 +01:00
Daniel Baumann
df0721e87a Switching priorities of mirror defaults (which mirror default is used from which previously set mirror default etc.) to the way it was intendet to be.
If not building a derivative with two seperate repositories,
users should only need to bother about setting the
--mirror*|LB_MIRROR* options, the --parent-mirror*|LB_PARENT_MIRROR*
does get set automatically correctly now.
2012-01-12 13:19:24 +01:00
Daniel Baumann
1ff06c2f81 Adding armhf kernel defaults, thanks for Ying-Chun Liu <paulliu@debian.org> for bringing it up (Closes: #655557). 2012-01-12 11:42:09 +01:00
Daniel Baumann
f57757371b Enabling contrib and non-free by default for progress. 2011-12-30 09:41:31 +01:00
Daniel Baumann
c9a7e8b3f6 Inverting logic for defaults or archive-areas wrt/ parent and derivatives. 2011-11-29 13:06:11 +01:00
Daniel Baumann
d4563b9202 Correcting defaults d-i mirror for progress. 2011-10-30 08:46:02 +01:00
Daniel Baumann
6d7dbfbee9 Adding hook to remove dbus machine id. 2011-10-22 18:06:03 +02:00
Daniel Baumann
cf3e1d8911 Disable backports forcefully when building artax-backports images direcly. 2011-10-16 09:02:09 +02:00
Daniel Baumann
9e2f545557 Correcting typo in defaults for system variable. 2011-10-13 19:50:48 +02:00
Ben Howard
d90c311ef9 Adding foreign bootstrap via qemu for cross arch building. 2011-10-05 07:38:53 +02:00
Daniel Baumann
b89413a11e Setting default ubuntu release to oneric. 2011-09-30 12:11:03 +02:00
Colin Watson
e6140b821a Defaulting to ubuntu-oneiric syslinux theme on Ubuntu. 2011-09-30 12:11:03 +02:00
Adam Conrad
ab40254d0e Using the correct mirror locations for Ubuntu ports. 2011-09-30 12:11:03 +02:00
Daniel Baumann
96e86b96d8 Adding --system option to define the resulting image type to be a live system or a normal, non-live system. 2011-09-30 00:56:49 +02:00
Ben Howard
6b8183c277 Setting default armel linux flavour for Ubuntu. 2011-09-30 00:26:06 +02:00
Daniel Baumann
94e610f2e5 Renaming virtual-hdd-root-size to hdd-size in preparation of merging virtual-hdd into hdd. 2011-09-28 11:39:40 +02:00
Yaroslav Halchenko
365a0c2062 Enclosing shell variables for iso-* defaults in escaped double-quotes while evaluating for the length to allow using parentheses (Closes: #642463). 2011-09-22 21:11:31 +02:00
Daniel Baumann
7b9ecc7976 Switching away from cdn.debian.net as default mirrors for progress, too unreliable outside of Europe. 2011-09-14 21:18:15 +02:00
Daniel Baumann
f38ef7f469 Renaming usb-hdd binary image type to simply hdd.
This is the first step in conglomerating code for all hdd-ish
image types, independent of the partitioning scheme being used,
and adding future hdd-ish image types for virtualiziation software.
2011-09-13 09:10:30 +02:00
Daniel Baumann
6f55ec4fb1 Correcting syntax error in tr command used in default for hdd-label in progress mode. 2011-09-13 08:58:30 +02:00
Daniel Baumann
bb718340e2 Adding option for setting filesystem label on usb-hdd images. 2011-09-12 09:19:30 +02:00
Daniel Baumann
ef53525970 Automatically using an embedded live-build copy from within the config tree at local/live-build, if existing.
This allows to ship (an almost) self contained config tree.
2011-09-01 09:27:29 +02:00
Daniel Baumann
5d2fbf5d5a Adding support for ext4 for binary and chroot filesystem, including partial patch from Ben Howard <ben.howard@canonical.com> (Closes: #639298). 2011-08-25 23:47:30 +02:00
Daniel Baumann
7dd4473d5a Renaming --apt-source to --apt-source-archives. 2011-08-24 23:30:22 +02:00
Daniel Baumann
72ec4c30be Avoiding magic defaults for --apt-indices option when using minimal or stripped packagelist. 2011-08-24 23:16:13 +02:00
Daniel Baumann
ad518cce94 Setting apt-source to false in progress mode. 2011-08-24 22:59:46 +02:00
Daniel Baumann
3ceb68b7d4 Introducing --apt-sources option to control if the live system should have deb-src entries in sources.list. 2011-08-24 22:46:32 +02:00
Daniel Baumann
88befb1766 Moving removal of udev persistent rules from chroot_hacks to a hook, that way it can be easily skipped if desired. 2011-08-23 17:13:45 +02:00
Daniel Baumann
9a59c0a2d6 Moving removal of openssh-server host keys from chroot_hacks to a hook, that way it can be easily skipped if desired. 2011-08-23 17:10:38 +02:00
Daniel Baumann
febcb6bbf4 Enabling volatile suite for progress itself in progress mode. 2011-08-13 09:08:04 +02:00
Daniel Baumann
b6825361ef Correcting indentiation in hook defaults assignment. 2011-08-04 21:49:46 +02:00
Daniel Baumann
f3fd3dc2a9 Adding hook to update apt-file cache (Closes: #636440). 2011-08-04 21:47:46 +02:00
Daniel Baumann
6a577d37f6 Setting default kernel flavours for armel to all available flavour due to the nature of armel images (single rootfs image, multiple kernel images). 2011-07-29 15:27:18 +02:00
Daniel Baumann
046e32b5b0 Add forgotten handling of already set chroot_hooks in defaults. 2011-07-24 09:28:49 +02:00
Daniel Baumann
143e793eb7 Updating derivatives handling for d-i mirror defaults to better match the reality that by default, most derivatives are not going to actually rebuild d-i. 2011-07-21 18:44:22 +02:00
Daniel Baumann
de6a971029 Setting default compression levels to -6 for gzip, bzip, lzip and lzma tarballs. 2011-07-21 17:48:17 +02:00
Daniel Baumann
b7f70c339f Avoid to hijack root-command with linux32, rather set use it in the chroot function only. 2011-07-20 18:10:39 +02:00
Cody A.W. Somerville
968be1f426 Appending 'linux32' to LB_ROOT_COMMAND if 'uname -m' is x86_64 and LB_ARCHITECTURE is i386. 2011-07-20 08:54:54 +02:00
Daniel Baumann
e4793268a3 Enabling hooks based on the mode we're building for. 2011-07-19 11:57:21 +02:00
Daniel Baumann
ef2752faab Adding kubuntu mode in order to have different defadefault hooks enabled for ubuntu and kubuntu (needed for #630088). 2011-07-19 10:51:20 +02:00
Daniel Baumann
10b0b77f0f Using updated kernel default flavours for sid also for wheezy. 2011-07-14 08:24:33 +02:00
Colin Watson
e0a1da6aba Fix default for LB_PARENT_ARCHIVE_AREAS (Closes: #630604). 2011-06-15 22:30:36 +02:00
Daniel Baumann
535051e43d Setting default distribution to wheezy (at least until #622838 is handled). 2011-06-15 21:14:23 +02:00
Colin Watson
65ac1c651c Make --architectures armel only fail if --linux-flavours was not passed (Closes: #630464). 2011-06-14 12:14:22 +02:00
Colin Watson
5d228a8e3e Add --initramfs-compression option (Closes: #627677). 2011-06-13 20:38:44 +02:00
Colin Watson
abcc4ca9bf Add --swap-file-path and --swap-file-size options (Closes: #629637). 2011-06-13 20:08:34 +02:00
Daniel Baumann
f06a2e3d37 Reworking chroot_tasks into chroot_local-tasklists, now packages and tasks are (almost) handled identical and through local lists only. 2011-06-11 15:54:40 +02:00
Colin Watson
0633d3bc96 Fix incorrect Ubuntu defaults for security and volatile mirrors (Closes: #630080). 2011-06-11 13:37:15 +02:00
Daniel Baumann
dc0775d7ae Correct indenting in powerpc kernel defaults. 2011-06-11 13:27:35 +02:00
Colin Watson
eb6242e98e Use powerpc and powerpc64-smp kernel flavours by default for Ubuntu, as there is no powerpc64 flavour (Closes: #630032). 2011-06-11 13:26:31 +02:00
Daniel Baumann
ae6ed7d84a Removing unmaintained chroot_localization script.
The chroot_localization script did two things:

  * contain a hardcoded list for a couple of packages->l10n-packages
  * (supposed) to set the locales boot parameter correct.

While the first was totally outdated and is a thing that needs to be
constantly updated for changes in debian (and nobody wants to do that)
and it's a broken approach anyway, the second is useless since we're
using syslinux-themes packages anyway.
2011-06-11 13:15:06 +02:00
Daniel Baumann
b3ad2f412a Dropping handling of --packages in order to simply things handle packages scheduled for installation through package lists only. 2011-06-11 11:37:37 +02:00
Daniel Baumann
a951e84c4f Updating default kernel flavour for debian on i386. 2011-06-05 11:15:17 +02:00
Daniel Baumann
91ae1c5366 Updating default kernel flavour for progress on i386. 2011-06-05 11:14:21 +02:00
Daniel Baumann
338ebe5e6b Correcting wrong task defaults. 2011-06-03 11:47:08 +02:00
Daniel Baumann
e4928dc223 Removing unused and not really usefull bootstrap-script option (Closes: #603114).
This option was not used anyway, and, it's actually not much of the
business of live-build anyway. People for custom distributions that
can not use the debian default scripts ship their own patched
debootstrap, and then you don't need the option anymore.
2011-06-03 11:10:38 +02:00
Daniel Baumann
3cd5375fbd Correcting accidentally unconditional default for linux-flavours in progress mode. 2011-06-02 22:55:18 +02:00
Daniel Baumann
57e2fac99b Switching to apt as tasksel for all distributions, except Debian squeeze. 2011-05-16 22:11:26 +02:00
Colin Watson
454043122d Allow installing tasks using apt-get, and do so by default for Ubuntu (Closes: #626940). 2011-05-16 22:11:15 +02:00
Daniel Baumann
c5df1371f8 Removing defaults for the alpha architecture, not supported by debian anymore. 2011-05-16 14:59:38 +02:00
Daniel Baumann
ef1a33bc14 Adding parent-archive-areas. 2011-03-24 20:25:34 +01:00
Daniel Baumann
f261b470f8 Disabling security and volatile repositories for unreleased distributions. 2011-03-21 20:36:50 +01:00
Daniel Baumann
18fc11bcad Setting default for debian-installer on debian to false. 2011-03-21 20:31:51 +01:00
Daniel Baumann
ddbf68ff41 Also including the standard task when building the rescue default flavour. 2011-03-12 13:43:32 +01:00
Daniel Baumann
16d5361094 Building standard image flavour with included --tasks standard. 2011-03-12 13:17:12 +01:00
Daniel Baumann
7910dbf330 Updating default mirrors for emdebian (Closes: #614120). 2011-03-09 19:20:44 +01:00
Daniel Baumann
ced01e41a1 Correcting logical error with default settings of initsystem. 2011-03-09 19:20:43 +01:00
Daniel Baumann
ebf1ea5238 Adding mirror handling for derivatives. 2011-03-09 19:20:43 +01:00
Daniel Baumann
ff807068b9 Adding mirror option handling for derivatives. 2011-03-09 19:20:43 +01:00
Daniel Baumann
3047936fb5 Renaming mirror options to parent mirror for handling derivatives nice in future. 2011-03-09 19:20:43 +01:00
Daniel Baumann
90b145de6c Adding initial support for parent distribution for debian-installer. 2011-03-09 19:20:43 +01:00
Daniel Baumann
0762a8e56e Updating upstart support addition to current coding style. 2011-03-09 19:20:42 +01:00
Marco Amadori
fda3fe6310 Upstart initsystem support. 2011-03-09 19:20:42 +01:00
Daniel Baumann
2159e3fba7 Adding initial support for making initsystem configurable. 2011-03-09 19:20:42 +01:00
Daniel Baumann
18eeaae602 Updating year in hooks and script files. 2011-03-09 19:20:42 +01:00
Daniel Baumann
bedc819013 Updating compression defaults for progress. 2011-03-09 19:20:41 +01:00
Daniel Baumann
82faf6d595 Correcting typo in lzip default options. 2011-03-09 19:20:41 +01:00
Daniel Baumann
b59859ac0e Updating parent distribution defaults for progress. 2011-03-09 19:20:41 +01:00
Daniel Baumann
bb1230ba24 Shortening iso volume default for progress. 2011-03-09 19:20:41 +01:00
Daniel Baumann
7ce2164003 Updating apt indices defaults for progress. 2011-03-09 19:20:41 +01:00
Daniel Baumann
6d87f0dde3 Adding derivatives handling for progress. 2011-03-09 19:20:41 +01:00
Daniel Baumann
8f4fb88a71 Updating some defaults for progress. 2011-03-09 19:20:41 +01:00