Daniel Baumann
e2b2441d86
Adding messages about performing git operations when using --config.
2012-07-30 00:28:10 +02:00
Daniel Baumann
ecc1d7a0c2
Adding possibility to specify a git branch when using lb config --config.
2012-07-29 23:26:31 +02:00
Daniel Baumann
cdf1bca486
Optimizing chroot package-lists handling for the cases where it's not used.
2012-07-29 00:36:49 +02:00
Daniel Baumann
94fc62e2ff
Also checking for dctrl-tools when assembling binary package lists.
2012-07-29 00:35:30 +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
e81b1c6f7a
Removing chroot_task-lists, obsoleted by package lists.
2012-07-29 00:01:19 +02:00
Daniel Baumann
d360b3dc34
Handling dctrl-tools temporary installation in chroot during package-lists expansion.
2012-07-28 23:55:22 +02:00
Daniel Baumann
28cd477e7e
Showing a message about ignoring --config when the current directory already is a git repository.
2012-07-28 20:37:19 +02:00
Daniel Baumann
189ea002e4
Reordering auto/config in lb_config to work with bootstrapping config tree from a git repository.
2012-07-28 20:04:36 +02:00
Daniel Baumann
e8a9169e26
Allowing to specify a git repository to lb_config in order to bootstrap a config tree.
2012-07-28 19:17:53 +02:00
Daniel Baumann
cd4a3eddc0
Dropping global binary includes and moving binary local-includes to includes, just as with chroot includes and local-includes.
2012-07-28 18:57:40 +02:00
Daniel Baumann
e74bc6a73f
Correcting accidentally reverted check for rsvg in binary_syslinux when building non-chrooted.
2012-07-19 21:12:03 +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
6c0ddb7d6d
Making sure target directory for syslinux theme files exists when building non-chrooted.
2012-07-19 18:13:13 +02:00
Daniel Baumann
5816e7afe0
Moving main executables away from scripts subdirectory.
2012-07-19 02:53:28 +02:00
Daniel Baumann
4abb4a4045
Enabling security archives on wheezy.
2012-07-18 22:44:30 +02:00
Daniel Baumann
14a43495ca
Correcting some distribution specific checks to make them derivatives compliant.
2012-07-18 22:44:05 +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
44fd76f5a0
Correcting freudian typo in package check for chroot filesystems dependencies in binary_rootfs.
2012-07-18 22:30:15 +02:00
Daniel Baumann
526943c099
Also removing zsync files in lb clean.
2012-07-18 21:55:08 +02:00
Daniel Baumann
3776a96b20
Correcting live-build and live-boot versions for splash.svg post-processing.
2012-07-18 21:55:08 +02:00
Daniel Baumann
c07a76f649
Decrufting version flag.
2012-07-18 21:55:08 +02:00
Daniel Baumann
36d4a6672f
Updating splash.svg handling for unchrooted and chrooted builds.
2012-07-18 21:55:07 +02:00
Daniel Baumann
600275fcf9
Adding support for pinning preferences files in config/archives/*.pref{.chroot,.binary}.
2012-07-18 21:03:20 +02:00
Daniel Baumann
0a553d2a32
Handle multiple version numbers when having more than one linux flavours for splash.svg post-processing.
2012-07-18 20:44:05 +02:00
Daniel Baumann
56465f7f46
Removing spurious lb_source_netboot, there's not such thing as a netboot specific source tarball anyway.
2012-07-18 20:12:35 +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
23bf55a73c
Applying patch from Steven Shiau <steven@nchc.org.tw> to conditionally copy /etc/apt/secring.gpg* files.
2012-07-18 17:45:52 +02:00
Daniel Baumann
cfc14171c4
Adding dynamic informations into the splash and creating the png export at build time.
2012-07-08 19:18:31 +02:00
Daniel Baumann
f2c37f226b
Improving error message in lb wrapper to show the command in case of a missing command.
2012-07-03 16:05:31 +02:00
Daniel Baumann
6b506cb7ba
Switching from smbfs to cifs-utils ( Closes : #679240 ).
2012-06-27 14:34:10 +02:00
Daniel Baumann
788455780b
Automatically include intel-microcode when building with firmware and non-free enabled.
2012-06-12 13:38:20 +02:00
Daniel Baumann
52bdb68d18
Changing default binary.list filename to binary.contents to make it more explicit and not to be confused with package lists.
2012-06-12 10:08:58 +02:00
Daniel Baumann
87374242c6
For consistency, respecting config/environment too for both chroot and binary environments (but the content of sepcific environments for either chroot or binary still has precedence over the generic one).
2012-06-06 21:32:08 +02:00
Hector Oron
8d9de19390
Dont assume bash when configuring chroot with QEMU.
...
Currently running second stage with QEMU on a chroot without bash fails.
The following patch teaches chroot to use /bin/sh instead default /bin/bash.
2012-06-06 19:59:15 +02:00
Daniel Baumann
a5a651f08d
Updating live-media checksum names for newer live-boot.
2012-06-05 17:40:52 +02:00
Daniel Baumann
59ec07d99a
Removing grub-efi from d-i packages for the time being, it doesn't work correctly yet.
2012-06-05 12:59:53 +02:00
Daniel Baumann
328222f8c7
Moving local includes from auto/{functions,scripts} to local/{functions,scripts} where they belong.
2012-06-04 11:55:22 +02:00
Daniel Baumann
434307c22d
Updating cache directory names to consistent naming scheme.
2012-06-04 11:55:22 +02:00
Daniel Baumann
ead507b47c
Making firmware package assembling a bit more robust.
2012-06-04 11:55:18 +02:00
Daniel Baumann
4007e00a56
Adding grub-efi to static list of packages for the d-i pool for amd64.
2012-06-04 11:54:14 +02:00
Daniel Baumann
aa0c0fb107
Renaming internal .stage to .build for consistency within the configuration tree.
2012-06-03 22:42:41 +02:00
Daniel Baumann
a666a80a4f
Renaming config/binary_debian-installer-includes to config/includes.binary_debian-installer for consistency with the other include directories.
2012-06-03 08:27:16 +02:00
Daniel Baumann
75a671efca
Allowing to use comments in config/environment.{binary,chroot}.
2012-05-31 13:16:19 +02:00
Daniel Baumann
7ce43cfc16
Allowing to inject variables through config/environment.binary into the binary environment.
2012-05-31 13:15:18 +02:00
Daniel Baumann
dc6b3d90da
Moving firmware symlink creation to the end of binary_debian-installer in order to ensure to take only the latest packages into account that get into the image, regardless if they come from the archive or are localy included.
2012-05-31 13:04:55 +02:00
Daniel Baumann
5e91eadadc
Naming resulting binary isohybrid image binary.hybrid.iso from now on for consistency with the different hdd images later on.
2012-05-25 19:25:38 +02:00
Daniel Baumann
626b9923f7
Correcting renaming of syslinux files in progress mode to actually work.
2012-05-25 19:13:20 +02:00
Daniel Baumann
69194996f7
Using /boot on live media instead of /isolinux or /syslinux in progress mode.
2012-05-23 07:22:51 +02:00
Daniel Baumann
f759856a78
Correcting typo in binary_rootfs to restore 'plain' live filesystem support.
2012-05-23 07:19:19 +02:00
Daniel Baumann
224a2304c8
Adding failsafe entries for syslinux bootloaders in embedded configs.
2012-04-29 09:30:50 +02:00
Daniel Baumann
58cb79b8cd
Transforming failsafe boot parameter into an own option.
2012-04-27 20:31:49 +02:00
Daniel Baumann
0af78a1f67
Slight reordering in lb_binary_debian-installer.
2012-04-27 00:20:40 +02:00
Daniel Baumann
678f2c1cfb
Adding symlinks in /firmware for debian-installer on live media.
2012-04-26 23:37:56 +02:00
Daniel Baumann
4eec1db12f
Updating static list of live specific packages that get unconditionally added and included in the source images.
2012-04-26 23:08:15 +02:00
Daniel Baumann
53898caf1f
Also include firmware-linux meta package if non-free is enabled.
...
While the actual firmware packages are automatically detected,
it is handy to have the firmware-linux meta package included
if non-free is enabled. That way, future upgrades to newer kernels
will keep having all available firmware packages pulled in too.
2012-04-26 23:02:53 +02:00
Daniel Baumann
4a182167c7
Automatically preseed some known firmware packages.
2012-04-26 22:56:57 +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
add95845d9
Removing 'frozen' symlink in d-i dists, the other suitnames can probably go to.
2012-04-26 22:28:50 +02:00
Daniel Baumann
ee4838878f
Generating package indices for the detected sections within binary pool, needed for proper firmware package placement.
2012-04-26 22:28:50 +02:00
Daniel Baumann
e5b2325f2c
Installing packages into their detected sections within binary pool, needed for proper firmware package placement.
2012-04-26 22:28:50 +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
1361d324e1
Adding memtest to the list of options appended in fail-safe mode.
2012-04-21 10:47:13 +02:00
intrigeri
f3b93ad321
Adding nosplash to the list of options appended in fail-safe mode.
2012-04-18 16:24:56 +02:00
Daniel Baumann
5cfd66788e
Correcting destination directory for extraction of the gfxboot-theme in ubuntu mode.
2012-04-17 21:52:07 +00:00
Daniel Baumann
02a0e0b64f
Temporarily including bzip2 manually when bootstrapping until #657560 has been fixed in unstable.
2012-04-11 09:01:24 +02:00
Daniel Baumann
73682ba57a
Correcting regression in the form of a wrong path in binary_syslinux for syslinux theme packages.
2012-04-10 10:53:22 +02:00
Daniel Baumann
f3f9ad8bde
When removing fstab for live-installer also touch an empty file for it to avoid other packages failing on non-existing fstab.
2012-04-06 12:10:04 +02:00
Daniel Baumann
805cebe2e4
Prefering default modules in initrd even on netboot images ( Closes : #667594 ).
2012-04-05 10:24:40 +02:00
Daniel Baumann
544bde3039
Moving kernel and initrd into tftpboot directory for netboot images.
2012-04-04 21:19:15 +02:00
Daniel Baumann
8fa786ba89
Avoid calling update-initrd in lb_chroot_hacks if the target system has no initrd, thanks to Hector Oron <zumbi@debian.org>.
2012-03-07 18:12:26 +01:00
Daniel Baumann
e5f5af6525
Adding architecture to the output message when running lb_config.
2012-03-03 13:05:29 +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
b7a0d88db0
Removing warning about resolvconf package, not be needed anymore.
2012-02-07 13:31:41 +01:00
Daniel Baumann
7f91738540
Correcting destination path for uuid.conf when using casper in binary_disk, thanks to Luigi Capriotti <l.capriotti@xbmc.org> ( Closes : #658995 ).
2012-02-07 10:12:52 +01:00
Daniel Baumann
17b425e9bd
Correcting lzcat call in binary_disk to not bail out due to non-standard file extension (unknown suffix -- unchanged), thanks to Luigi Capriotti <l.capriotti@xbmc.org> ( Closes : #658995 ).
2012-02-07 10:11:31 +01:00
Daniel Baumann
b1c3aecd28
Handling /etc/resolv.conf even if it's a dangling symlink like with resolv.conf, thanks to Stephane Graber <stgraber@ubuntu.com> ( Closes : #657640 ).
2012-02-07 10:04:51 +01:00
Daniel Baumann
3004ef6851
Shortening kernel and initrd filenames in /live again similar to what we did with in lenny.
...
Unfortunately, syslinux as of wheezy and newer apparently does not support
long filenames anymore. Therefore, we do have to shorten the filenames
from:
/live/vmlinuz-3.2.0-1-amd64
/live/initrd.img-3.2.0-1-amd64
to:
/live/vmlinuz
/live/initrd.img
In case more than one kernel flavour is used, the files are being
numbered, starting with vmlinuz1 and initrd1.img.
2012-02-06 23:17:23 +01:00
Daniel Baumann
3f62ac0a3d
Cleaning up handling of apt preferences when building in progress mode.
2012-02-06 23:15:13 +01:00
Daniel Baumann
bd9b635a0a
Simplyfing automatic pinning in derivative modes.
2012-02-06 23:15:13 +01:00
Daniel Baumann
d9a0202d1b
Dereferencing potential symlinked apt preference files in chroot_apt/*.pref.
2012-02-06 23:15:13 +01:00
Daniel Baumann
7e1fc7431c
Avoid removing populated apt preferences file in derivative mode.
2012-02-06 23:15:13 +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
9c9cdbbb33
Removing useless top-comment for /etc/apt/preferences.d/progress.pref.
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
335b5d0352
Using /etc/apt/sources.list.d/debian.list instead of /etc/apt/sources.list in derivative mode.
2012-02-06 23:15:11 +01:00
Daniel Baumann
cc9fb10e25
Removing removal of bootstrap-base udeb in binary_debian-installer.
...
If both bootstrap-base and live-installer are available on the installer,
live-installer is prefereded by d-i (because of the live specific .disk info).
If live-installer is included, can be disabled with live-installer/enable=false
and d-i will use bootstrap-base in order to debootstrap the base system on
/target.
2012-02-06 23:15:11 +01:00
Daniel Baumann
d2944e4341
Renaming forgotten binary_packagelists to binary_package-lists to match the rest of lb.
2012-02-06 23:15:11 +01:00
Daniel Baumann
2bcb8b67e4
Avoid warning messages in binary_packagelists for not existing local lists.
2012-02-06 23:15:11 +01:00
Daniel Baumann
0b6d68ce73
Adding note about 404 errors that are on purpose when fetching udebs in derivative mode.
2012-02-06 23:15:11 +01:00
Daniel Baumann
7b99b1a9e9
Giving a note about what mode we are configuring, now that mode is determined automatically based on the host system.
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
Colin Watson
3a75594b8c
Print the current time before starting a command with the lb wrapper script ( Closes : #630089 ).
2012-01-12 22:22:57 +01:00
Daniel Baumann
dce7b385ba
Using syslinux payload as fallback in lb_binary_syslinux if no destinct image type could be deduced ( Closes : #655562 ).
2012-01-12 12:34:53 +01:00
Daniel Baumann
2eab8fec68
Correcting wrong and incompatible loop for casper initrds in binary_disk.
2012-01-12 11:57:45 +01:00
Matthijs Kooijman
93a18b9cad
Unmount chroot/root/config when running lb_clean.
2012-01-10 21:54:58 +01:00
Matthijs Kooijman
58209e8bd8
Use a two-stage mount again for mounting config inside chroot in lb_chroot_hooks.
...
This reverts part of cacf9b6e34
(but also adds a "bind" option to the
remount command, as documented in mount(8)).
Apparently, doing "mount -o bind,ro" doesn't work. It outputs:
mount: warning: chroot/root/config seems to be mounted read-write.
and mounts read-write instead of read-only. This behaviour is
documented in mount(8). Newer kernels do seem to allow
combining bind with the read-only option (see mount(2)), but this does
not seem to work (possibly because mount is trying to be smart).
2012-01-10 21:54:58 +01:00
Matthijs Kooijman
e7ecf56be3
Make the config available to all hooks.
...
Previously, the config was bindmounted inside the chroot only for hooks
from the config dir, now it is done earlier so it is available for all
hooks.
Note that it is now also done if there are no hooks, but this is
probably enough of an exception case to not warrant the extra plumbing
required to detect the case (and doing an extra bindmount shouldn't
really hurt anyway...).
2012-01-10 21:54:58 +01:00
Matthijs Kooijman
ea491a1a1a
Fix pathname for running hooks in lb_chroot_hooks.
...
lb_chroot_hooks would copy the hooks to run to
chroot/root/lb_chroot_hooks, but then try to run them from chroot/root
(which obviously fails). This means lb_chroot_hooks has not been working
for hooks from /usr/share/live/build/hooks since lb_chroot_hooks was
added in revision e4793268
. Running hooks from the config directory was
unaffected.
2012-01-10 21:54:58 +01:00
Matthijs Kooijman
dbe6a82bc0
Make lb_chroot_hooks work with dash.
...
Apparently, dash doesn't expand shell patterns within a quoted string,
whereas bash does. We can't remove the quoting entirely, though, since
that would cause problems when $LB_BASE or $_HOOK contains spaces (note
that $_HOOK can probably never contain spaces, but let's handle it just
in case). Only quoting the expansion of $LB_BASE and $_HOOK, but not the
shell pattern should make the hooks work with both bash and dash again.
2012-01-10 21:54:58 +01:00
Daniel Baumann
ecbcdaa784
Using xz compression for squashfs only on wheezy and sid for the moment, not artax-backports.
2012-01-07 20:25:54 +01:00
Daniel Baumann
6bb4a22152
Adding temporary hack with pinning to avoid squashfs-tools mismatch for artax-backports.
2012-01-07 20:18:43 +01:00
Daniel Baumann
e05fa004ff
Correcting assembling of automatic pinning in progress mode.
2012-01-07 19:59:55 +01:00
Daniel Baumann
e3c9db7a2b
Fix unconditional overwriting of /etc/apt/preferences.d/progress.pref in progress mode.
2012-01-07 19:59:55 +01:00
Daniel Baumann
ac004b56d2
Adding support for apt preference.d in config/chroot_apt.
2012-01-07 19:59:53 +01:00
Matthijs Kooijman
4581e49d4e
Fixing lb_binary_rootfs leaving the chroot without archives files.
2012-01-03 21:08:34 +01:00
Daniel Baumann
e57e3a2bac
Creating progress specific disk info files in progress mode.
2011-11-29 16:28:17 +01:00
Daniel Baumann
4272857617
Removing --tasks leftovers in lb_config.
2011-11-02 13:10:54 +01:00
Daniel Baumann
fda0dfab52
Adding temporary manual setting of d-i urls for progress.
2011-10-30 09:49:41 +01:00
Daniel Baumann
2c1c76edcf
Bail out early in lb_source if source is disabled ( Closes : #646807 ).
2011-10-27 21:58:16 +02:00
Daniel Baumann
0da0a10a95
Also strip out source archives from local archive definitions when using --apt-source-archives false.
2011-10-13 17:44:00 +02:00
Daniel Baumann
e9a5afc6cc
Deal with non-existing preseed files in config tree.
2011-10-13 09:38:32 +02:00
Daniel Baumann
b0454ad434
Correcting wrong location when looking for local preseed files in config tree, thanks to Eugenio Paolantonio <me@medesimo.eu> ( Closes : #645116 ).
2011-10-13 09:38:32 +02:00
Ben Howard
d90c311ef9
Adding foreign bootstrap via qemu for cross arch building.
2011-10-05 07:38:53 +02:00
Daniel Baumann
5ec41753cc
Adding bug number to comments when moving top-level sources.list.
2011-10-03 12:38:59 +02:00
Ben Howard
0b654837bb
Adding check for missing mtab during chrooted binary rootfs stage.
2011-10-01 08:04:57 +02:00
Daniel Baumann
fc0d34a31b
Making top sources.list conditional, not everyone necessarily always uses that.
2011-09-30 15:42:51 +02:00
Daniel Baumann
cf4f1c8ace
Treating sources.list top-level file specially to workaround bug in apt that makes sources.list.d sources to be never prefered over main sources.list when using pinning ( Closes : #573054 ).
2011-09-30 15:26:34 +02:00
Colin Watson
5b7adeab62
Copying gfxboot theme when building for Ubuntu.
2011-09-30 12:10:58 +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
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
Daniel Baumann
957cdb7cfe
Using 'none' instead of 'plain' when specifying that no chroot filesystem should be used.
2011-09-28 11:17:47 +02:00
Daniel Baumann
da0801ebf4
Correcting indenting glitch in lb_binary_chroot.
2011-09-28 11:12:00 +02:00
Daniel Baumann
432402e32b
Renaming and reworking previous chroot_local-preseed into chroot_preseed, now looking for config/preseed/*.preseed{,.chroot} files.
2011-09-28 10:11:50 +02:00
Daniel Baumann
fbc5aa8291
Removing unused global chroot_preseed.
2011-09-28 09:46:09 +02:00
Daniel Baumann
c2b7c107a5
Correcting check for debian-installer-distribution when using daily images in non-derivatives mode.
2011-09-28 07:26:02 +02:00
Daniel Baumann
4b990a72eb
Correcting typo in config/includes.chroot creating in lb_config, thanks to Stanislav Bogatyrev <realloc@realloc.spb.ru> for reporting it.
2011-09-27 22:41:56 +02:00
Daniel Baumann
3eeac2e0be
Removing leftovers from usb-hdd to hdd removal in lb_binary_hdd and lb_source_hdd.
2011-09-20 12:27:33 +02:00
Daniel Baumann
dcfbfc8f8b
Correcting incomplete checks for local packages in lb_binary_debian-installer.
2011-09-14 21:44:04 +02:00
Daniel Baumann
358b865e48
Renaming forgotten lb_binary_usb and lb_source_usb to lb_binary_hdd resp. lb_source_hdd.
2011-09-14 21:30:34 +02:00
Daniel Baumann
b1cfba42e7
Making sure that volatile for the parent distribution is still included in derivatives mode.
2011-09-14 21:02:17 +02:00
Daniel Baumann
ad269a6b71
Updating volatile handling in chroot_archives for derivatives when using foo-backports distribution scheme.
2011-09-14 20:43:20 +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
bb718340e2
Adding option for setting filesystem label on usb-hdd images.
2011-09-12 09:19:30 +02:00
Daniel Baumann
c2633d2405
Correcting syntax error in local package handling.
2011-09-07 17:37:37 +02:00
Daniel Baumann
9119f24831
Also respect config/packages for packages to be installed in both chroot and binary.
2011-09-07 17:33:53 +02:00
Daniel Baumann
f8a313ac93
Updating lb_config for config/packages.binary.
2011-09-07 16:41:40 +02:00
Daniel Baumann
04f93bf254
Using config/packages.binary instead of config/binary_local-udebs.
2011-09-07 16:39:37 +02:00
Daniel Baumann
d218383d83
Using config/packages.binary instead of config/binary_local-debs.
2011-09-07 16:37:58 +02:00
Daniel Baumann
039df15831
Using config/includes.binary rather than config/binary_local-includes.
2011-09-07 16:33:53 +02:00
Daniel Baumann
c1169e2491
Setting origin in apt release files for local packages to config/packages.chroot.
2011-09-07 16:02:03 +02:00
Daniel Baumann
0a32c8b6c0
Renaming lb_chroot_packagelists to lb_chroot_package-lists so that helper matches directory.
2011-09-07 16:00:52 +02:00
Daniel Baumann
e82aa25134
Renaming config/chroot_packages to config/packages.chroot.
2011-09-07 15:59:48 +02:00
Daniel Baumann
805fc35877
Improving messages when saving and restoring stage caches ( Closes : #589728 ).
2011-09-07 15:52:23 +02:00
Daniel Baumann
fae160f87a
Copying chroot.packages.live to binary.packages.
2011-09-07 15:35:37 +02:00
Daniel Baumann
046095cffa
Renaming lb_chroot_local-includes into lb_chroot_includes and check for includes in config/includes.chroot.
2011-09-07 15:16:23 +02:00
Daniel Baumann
dd853aa5d9
Renaming forgotten lb_binary_local-packagelists to lb_binary_packagelists.
2011-09-07 15:10:09 +02:00
Daniel Baumann
fa0ba13de6
Renaming binary.packages list files (that contain what package is installed in the chroot) to chroot as they are build during chroot stage, this fixes some rebuild issues.
2011-09-07 15:08:14 +02:00
Daniel Baumann
ed5212022c
Completing the restoring of the outer chroot when building in chrooted to not taint subsequent rebuilds of the binary stage with leftovers from the initial lb_binary_rootfs ( Closes : #620953 ).
2011-09-07 14:48:25 +02:00
Daniel Baumann
dfaa4a67b5
Doing uuid.conf extraction from initrd with the correct decompression utility ( Closes : #637979 ).
2011-09-07 14:16:05 +02:00
intrigeri
76a6831e0f
Fixing typos brought in by ext4 support patch.
2011-08-26 00:23:09 +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
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
78b10b2bd2
Merging in last bit of lb_chroot_local-packages into lb_chroot_archives ( Closes : #635046 ).
2011-08-16 20:55:47 +02:00
Daniel Baumann
2af22aa1c4
Unifying lb_chroot_packagelists and lb_chroot_local-packagelists.
2011-08-16 20:49:36 +02:00
Daniel Baumann
fd344cdbed
Correcting wrong variables in volatile handling for derivatives.
2011-08-16 08:40:27 +02:00
Daniel Baumann
557e4c365b
Also guarding key additions for local configured archives to not fail if no key is supplied.
2011-08-09 13:05:29 +02:00
Daniel Baumann
eedfa8e5ce
Guarding archives handling with an additional check to prevent ugly message about files not existing.
2011-08-08 12:39:43 +02:00
Daniel Baumann
fabdcdcd13
Removing left-over mentioning of lb_binary_local-hooks instead of lb_binary_hooks in lb_binary.
2011-08-08 08:10:10 +02:00
Daniel Baumann
724f5b4dc8
Also using definition files without suffix (so that e.g. foo.list is used for both chroot and binary stage).
2011-08-08 08:10:07 +02:00
Daniel Baumann
8a0da57266
Reverse keywords in suffix of the package list files for consistency.
...
Previously, config/package-lists/foo.{binary,chroot}.list was used,
now we use config/package-lists/foo.list.{binary,chroot}.
That way, we're using the same single suffix for all files to make
them specific for either binary and chroot, rather than having
an exception to the rule for package list files.
2011-08-05 08:40:03 +02:00
Daniel Baumann
a51393f49b
Reverse keywords in suffix of the archive definition files for consistency.
...
Previously, config/archives/foo.{binary,chroot}.{key,list} was used,
now we use config/archives/foo.{key,list}.{binary,chroot}.
That way, we're using the same single suffix for all files to make
them specific for either binary and chroot, rather than having
an exception to the rule for archive definitions.
2011-08-05 08:28:45 +02:00
Daniel Baumann
a56cc98f12
Removing -r from short options in lb_config ( Closes : #636208 ).
2011-08-04 21:32:02 +02:00
intrigeri
d8ac62a9ec
Cleaning up temporary directories at the same time as other cruft.
2011-08-04 19:46:35 +02:00
Daniel Baumann
17283e776f
Correcting typo in lb_config for program variable, thanks to intrigeri <intrigeri@boum.org>.
2011-07-26 14:49:29 +02:00
Daniel Baumann
cacf9b6e34
Simplify bind mounting of the config tree during local hooks are run by using read-only bind mounts.
2011-07-25 18:05:40 +02:00
Daniel Baumann
6b63effdff
Using 'live' rather than 'incomplete' for cd_type in .disk on images that include debian-installer with live-installer udeb.
2011-07-25 17:15:17 +02:00
Daniel Baumann
2a5263cb39
Updating grub packages list in binary_debian-installer.
2011-07-25 17:13:32 +02:00
Daniel Baumann
cfd7f3103b
Adding mdadm manually to extra packages for binary pool for being used by debian-installer ( Closes : #607225 ).
2011-07-24 09:19:42 +02:00
Cody A.W. Somerville
50816947a7
Making config tree available to chroot hooks.
2011-07-21 18:35:56 +02:00
Cody A.W. Somerville
e01424a1f2
Adding paths for remote debian-installer images on armel.
2011-07-21 17:58:21 +02:00
Daniel Baumann
8316bd2d98
Correcting uuid extraction from initrds in ubuntu mode to work from within binary so that it is cleaned up by lb_clean on failed builds.
2011-07-21 17:24:08 +02:00
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
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
Daniel Baumann
251b0ae47f
Simplyfing grub-mkimage legacy handling for lenny in lb_binary_iso.
2011-03-09 19:17:33 +01:00
Luigi Capriotti
218610081a
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:17:33 +01:00
Daniel Baumann
2ddc0cef5d
Updating year in manpage, hooks, script and template files.
2011-03-09 19:17:33 +01:00
Daniel Baumann
8f935ee3e0
Updating help function in lb for live-build.
2011-03-09 19:17:32 +01:00
Cody A.W. Somerville
327b0ff6e0
Fixing numbering of live kernels and initrd files when using syslinux.
2011-03-09 19:17:32 +01:00
Daniel Baumann
48f6f2105f
Removing last live-helper remains in internal variables.
2011-03-09 19:17:31 +01:00
Daniel Baumann
34ae9036e6
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:17:31 +01:00
Ben Armstrong
f10c468359
Adding '--includes none' documentation in help and man page.
2011-03-09 19:17:31 +01:00
Ben Armstrong
eece05b62c
Updating lb config --help and man page.
2011-03-09 19:17:30 +01:00
Daniel Baumann
5259592747
Once again updating volatile urls for squeeze.
2011-03-09 19:17:30 +01:00
Daniel Baumann
819f3d7e43
Applying slightly modified patch from Michael Hudson <michael.hudson@canonical.com> to make arguments in debootstrap calls more robust.
2011-03-09 19:17:29 +01:00
Daniel Baumann
1459914e2f
Replacing last occurences of lh with lb.
2011-03-09 19:17:29 +01:00
Daniel Baumann
b25af8dbda
Simplyfing ssh host key removal.
2011-03-09 19:17:28 +01:00
Daniel Baumann
9929ea9183
Enabling removal of ssh host keys, they are regenerated by live-config.
2011-03-09 19:17:28 +01:00
Daniel Baumann
bb828f5284
Also including auxiliary packages in d-i pool ( Closes : #604551 ).
2011-03-09 19:17:28 +01:00
Daniel Baumann
61efbfcd8f
Correcting quoting of auto calls, thanks to Andreas Loibl <andreas@andreas-loibl.de>.
2011-03-09 19:17:28 +01:00
Daniel Baumann
dcaf8b020b
Updating volatile urls for squeeze.
2011-03-09 19:17:28 +01:00
Daniel Baumann
4914f5a041
Making d-i indices copying depending on binary image type.
2011-03-09 19:17:28 +01:00
Ben Armstrong
cfc2b0da1f
Fixing typo in symlink on fat workaround.
2011-03-09 19:17:28 +01:00
Daniel Baumann
4ab3d144d9
Workarounding symlink on usb-hdd when including debian-installer and using vfat filesystems.
2011-03-09 19:17:28 +01:00
Daniel Baumann
bd7ecce4cb
Removing dpkg-tmpfs hack, this is too intrusive atm.
2011-03-09 19:17:27 +01:00
Daniel Baumann
34c33a10ea
Updating special handling for backports.
2011-03-09 19:17:26 +01:00
intrigeri
cabb8315ce
Fixing squashfs.sort location with --build-with-chroot false.
2011-03-09 19:17:25 +01:00
Daniel Baumann
0f72856a5e
Also using gdm legacy hack on xfce-desktop default images.
2011-03-09 19:17:25 +01:00
Daniel Baumann
b887266fa0
Handling live.debian.net repository differently, so that ubuntu people can use it too.
2011-03-09 19:17:25 +01:00
Daniel Baumann
c4a0b64df3
Avoid using bashism when handling codename/suite mapping for debian-installer release file.
2011-03-09 19:17:24 +01:00
Daniel Baumann
6fd9b06fb2
Also correcting version number in debian-installer release file.
2011-03-09 19:17:24 +01:00
Otavio Salvador
f7de27c03b
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:17:24 +01:00
Otavio Salvador
fc58666619
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:17:24 +01:00
Daniel Baumann
c2f8b6a8ce
Removing d-i hacks, should be fixed with newer live-installer.
2011-03-09 19:17:24 +01:00
Daniel Baumann
a49052630a
Correcting wrong stage file in lb_chroot_interactive.
2011-03-09 19:17:24 +01:00
Daniel Baumann
e62dd620ea
Adding squeeze-backports as valid distribution codename in lb_config.
2011-03-09 19:17:24 +01:00
Daniel Baumann
d143e606fb
Not fail if /dev/random is not available in chroot, newer debootstrap seems not to create it anymore.
2011-03-09 19:17:24 +01:00
Daniel Baumann
6e18050ec6
Using the same path for win32-loader in squeeze as in sid as it has finally migrated some time ago.
2011-03-09 19:17:24 +01:00
Hector Oron
102c91573f
Fixing bpo debian-maintainers.org typo ( Closes : #597715 ).
2011-03-09 19:17:24 +01:00
Daniel Baumann
241639f400
Also adding kbd to debian-installer packages.
2011-03-09 19:17:24 +01:00
Daniel Baumann
5d19733281
Also handling console related packages in debian-installer when live-installer is used.
2011-03-09 19:17:24 +01:00
Daniel Baumann
64e9c9eb6a
Adding consle-setup and keyboard-configuration manually to package pool for debian-installer in order to workaround a flawed debian-installer change in squeeze.
2011-03-09 19:17:24 +01:00
Daniel Baumann
799cb2abef
Also only respecting packages lists with .list suffix in binary_local-packageslists for consistency.
2011-03-09 19:17:24 +01:00
Daniel Baumann
47b9398782
Making rmdir calls on cleanups more robust.
2011-03-09 19:17:23 +01:00
Daniel Baumann
5bfb0b2b5b
Using short boot parameter 'config' to enable live-config, requires live-config 2.0.7.
2011-03-09 19:17:23 +01:00
Daniel Baumann
76730930c9
Correcting typo in binary sources.list creating.
2011-03-09 19:17:23 +01:00
Daniel Baumann
db013cdde0
Allowing also symlinks in chroot_local-packages ( Closes : #593186 ).
2011-03-09 19:17:23 +01:00
Daniel Baumann
e02b31b73b
Also populating config tree automatically when calling other top-level commands apart from lb_build.
2011-03-09 19:17:23 +01:00
Daniel Baumann
916ee6c975
Updating kernel images number when installing them into live media.
2011-03-09 19:17:23 +01:00
Daniel Baumann
4a50568daa
Correcting to narrow pattern for counting kernel images ( Closes : #581252 ).
2011-03-09 19:17:23 +01:00
Daniel Baumann
b71f9dd0c8
Correcting freudian typo when reading in config files.
2011-03-09 19:17:23 +01:00
Daniel Baumann
c1bd2bed0d
Adding support for inclusion of the debian-backports repository.
2011-03-09 19:17:23 +01:00
Daniel Baumann
3bec92e921
Correcting typo in lb_config when cleaning up auto/config.
2011-03-09 19:17:23 +01:00
Daniel Baumann
310ef68036
Fixing lb_binary_syslinux to add quiet for the default live entries.
2011-03-09 19:17:23 +01:00
Daniel Baumann
1858362d78
Adding somewhat prettier header in /etc/apt/sources.list.
2011-03-09 19:17:22 +01:00
Daniel Baumann
8c155c17c8
Updating auto/scripts handling.
2011-03-09 19:17:22 +01:00
Daniel Baumann
ee8f3c73b9
Avoid running helpers twice when using auto ( Closes : #584884 ).
2011-03-09 19:17:22 +01:00
Daniel Baumann
9f865fce29
Prefixing helper scripts to make 'out of source' usage usable ( Closes : #572455 ).
2011-03-09 19:17:22 +01:00
Daniel Baumann
608f11e2cc
Updating path in local helper for live-build.
2011-03-09 19:17:22 +01:00
Daniel Baumann
88e6a4c433
Correcting --clean handling in lb_config.
2011-03-09 19:17:21 +01:00
Daniel Baumann
c47ce2ee03
Moving location of the global configuration file from /etc/default/live-build to /etc/live/build.conf resp. /etc/live/build.d/.
2011-03-09 19:17:21 +01:00
Daniel Baumann
83bc63f725
Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename.
2011-03-09 19:17:21 +01:00
Daniel Baumann
a81b689509
Also deconfiguring /etc/hosts when using debootstrap to bootstrap system.
2011-03-09 19:17:20 +01:00
Daniel Baumann
b37dd32db4
Adding support for standalone live-boot as initramfs generator.
2011-03-09 19:17:20 +01:00
Daniel Baumann
e692031775
Updating gdm handling for lxde.
2011-03-09 19:17:20 +01:00
Daniel Baumann
4b84f354bf
Updating internal calls to use live-build instead of live-helper.
2011-03-09 19:17:19 +01:00
Daniel Baumann
91cd05cba9
Replacing some more references to live-helper with live-build in scripts.
2011-03-09 19:17:19 +01:00
Daniel Baumann
ce4581282e
Replacing some references to live-helper with live-build.
2011-03-09 19:17:18 +01:00
Daniel Baumann
4d22ca948a
Updating copyright headers for live-build.
2011-03-09 19:17:18 +01:00
Daniel Baumann
c210b8ae44
Moving /usr/share/live-helper to /usr/share/live/build.
2011-03-09 19:17:17 +01:00
Daniel Baumann
b7f609e654
Adding slightly modified patch from Cody A.W. Somerville <cody.somerville@canonical.com> to extract casper uuid file from casper initrds.
2011-03-09 19:17:17 +01:00
Daniel Baumann
6a12b2dfd5
Setting default desktop for tasksel when installing package tasks to avoid ending up with a pulled in gnome in all cases, thanks a lot to Ben Armstrong <synrg@debian.org> for finding this solution.
2011-03-09 19:17:17 +01:00
Chris Lamb
1ebf50084b
Fix LH_INTERACTIVE switch statement.
2011-03-09 19:17:17 +01:00
Chris Lamb
ff9b1446b4
Run chroot stage with /var/lib/dpkg mounted as a tmpfs
...
Idea from Thomas Lange and FAI. Speedup in my testcase (standard image)
is 3m00 => 2m50, probably much better improvements for the desktop image
clients.
2011-03-09 19:17:16 +01:00
Daniel Baumann
06ae58e7a0
Making cp calls for syslinux templates recursive, thanks to Tiago Bortoletto Vaz <tiago@debian.org>.
2011-03-09 19:17:16 +01:00
Daniel Baumann
74c3ad26d5
Rearranging helpers scripts in source tree.
2011-03-09 19:17:15 +01:00