Commit Graph

508 Commits

Author SHA1 Message Date
Daniel Baumann 5e20937df4 Removing sysvinit when building images with systemd. 2012-10-29 19:45:17 +01:00
Daniel Baumann b7abcb0c01 Shortening initsystem specific hacks for wheezy, systemd on squeeze never was really supported anyway. 2012-10-28 11:46:01 +01:00
Daniel Baumann 74c6a77e5a Removing cruft line breaks in bailout messages for bootstrap tools. 2012-10-27 23:06:52 +02:00
Daniel Baumann 2eaa6eeb71 Removing workaround for #657560 where we had to temporarily include bzip2 into the bootstrapped chroot to avoid sids apt failing on mirrors with bzip2 indices only. 2012-10-26 10:58:54 +02:00
Daniel Baumann 9a33f681fa Removing unecessary removal of apt preferences.
When we rebuild an image with changed local archives,
we would preferably remove the already existing preferences files.
However, there's no way to make sure that we remove enough or too
much, hence we don't remove any at all and stay with the dogma:

  "If you change something in the config tree affecting $stage,
   you need to rebuild that stage from scratch."

So for pinning changes for local archives, this means, since it's
affecting the chroot stage, we'll have to rebuild the chroot stage:

  "lb clean --chroot && lb chroot"
2012-10-25 14:00:36 +02:00
Daniel Baumann 2caef33ea2 Renaming progress mode to progress-linux to match the used naming scheme. 2012-10-25 13:36:18 +02:00
chals 743cf9775d Addin missing comma in the long debootstrap-options that caused an unrecognized option message. 2012-10-24 14:18:26 +02:00
Daniel Baumann bb86b31b7b Renaming config/includes.binary_debian-installer to simply config/includes.debian-installer. 2012-10-22 20:43:21 +02:00
Daniel Baumann b7c3e69b0d Renaming config/binary_rootfs to simply config/rootfs. 2012-10-22 20:41:40 +02:00
Daniel Baumann f8d11f4698 Avoid creating old left-over directory for custom syslinux splash handing from within the config tree in lb_config. 2012-10-22 20:36:25 +02:00
Daniel Baumann 46de5bb96c Removing support for local grub/grub2 splash image and config manipulations, custom templates should be used instead.
Rather than doing all the heavy lifting in live-build that nobody really
uses and which is quite inflexible, users should (in line with the syslinux
handling) either stick with the default grub configurations, or, supply
a custom one to live-build, rather than partial/single files only.
2012-10-22 20:34:14 +02:00
Daniel Baumann bd5f6bc104 Renaming config/binary_debian-installer to simply config/debian-installer. 2012-10-22 20:30:41 +02:00
Daniel Baumann fe3333bcb6 Renaming config/chroot_apt to simply config/apt.
Eventually lb_chroot_apt will be folded into chroot_archives
but that's left for after wheezy.
2012-10-22 20:27:15 +02:00
Daniel Baumann 1fc33f6afb Renaming local/scripts to local/bin for executables overriding not just lb scripts, but any command during live-build runs. 2012-10-22 19:20:12 +02:00
Daniel Baumann 6caf65efee Removing local/functions functionality, it's not really usefull anyway. 2012-10-22 19:18:06 +02:00
Daniel Baumann ff115e5a88 Removing some left-overs from bootstrap-copy removal in lb config. 2012-10-22 19:14:01 +02:00
Daniel Baumann 65bc289e9b Correcting variable handling for --bootappend-live-failsafe in lb config. 2012-10-08 19:51:23 +02:00
Daniel Baumann 56e4085c60 Making failsafe boot parameters fully customizable like the normal ones. 2012-10-04 14:25:01 +02:00
Michal Suchanek 057d7439ac Allowing to include multiple kernel images but menu entry is generated only for one. 2012-10-03 14:22:47 +02:00
Daniel Baumann 80f3c62290 Removing unsupported and unsupportable bootstrap_copy. 2012-10-03 13:46:22 +02:00
Daniel Baumann 97de0e925e Add missing whitespace when concatenating multiple live.cfg syslinux files. 2012-10-01 05:36:09 +02:00
Daniel Baumann 711d6504f1 Using menu default only once when populating syslinux configurations for more than one kernel flavour (Closes: #682957). 2012-10-01 05:01:18 +02:00
Daniel Baumann fd73a68615 Simplify internal replacement strings when processing syslinux configuration files. 2012-10-01 04:43:14 +02:00
Daniel Baumann 803266d886 Also use .contents suffix for file list of sources images like for binary images, rather than the old .list suffix. 2012-10-01 03:42:20 +02:00
Daniel Baumann b7396abd13 Avoiding warnings when checking for arguments in clean. 2012-09-30 20:29:55 +02:00
Daniel Baumann 26f2278a23 Supporting parent distribution as a variable field in archive definitions. 2012-09-30 20:14:05 +02:00
Daniel Baumann ad31a98bf0 Supporting parent distribution as a variable field in syslinux splashes. 2012-09-30 20:13:42 +02:00
Daniel Baumann 64664bb475 Only producing zsync files for iso and iso-hybrid images. 2012-09-30 17:34:08 +02:00
Daniel Baumann efe7090bdb Simplyfing clean option in lb config. 2012-09-30 15:13:42 +02:00
Daniel Baumann 880e6e0736 Adding slightly modified patch from Adam Conrad <adconrad@ubuntu.com> to remove resolvconf artifacts. 2012-09-30 09:43:58 +02:00
Colin Watson 5e4f7742c5 Fixing execution of binary hooks. 2012-09-30 09:40:01 +02:00
Colin Watson cab0d9e783 If --build-with-chroot is false, run ! lines in package-lists in the host system. 2012-09-30 09:38:17 +02:00
Daniel Baumann 2046ad7fdd Don't turn on xz compression in mksquashfs for ubuntu builds according to Adam Conrad <adconrad@ubuntu.com>. 2012-09-30 09:33:06 +02:00
Colin Watson 01b64bf2b9 Using i386 -generic-pae kernel flavour on Ubuntu precise. 2012-09-30 09:28:55 +02:00
Adam Conrad 7ae630cc43 Switching Ubuntu from powerpc to powerpc-smp kernel. 2012-09-30 09:26:12 +02:00
Daniel Baumann 7fad1b698d Including loadlin on d-i images on amd64 and i386. 2012-09-29 13:23:31 +02:00
Daniel Baumann 6b12a3fb7d Updating win32-loader inclusion handling. 2012-09-29 13:08:14 +02:00
Daniel Baumann 3e72045807 Removing virtual-hdd image type.
Rather than a half broken image type, we'll bet our money on having proper
partman recipies support implemented for hdd image types.

Even if we don't make it for wheezy, it's better to not have virtual-hdd
in there and tell users to use the jessie version for proper hdd images.
2012-09-26 15:36:44 +02:00
Daniel Baumann d86d6cd72c Removing intel-microcode special handling in chroot_linux-image, microcode packages are already included automatically anyway. 2012-09-26 14:43:17 +02:00
Daniel Baumann 9228a0ca66 Renaming volatile options refering to volatile archive to updates to match current archive namings. 2012-09-26 14:43:12 +02:00
Daniel Baumann 017ce07eb4 Correcting cdebootstraps-options typo in getopt, thanks to chals <chals@altorricon.com>. 2012-08-31 15:07:29 +02:00
Daniel Baumann 360621922c Updating base-files hack for plymouth in progress mode. 2012-08-30 08:51:51 +02:00
Daniel Baumann a0a5bbfd1c Dropping lb prefix from live-build scripts, not needed anymore.
Previously, we needed to keep the lb_* prefix as the scripts
could also be executed standalone. Since the lb wrapper is
mandatory since squeeze, we can drop this now.
2012-08-27 16:05:49 +02:00
Daniel Baumann d6e45a3437 Making build.sh sourcing more robust (Closes: #684896). 2012-08-27 16:05:48 +02:00
Daniel Baumann ddd0ef9dc0 Moving aborting when no bootstrap tool is installed from defaults to the respective bootstrap script. 2012-08-27 16:05:46 +02:00
Daniel Baumann b6da4aec04 Removing old LB= hack when wrapper was not mandatory. 2012-08-27 15:16:09 +02:00
Daniel Baumann d0561821e4 Calling local live-build embedded in config directly rather than to adjust path. 2012-08-27 15:03:21 +02:00
Daniel Baumann 80bfaf9f0a Exposing --debootstrap-options and --cdebootstrap-options publicly. 2012-08-27 14:47:10 +02:00
Daniel Baumann d7064dfb27 Applying patch from Colin Watson <cjwatson@ubuntu.com> to correct chroot hooks execution (Closes: #685534). 2012-08-27 14:43:27 +02:00
Daniel Baumann 9b5fc09d0f Removing bootstrap-keyring option. 2012-08-27 14:36:42 +02:00
Daniel Baumann fda74e4307 Removing bootstrap-include and bootstrap-exclude options. 2012-08-27 14:33:57 +02:00
Daniel Baumann df1cea54c5 Removing bootstrap-flavour option (Closes: #685675).
live-build does too much magic that causes too much effort in
maintaining for stuff that hardly everyone uses.

Rather than 'translating' back and forth and maintaining compatibility
between options of different debootstrap and cdebootstrap versions (and
possibly any other in the future), it's is better to 'off-load' this to
the user.

For non-live specific options passed to the bootstrap tools, we'll
be introducing --debootstrap-options and --cdebootstrap-options
where users can specify their additional options passed to the
respective bootstrap tool, rather than us maintaining them in a
'hardcoded' and selected list.
2012-08-27 14:26:11 +02:00
Daniel Baumann 6cb824c187 Improving check for missing apt-ftparchive to check for the actual file, rather than to check for a possible missleading bootstrap flavour. 2012-08-27 14:07:34 +02:00
Daniel Baumann d8d5366a6c Using /etc/live/build/*.conf instead of /etc/live/build.d/*.conf for consistency reasons. 2012-08-24 11:38:24 +02:00
Daniel Baumann 9820490ca6 Switching back to use the more common ${@} instead of ${*}, it's not required in current lb_clean anymore. 2012-08-24 11:38:13 +02:00
Daniel Baumann dd31503960 Correcting wrong path to syslinux configuration files when using live-build from a local git clone, thanks to Raphael Hertzog <hertzog@debian.org> (Closes: #684893). 2012-08-14 15:36:38 +02:00
Daniel Baumann 2023579e88 Correcting typo in binary_syslinux when writing the flavour name to the config files (Closes: #684865). 2012-08-14 10:50:20 +02:00
Daniel Baumann c68e06fb6b Simplyfing sourcing of build.sh and getting away with the broken subshell construct. 2012-08-13 12:23:34 +02:00
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