Daniel Baumann
0aab94aac9
Calling mkdir with -p to avoid build failures with multiple kernels on disk info in ubuntu mode, thanks to Cody A.W. Somerville <cody.somerville@canonical.com>.
2011-07-21 17:06:54 +02:00
Cody A.W. Somerville
0d2cc22efc
Adding function for more resilient detachment of loopback devices.
2011-07-21 17:00:54 +02:00
Cody A.W. Somerville
ebc7a72501
Setting partition flags in source_usb after creating the filesystem in order to avoid bug in parted that makes them forget the flags.
2011-07-20 18:39:09 +02:00
Daniel Baumann
346397d2e0
Adding a comment to the chroot calls in excludes handling of binary_chroot whey the chroot function is not used.
2011-07-20 18:24:32 +02:00
Cody A.W. Somerville
651c8aebd2
Updating lb_binary_linux-image to only copy over kernel and initrd if LB_LINUX_PACKAGES doesn't equal 'none'.
2011-07-20 08:48:07 +02:00
Cody A.W. Somerville
31445ed7be
Fixing corruption of usb binary images caused by trying to modify flags in partition table when image is mounted with offset.
2011-07-20 08:46:11 +02:00
Daniel Baumann
fb2bc99fd5
Reworking binary hooks helper.
2011-07-19 19:03:01 +02:00
Daniel Baumann
b70ec215ab
Correcting comments in chroot_hooks to match usage.
2011-07-19 16:45:36 +02:00
Daniel Baumann
a90294ff53
Calling dpkg-divert with --quiet in chroot_dpkg.
2011-07-19 12:39:47 +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
ac6147adb7
Consolidating local hooks for chroot and binary into config/hooks/*.{chroot,binary}.
2011-07-19 10:57:02 +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
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
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