Commit Graph

450 Commits

Author SHA1 Message Date
Daniel Baumann bfd14cf38d Also removing binary.netboot.tar.xz before re-creating it in binary_netboot. 2012-08-07 06:57:21 +02:00
Daniel Baumann 281e42d267 Concentrating all parted calls within lb_binary_hdd into one place in order to make things simpler. 2012-07-31 19:30:59 +02:00
Daniel Baumann 1eabc72682 Removing chroot_local-patches, too much overhead for just applying patches (notably, with -p1 enforced), hooks are more flexible anyway. 2012-07-30 18:19:28 +02:00
Daniel Baumann 508510e097 Updating GPL standard header in all files. 2012-07-30 18:19:27 +02:00
Daniel Baumann 913c6037af Adding shortcut helper for dctrl-tools.
This 'Packages' shortcut helper can be used for simplified
usage of grep-aptavailable from dctrl-tools.

Rather than needing to specify the following explicit command:

  ! grep-aptavail -n -sPackage -FPriority standard

in package lists, the following shortcut can be used:

  ! Packages Priority standard
2012-07-30 18:19:23 +02:00
Daniel Baumann a48c974c9c Avoid showing message in lb config running the second time through auto on git repository based config trees. 2012-07-30 01:19:05 +02:00
Daniel Baumann da30397e4b Automatically update auto/config when using --config with extra options. 2012-07-30 00:33:33 +02:00
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