Commit Graph

226 Commits

Author SHA1 Message Date
Daniel Baumann 48e2af1ab9 Obtaining the live passes package selection information at the latest point to catch all other modifications in the package selection. 2011-06-11 19:18:15 +02:00
Daniel Baumann 238ae93f41 Allow to optionally run package installation in two passes. Eventually, this allows to have media containing a 'bigger' live system that what they end up installing (Closes: #627439). 2011-06-11 17:26:47 +02:00
Daniel Baumann 1fc15b55ee Creating chroot_local-tasklists directory in config. 2011-06-11 15:54:43 +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
Daniel Baumann 01a5160847 Always disable dpkg sync, we only support squeeze and newer anyway. 2011-06-11 13:35:05 +02:00
Daniel Baumann 521bd38d69 Correcting indenting for dpkg sync configuration file. 2011-06-11 13:32:51 +02:00
Colin Watson 7b84bf9498 Use dpkg --force-unsafe-io if available (Closes: #630043). 2011-06-11 13:31:18 +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 25f7152e5e Don't try to install standard task on anything but ubuntu. 2011-06-11 11:00:42 +02:00
Colin Watson 6bcb29a25c Make --initramfs none work more consistently (Closes: #627887). 2011-06-08 10:07:26 +02:00
Colin Watson 8b05781dbc Use mkfs.ext2/mkfs.ext2 instead of genext2fs (Closes: #629533). 2011-06-08 10:02:10 +02:00
Daniel Baumann 69f2cc5ee5 Updating grub paths for d-i files (Closes: #627695). 2011-06-03 11:56:42 +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
Colin Watson 7b92318f64 Fixing ext2/ext3 case in lb_binary_rootfs to work with --build-with-chroot false (Closes: #627902). 2011-06-03 10:44:25 +02:00
Daniel Baumann 348cb4b391 Moving 'default' hooks for minimal and stripped to example hooks, they will have to be enabled manually now (Closes: #627183).
Previously, there were a couple of hooks that were automatically run
for some image flavours. This came back from the old days when we
had to deconfigure gdm and enable kdm explicitly for kde images.

After lenny, this hack was not needed anymore, and there's not much
sense to keep the mechanism in place at all. Better, let's treat all
images the same way wrt/ hooks and don't do special automagics.

The only images that is of concern of are minimal and stripped
which we don't build by default anyway. This also stopps confusing
others.
2011-06-03 10:39:45 +02:00
Daniel Baumann b8eff5a2f2 Restoring excludes functionality for mksquashfs. This was present some time ago but then got removed. 2011-06-03 00:38:09 +02:00
Colin Watson 3f36f6ba4b Fix duplicate deconfiguration of apt, upstart, and sysv-rc if build-with-chroot is false (Closes: #627406). 2011-05-21 10:50:31 +02:00
liandro sg 11eeea6f6c Be more careful with subshells (Closes: #623356). 2011-05-18 19:42:51 +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 6d04c078db Correct derivative main sources.list entries. 2011-05-15 21:52:57 +02:00
Daniel Baumann ebc3788bf2 Avoid wrong security mirrors when building for artax-backports. 2011-05-15 20:56:26 +02:00
Daniel Baumann a657b49ea2 Don't add security repository for wheezy. 2011-05-15 20:53:24 +02:00
Ben Armstrong 4d8ae158c2 Using gdm3 for wheezy instead of gdm. 2011-05-15 08:43:29 +02:00
Daniel Baumann 860310465d Updating url for debian-installer daily-images. 2011-05-12 12:19:12 +02:00
Daniel Baumann 65fef6b528 Enabling xz compression by default for artax-backports. 2011-04-29 00:01:45 +02:00
Daniel Baumann 23d03462e7 Moving installation of tasks behind package and package lists installation; the tasks should only 'fill-up' with what has not already been provided by packages or package lists. 2011-04-23 18:58:36 +02:00
Daniel Baumann b494afa384 Moving apt pinning workaround to the correct place. 2011-04-23 18:58:34 +02:00
Daniel Baumann f4370639f9 Making apt calls a bit more consistent over the different scripts. 2011-04-23 17:44:01 +02:00
Daniel Baumann 890a6e5fb3 Removing kernel-img.conf handling for lenny and older. 2011-04-23 17:37:36 +02:00
Daniel Baumann fb1e45aaeb Adding workaround for apt not respecting pinning on the fly. 2011-04-23 17:27:05 +02:00
Daniel Baumann 873d77490b Adding temporary hack for progress until multistrap can be used for bootstrapping. 2011-04-22 21:55:52 +02:00
Daniel Baumann 2c904bfbe0 Correcting repository handling for live.debian.net wrt/ derivatives. 2011-03-24 21:06:48 +01:00
Daniel Baumann 863ecba77c Updating security archive entries for progress. 2011-03-24 20:27:33 +01:00
Daniel Baumann 2d25d1f140 Removing obsolete debian-backports auto-configuration. 2011-03-24 20:26:29 +01:00
Daniel Baumann ef1a33bc14 Adding parent-archive-areas. 2011-03-24 20:25:34 +01:00
Daniel Baumann 8291836812 Disabling kexec-tools by default in debian mode. 2011-03-23 14:28:00 +01:00
Daniel Baumann c0e865b6d2 Setting partition flags after creating the filesystem, workaround for bug in parted where we result in having the partition type set to linux otherways, thanks to Cody A.W. Somerville <cody.somerville@canonical.com> for the idea. 2011-03-21 20:52:50 +01:00
Cody A.W. Somerville 6a00dab9f6 Fixing lb_chroot_upstart to use correct path to initctl. 2011-03-10 04:28:03 +01:00
Steven Shiau 87c8dbc241 Correcting release filename when caching indices (Closes: #613895). 2011-03-09 19:20:44 +01:00
Daniel Baumann 97f30b4907 Correcting udeb download for derivatives to only fall back to debians repository if required to. 2011-03-09 19:20:43 +01:00
Daniel Baumann ad302fb50c Correcting typo in derivatives check when fetching d-i components. 2011-03-09 19:20:43 +01:00
Daniel Baumann c746513893 Making sure to correctly deference syslinux theme files when building chrooted. 2011-03-09 19:20:43 +01:00
Daniel Baumann 29b7232c35 Correcting quoting of apt-options in derivatives upgrade hack. 2011-03-09 19:20:43 +01:00
Daniel Baumann a493644b2f Adding multi-repository support for debian-installer udebs at build-time. 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 5ee6304087 Removing legacy handling for lenny in grub2 handling of lb_binary_iso. 2011-03-09 19:20:42 +01:00
Luigi Capriotti c4c316ed4f Support for newer grub-common package.
A recent change in grub-common package (#584415) has mandated
the use of a destination format in calls to grub-mkimage, a
parameter that was not previously supported.
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 8767617f41 Correcting compression handling for tarballs. 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 d0a5dac971 Removing unused debian-release mode. 2011-03-09 19:20:41 +01:00
Daniel Baumann 1d2dd20dd6 Removing legacy support for live-initramfs. 2011-03-09 19:20:40 +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 21815cb707 Generalizing compression handling and adding support for lzip tarballs. 2011-03-09 19:20:40 +01:00
Daniel Baumann a40f2fda63 Updating help function in lb for live-build. 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
Daniel Baumann 772e2ad4bf Removing last live-helper remains in internal variables. 2011-03-09 19:20:39 +01:00
Daniel Baumann 18e123ea16 Applying patch from Cody A.W. Somerville <cody.somerville@canonical.com> to update kernel packages for ubuntu in lb_binary_debian-installer. 2011-03-09 19:20:39 +01:00
Ben Armstrong fa7a693326 Adding '--includes none' documentation in help and man page. 2011-03-09 19:20:39 +01:00
Ben Armstrong 6cb261cf4f Updating lb config --help and man page. 2011-03-09 19:20:38 +01:00
Daniel Baumann 51944c015f Renaming --architecture to --architectures in preparation for multi-arch. 2011-03-09 19:20:37 +01:00
Daniel Baumann d703d361fc Passing chroot directory explicitly to Apt() in preparation for multi-arch. 2011-03-09 19:20:37 +01:00
Daniel Baumann ed42278155 Once again updating volatile urls for squeeze. 2011-03-09 19:20:37 +01:00
Daniel Baumann 92f134138c Applying slightly modified patch from Michael Hudson <michael.hudson@canonical.com> to make arguments in debootstrap calls more robust. 2011-03-09 19:20:37 +01:00
Daniel Baumann 3ac5181486 Updating grub package name for grub version 1. 2011-03-09 19:20:36 +01:00
Daniel Baumann 68e8fd157e Renaming 'packages lists' to 'package lists' all over the place. 2011-03-09 19:20:36 +01:00
Daniel Baumann 813f5227ab Replacing last occurences of lh with lb. 2011-03-09 19:20:36 +01:00
Daniel Baumann 6240716433 Simplyfing ssh host key removal. 2011-03-09 19:20:36 +01:00
Daniel Baumann d06f0de41f Also including auxiliary packages in d-i pool (Closes: #604551). 2011-03-09 19:20:36 +01:00
Daniel Baumann e3800bf32b Correcting quoting of auto calls, thanks to Andreas Loibl <andreas@andreas-loibl.de>. 2011-03-09 19:20:36 +01:00
Daniel Baumann 556e09db89 Using bootloader-live in syslinux-themes, rather than just bootloader, since it's live specific. 2011-03-09 19:20:35 +01:00
Daniel Baumann da2c2b0bcc Renaming --binary-indices to --apt-indices for consistency. 2011-03-09 19:20:35 +01:00
Daniel Baumann adf35904bd Updating volatile urls for squeeze. 2011-03-09 19:20:35 +01:00
Daniel Baumann 3250e18855 Making d-i indices copying depending on binary image type. 2011-03-09 19:20:35 +01:00
Daniel Baumann 868353f0b3 Enabling removal of ssh host keys, they are regenerated by live-config. 2011-03-09 19:20:35 +01:00
Ben Armstrong 4c3488ce38 Fixing typo in symlink on fat workaround. 2011-03-09 19:20:35 +01:00
Daniel Baumann 232e515df4 Workarounding symlink on usb-hdd when including debian-installer and using vfat filesystems. 2011-03-09 19:20:35 +01:00
Daniel Baumann cd172cfe21 First step in cleaning up syslinux handling by using syslinux-theme packages rather than embedded templates. 2011-03-09 19:20:35 +01:00
Daniel Baumann 3df7f06c17 Shuffeling dpkg tmpfs hack arround in preparation for generic tmpfs support. 2011-03-09 19:20:34 +01:00
Daniel Baumann d2d691a5ed Updating special handling for backports. 2011-03-09 19:20:34 +01:00
Daniel Baumann c7a9942687 Removing --binary-pool again, not ready yet.
See #598935, #598991 and and
http://lists.debian.org/debian-live/2010/10/msg00079.html
for details.
2011-03-09 19:20:33 +01:00
intrigeri d7353ff96f Fixing squashfs.sort location with --build-with-chroot false. 2011-03-09 19:20:33 +01:00
Daniel Baumann 607f87914b Also using gdm legacy hack on xfce-desktop default images. 2011-03-09 19:20:33 +01:00
Daniel Baumann 36f220320a Handling live.debian.net repository differently, so that ubuntu people can use it too. 2011-03-09 19:20:32 +01:00
Daniel Baumann ef3b9967b0 Avoid using bashism when handling codename/suite mapping for debian-installer release file. 2011-03-09 19:20:32 +01:00
Daniel Baumann 2dbf0565e4 Also correcting version number in debian-installer release file. 2011-03-09 19:20:32 +01:00
Otavio Salvador a2161b18e4 Fixing debian-installer Release file generation.
To behave properly installer properly handles codename/suite
combination. Specially for sid/unstable this is really required
otherwise we can end up trying to configure a broken sources.list.
2011-03-09 19:20:32 +01:00
Otavio Salvador 8fe060ea2d Fixing debian-installer index generation.
When figuring out which suite to use, cdrom-detect looks for the
Release file and the first one to be tried is the content of
/etc/default-release, inside of installer initrd, that needs to be
available as symbolic link.
2011-03-09 19:20:32 +01:00
Daniel Baumann 4826b8c224 Adding option to allow using the live-media pool in live system. 2011-03-09 19:20:31 +01:00
Daniel Baumann c77053d3d8 Replacing lb_chroot_symlinks with a hook, that's more approriate. 2011-03-09 19:20:31 +01:00
Daniel Baumann c5c3f6133a Adding debian version 3.0~a1-1. 2011-03-09 19:19:23 +01:00
Daniel Baumann 1d97631522 Adding ubuntu lucid for grub-mkimage legacy handling in lb_binary_iso. 2011-03-09 19:17:33 +01:00