Commit Graph

343 Commits

Author SHA1 Message Date
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