Commit Graph

199 Commits

Author SHA1 Message Date
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 b22984f698 Also unmounting /run in lb_clean eventhough it's not really needed anyway but let's be on the caucious side (Closes: #633052). 2011-07-19 10:19:18 +02:00
Daniel Baumann 57ab082265 Using --no-check-gpg option when using debootstrap >= 1.0.30 and apt secure is disabled, thanks to Eugenio Paolantonio <me@medesimo.eu> (Closes: #633356). 2011-07-19 10:13:10 +02:00
Daniel Baumann 330d06708d Skipping binary_linux-image if no kernel was choosen to be installed deliberately, thanks to Adam Conrad <adconrad@ubuntu.com>. 2011-07-16 10:08:42 +02:00
Daniel Baumann 3a44d9acbd Correct gdm/gdm3 handling, prefere gdm for squeeze as before and use gdm3 for everything else. 2011-07-08 18:41:54 +02:00
Richard Nelson ecd8dca2ba Remove lxde test on LB_TASKS for gdm so we now get gdm3. 2011-07-04 18:40:44 -05:00
Daniel Baumann 42cfa2bf03 Correcting wrong chroot call in chroot_archives, only affecting derivatives. 2011-06-29 07:51:41 +02:00
Daniel Baumann f68ecad438 Making copyright headers distribution neutral. 2011-06-21 09:11:49 +02:00
Daniel Baumann bfadca3225 Correct keyring packages temporary workaround to not fail when aptitude is selected (Closes: #630919). 2011-06-18 23:10:39 +02:00
Daniel Baumann 75f87204da Removing forgotten reference to chroot_packages in lb_chroot. 2011-06-17 12:03:33 +02:00
Daniel Baumann 63560ff0b0 Adjust name of archives directory in config tree. 2011-06-17 11:25:52 +02:00
Daniel Baumann b86f9c6380 Since we don't have global packages anymore, renaming lb_chroot_local-packages to lb_chroot_packages and config/chroot_local-packages to config/chroot_packages. 2011-06-15 22:08:44 +02:00
Daniel Baumann cfb6ecedfa Since we don't have global tasks anymore, renaming lb_chroot_local-tasklists to lb_chroot_task-lists. 2011-06-15 22:01:51 +02:00
Daniel Baumann e26d3be01a Moving config/chroot_local-tasklists/*.list to config/task-lists/*.chroot.list, analogue to config/package-lists. 2011-06-15 21:52:45 +02:00
Daniel Baumann 9d905734e5 Unifying config/chroot_local-packagelists and config/binary_local-packagelists.
Rather than using config/chroot_local-packagelists/*.list and
config/binary_local-packagelists/*.list, we're simply using
config/package-lists/*.chroot.list and
config/package-lists/*.binary.list.
2011-06-15 21:37:10 +02:00
Daniel Baumann 36ecab10d3 Using .list suffix in config/archives. 2011-06-15 21:27:29 +02:00
Daniel Baumann 2312f18ef1 Changing archives key suffix from .gpg to .key. 2011-06-15 21:25:14 +02:00
Daniel Baumann a2551605c0 Unifying config/chroot_archives and config/archives, now only using config/archives.
Previously, we had config/chroot_sources (or config/chroot_archives)
that allowed local configuration for third-party repositories but we
also had config/archives (or config/repositories) that did the very
same, but also alled to use 'variables' (e.g. @DISTRIBUTION@ or
@ARCHIVE_AREAS@ to be used) that got replaces automatically.

Now, we have only config/archives that can do both. This gets rid
of the unecessary double handling of the same thing in two places.
2011-06-15 21:05:09 +02:00
Daniel Baumann 2cf5daeaef Renaming chroot_sources script to chroot_archives for consistency with debian-policy terminology. 2011-06-15 20:48:56 +02:00
Daniel Baumann a6988b188f Renaming repositories option to archives for consistency with debian-policy terminology.
In order to be consistent with terminology used in debian-policy,
we've always tried to use the same names for the same things.

The repository option is one of the last things that were too
late in squeeze release cycle to be renamed in time.
2011-06-15 20:40:18 +02:00
Daniel Baumann 21dfadb622 Using -wildcards option when calling mksquashfs with an excludes file. 2011-06-13 21:05:05 +02:00
Colin Watson 5d228a8e3e Add --initramfs-compression option (Closes: #627677). 2011-06-13 20:38:44 +02:00
Colin Watson d5510c9910 Divert flash-kernel aside while building the chroot (Closes: #630350). 2011-06-13 20:33:28 +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 f342cd85b8 Correct lb cleans source removals. 2011-06-12 09:21:28 +02:00
Daniel Baumann 5b4e20599d Removing now unecessary stagefile check in lb_source. 2011-06-11 20:19:57 +02:00
Daniel Baumann df7b3d934f Moving installation of live packages to second pass. 2011-06-11 19:36:46 +02:00
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