Commit Graph

373 Commits

Author SHA1 Message Date
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
Daniel Baumann d0a5dac971 Removing unused debian-release mode. 2011-03-09 19:20:41 +01:00
Daniel Baumann 41a68e4819 Correcting typo in compression defaults. 2011-03-09 19:20:41 +01:00
Daniel Baumann 69513e9279 Removing lb_chroot_sysvinit in favour of a hook, which is the appropriate way to handle this. 2011-03-09 19:20:40 +01:00
Daniel Baumann dd9ecf3560 Removing encryption support until we have something for current kernels again. 2011-03-09 19:20:40 +01:00
Daniel Baumann 72e0150203 Adding initial defaults for progress. 2011-03-09 19:20:40 +01:00
Daniel Baumann 21815cb707 Generalizing compression handling and adding support for lzip tarballs. 2011-03-09 19:20:40 +01:00
Daniel Baumann a79a5bea10 Simplyfing defaults function a bit. 2011-03-09 19:20:40 +01:00
Daniel Baumann b427b22b88 Removing some more lenny-only stuff. 2011-03-09 19:20:40 +01:00
Daniel Baumann c0d782a1f4 Removing --apt-pdiff option, this doesn't belong into live-build in the first place. 2011-03-09 19:20:39 +01:00