Commit Graph

1193 Commits

Author SHA1 Message Date
Daniel Baumann 7e633e77f2 Moving grub and grub2 templates into shared bootloader config directory. 2015-04-29 07:52:56 +02:00
Daniel Baumann ed197cd852 Overwriting reather than appending content of autorun.inf (Closes: #777359). 2015-04-28 07:58:16 +02:00
Daniel Baumann d0219db4cf Calling lb config in lb build to support building a all-default-image with a simple lb build (Closes: #778327). 2015-04-28 07:58:16 +02:00
Daniel Baumann b1a8ae2e7c Correcting wrong tar command for tarball images, thanks to Yadickson Soto <yadickson@gmail.com> (Closes: #780627). 2015-04-28 07:58:16 +02:00
Daniel Baumann d32a3ed292 Removing temporary hack to exclude prism2-usb-firmware-installer, the download homepage seems to work again (Closes: #783433). 2015-04-27 07:50:52 +02:00
Daniel Baumann 319866567a Applying patch from jnqnfe <jnqnfe@gmail.com> to correct grub2 bootloader directory within the binary images (Closes: #775316). 2015-02-07 06:56:34 +01:00
Daniel Baumann 0c94983071 Using same logic to create the source/.disk/archive_trace for binary/.disk/archive_trace too (Closes: #774200). 2015-02-07 06:50:28 +01:00
Daniel Baumann e51315ae1e Switching to default to linux-image-586 on i386. 2015-01-26 06:30:49 +01:00
Daniel Baumann 673a8da58b Using -iso-level 3 option for xorriso to work with image sizes beyond 4 GB (Closes: #775424). 2015-01-25 12:17:50 +01:00
Daniel Baumann 1cb6743d1c Correcting typo in stagefile check for includes.chroot. 2015-01-25 10:27:26 +01:00
Daniel Baumann 1b4424f72f Adding check for isolinux build-depends in chroot. 2015-01-07 10:57:00 +01:00
Daniel Baumann affa96f63e Removing spurious .grep.swp temporary file in source tree. 2015-01-05 18:36:12 +01:00
Daniel Baumann 242aef5d83 Updating year in copyright notices to 2015. 2015-01-04 20:05:44 +01:00
Daniel Baumann 1354704cad Dropping manual include of dbus for live-config-systemd, it's a recommends now. 2015-01-04 19:53:11 +01:00
Daniel Baumann 2309994612 Correcting dependency checks in binary_package-lists (Closes: #774336). 2015-01-04 19:50:58 +01:00
Daniel Baumann 90024a0391 Applying slightly modified patch from jnqnfe <jnqnfe@gmail.com> to show correct win32-loader ico file on windows (Closes: #772781). 2015-01-04 19:37:21 +01:00
Daniel Baumann 93592a81b6 Dropping some sparc leftovers (Closes: #774196). 2015-01-04 18:58:35 +01:00
Daniel Baumann 30122125be Adding wget dependency in chroot_firmware. 2015-01-04 18:22:53 +01:00
Daniel Baumann 501a2817a5 Updating wget dependency in installer_debian-installer to look for wget on the host system rather than the chroot. 2015-01-04 18:22:03 +01:00
Daniel Baumann fdc9250bca Changing package dependency checks within chroot to work outside as well. 2015-01-04 18:19:47 +01:00
Daniel Baumann b814f4e07e Dropping cdebootstrap support (Closes: #773657).
debootstrap is the official tool to bootstrap debian,
cdebootstrap has had the one or other bug making it
broken for times during the release cycles.

The extra effort of supporting both debootstrap
and cdebootstrap is hardly worth it since the bootstrap
stage is cached anyway.
2014-12-23 22:54:41 +01:00
Daniel Baumann cb7e5f256c Cleaning up from python removal (LIVE_IMAGE_PARENT_ARCHIVE_AREAS). 2014-12-10 09:19:07 +01:00
Daniel Baumann 07253b661c Updating misc settings for progress-linux. 2014-12-10 09:01:06 +01:00
jnqnfe 31dbf95d86 Address "should check that we're building on debian through e.g. a 'derivative-is-based-on' variable or somesuch" fixme. 2014-12-10 08:44:05 +01:00
Jan Blunck 9d5639e9a0 Bind local repository into chroot directory.
If a local repository path is given as a mirror URL lets bind it into the
chroot. The local repository will be unmounted while processing "remove" or
latest by the exit function.
2014-12-10 08:43:02 +01:00
Daniel Baumann b5e99b5b14 Dropping support for wheezy. 2014-12-10 08:38:42 +01:00
Daniel Baumann 8233dd2c4f Ugly hack to force dbus inclusion when using live-config-systemd (Closes: #769635). 2014-12-10 08:23:26 +01:00
Daniel Baumann 048c0827ae Somewhat fixing sysvinit and casper legacy support, slightly improved patch from Rui Miguel P. Bernardo <rui.bernardo.pt@gmail.com> (Closes: #772522, #772651).
This however will still not work properly building upstart based
images but they have been broken/unsupported anyway since a long
time.
2014-12-10 08:19:48 +01:00
jnqnfe 0e9d949c3d Fix typo in variable name (LH_LINUX_FLAVOURS instead of LB_LINUX_FLAVOURS) in installer_debian-installer script, affecting the armel architecture (Closes: #770796). 2014-12-10 07:58:02 +01:00
Daniel Baumann 57dd8c6376 Correcting typo in apt.conf.d directory name, thanks to jnqnfe <jnqnfe@gmail.com> (Closes: #771392). 2014-12-10 07:56:10 +01:00
Daniel Baumann 703b6d1f1f Correcting stage name check in chroot_includes, thanks to jnqnfe <jnqnfe@gmail.com> (Closes: #771377). 2014-12-10 07:54:30 +01:00
jnqnfe ef9b1e8487 Fix missing grub2 option in bootloader selection (Closes: #772671). 2014-12-10 07:51:50 +01:00
jnqnfe 6577c386ae Fix chroot_package-lists script saving to wrong cache (Closes: #771002). 2014-12-10 07:50:00 +01:00
Daniel Baumann 0290727086 Avoid failing to autocreate live.list.chroot in lb config when using --clean, thanks to jnqnfe <jnqnfe@gmail.com> (Closes: #770637). 2014-12-10 07:45:14 +01:00
Daniel Baumann 2eecd1b814 Cleaning up from python removal (LIVE_IMAGE_ARCHIVE_AREAS). 2014-12-10 07:41:29 +01:00
Daniel Baumann 1f7f6dd88a Cleaning up from python removal (LIVE_IMAGE_ARCHITECTURE). 2014-12-10 07:39:58 +01:00
Raphaël Hertzog 7b6dfd9d16 binary_syslinux: correct the path used to check if the bootloader is available.
The {iso,pxe,ext,sys}linux packages use /usr/lib/{ISO,PXE,EXT,SYS}LINUX/
directories and not /share/{ISO,PXE,EXT,SYS}LINUX/.
2014-12-10 06:26:55 +01:00
Raphaël Hertzog a294a46fb9 Properly support empty package lists.
The user might not have created any package list or it might have
created a packages list that end up being empty due to various #if tests.
We should not fail in those cases.
2014-12-10 06:24:02 +01:00
Daniel Baumann e9c1580178 Dropping prism2-usb-firmware-installer which fetches firmware from (at least) temporarily broken website. 2014-11-28 10:38:48 +01:00
Daniel Baumann 61a166adea Applying patch from Gabriele Gristina <gabriele.gristina@gmail.com> to fix automated checks for using aptitude. 2014-11-10 19:48:53 +01:00
Daniel Baumann 7c00b1b4ac Removing source_includes from toplevel source script, it was a python stub and will come back at a later point. 2014-09-11 06:40:15 +02:00
Daniel Baumann 8eaba8ea5c Making populating of live.chroot.list distribution specific. 2014-09-09 21:00:56 +02:00
Daniel Baumann d1eae01577 Creating live.list.chroot with live packages in config. 2014-09-04 04:49:05 +02:00
Daniel Baumann 50f2ef8712 Dropping leftover testroot call in bootstrap_cdebootstrap and bootstrap_debootstrap. 2014-08-28 23:07:31 +02:00
Daniel Baumann bc50443cf0 Moving partial python rewrite to separate branch, let's do it in the jessie+1 cycle rather than go with the current mixed code. 2014-08-28 00:59:28 +02:00
Daniel Baumann 2a829562c9 Adding second set of bootloader templates for wheezy. 2014-07-24 05:02:11 +02:00
Daniel Baumann dd47358700 Unconditionally replacing bootloader symlinks with syslinux 6 from jessie, this will break building wheezy images (so we have to come up with something better than that prior upload). 2014-07-22 20:26:06 +02:00
Daniel Baumann 1606ed3c5a Enabling syslinux 6 support for jessie as well. 2014-07-22 20:11:56 +02:00
Daniel Baumann 6cfcbbb576 Updating isohdpfx handling for syslinux 6. 2014-06-30 21:05:57 +02:00
Daniel Baumann e8cbbb09d3 Enabling syslinux 6 support for sid. 2014-06-13 08:39:22 +02:00
Daniel Baumann 4b815ee833 Also creating source stagefile in source_debian. 2014-05-07 07:59:44 +02:00
Daniel Baumann 6bfcd3689a Adding wheezy legacy handling for syslinux. 2014-05-07 05:27:23 +02:00
Daniel Baumann 604d5f1416 Only removing stage files in lb clean --stage and keep .build around in order for init to detect initialized config directories properly. 2014-05-07 05:22:30 +02:00
Simon McVittie 5d6574552f Add support for making ext[234] or btrfs hdd images bootable with extlinux (Closes: #745816)
extlinux configuration for the bootable image is installed to
/boot/extlinux, matching the extlinux-install script in Debian.

From the configuration point of view it's still called "syslinux",
the same as the rest of the syslinux family (pxelinux, isolinux etc.)
2014-04-27 12:37:37 +02:00
Daniel Baumann 10a6e8e579 Cleaning /etc/hosts as in previous live-build versions (Closes: #744939). 2014-04-27 12:30:02 +02:00
Daniel Baumann d3a0022d00 Calling init in build as well when automatically populating a new config tree. 2014-04-27 07:18:06 +02:00
Daniel Baumann b30ee01e8a Abort early in installer_preseed if d-i is not included on the image (Closes: #745855). 2014-04-26 08:05:32 +02:00
Daniel Baumann 057a9097e5 Updating sha1sum for recompressed initrd images (Closes: #745205). 2014-04-26 08:05:32 +02:00
Daniel Baumann 9db58d9489 Dropping superfluous comment about recompression initrd images in chroot_hacks. 2014-04-26 08:05:32 +02:00
Daniel Baumann 1867dc1e52 Using cp -a on all non-fat filesystems to copy content into the binary image (Closes: #745824). 2014-04-26 08:05:29 +02:00
Daniel Baumann d86fb1aeb4 Failing in lb config when config wasn't initialized first with lb init (Closes: #744365). 2014-04-25 21:05:37 +02:00
Daniel Baumann cce1e47ce8 Correcting required installer package determination to avoid extra packages, thanks to Benjamin Moody <benjamin.moody@gmail.com> (Closes: #739729). 2014-04-25 21:00:56 +02:00
Daniel Baumann 7a52186c1b Only automatically do replacements within syslinux configs when they are not directories (as they can be in the pxelinux.cfg case), thanks to Antony Messerli <amesserl@rackspace.com> (Closes: #745760). 2014-04-25 20:51:14 +02:00
Kiel Christofferson c9a09a282c Only call shift if args are not empty.
Some shells (like dash) will exit fatally when the shift builtin is called
beyond the last option.
2014-03-02 06:22:19 +01:00
Kiel Christofferson 3c69e6b56c Auto-detect foreign architectures in packagelist.
* Add function to output unique list of foreign architectures from an
  expanded package list.
* If foreign architectures are detected, add unique architectures
  to dpkg and update apt.
* This requires users to explicitly list at least _one_ package of a
  foreign architecture in their package list (e.g. foo:arch) for any other
  foreign arch dependencies to be handled appropriately.
2014-03-02 06:22:13 +01:00
Kiel Christofferson 9240aa3d3e Only grab the latest version of kernel+initrd pair. 2014-02-21 12:56:43 -05:00
Kiel Christofferson a934c03e06 Use LB_INITRAMFS case instead of assuming "live". 2014-02-21 12:56:43 -05:00
Daniel Baumann eb336bb782 Updating copyright notices for 2014. 2014-02-08 17:47:24 +01:00
Daniel Baumann 5733ae0fe1 Explicitly building iso images with rock ridge extension. 2013-12-29 12:03:39 +01:00
Daniel Baumann 6ceaaa1e93 Silencing copying of syslinux themes since users get always distracted about syslinux 6 files not being dereferenced (which can be totally ignored if you're using syslinux 4). 2013-11-26 08:03:57 +01:00
Daniel Baumann aeaaf8709e Moving live-build development disclaimer message from lb-config to lb-init. 2013-11-06 09:48:30 +01:00
Daniel Baumann 038b1fa8f6 Moving bootstrapping of derivative archive-keys from config to init. 2013-11-06 08:16:31 +01:00
Daniel Baumann 960de852b7 Adding initial stub for lb init.
In the past, we had lb config for both creating a configuration directory
and updating settings in there. With the rewrite in Python, we're now
changing this finally to the more sane 'init' (create initial 'sample'
configuration directory tree, taking most arguments that lb config did)
and 'config' which will only be a get/set program to work on top of
an already initialized configuration tree.
2013-11-05 12:20:11 +01:00
Daniel Baumann 42fb1e1976 Dropping chroot_live-packages by moving logic outside of live-build into the config directory. 2013-11-05 11:16:39 +01:00
Daniel Baumann 3e0c126e2a Creating all includes directories in config. 2013-11-04 19:48:25 +01:00
Daniel Baumann 4fa62f53fa Adding bootstrap-includes. 2013-11-04 18:59:23 +01:00
Daniel Baumann 8e0188c72c Adding sources-includes. 2013-11-04 18:46:56 +01:00
Daniel Baumann 1e04939721 Rewriting binary_includes in python. 2013-11-04 18:33:48 +01:00
Daniel Baumann fee4e8b349 Rewriting chroot_includes in python. 2013-11-04 17:51:36 +01:00
Daniel Baumann 9e3863aa8f Switching to later submodule naming scheme for python stubs. 2013-11-04 17:10:22 +01:00
Daniel Baumann 5603355e1d Handling bootstrap cache inside the bootstrap stubs itself. 2013-11-04 14:02:40 +01:00
Daniel Baumann 83dacd9b39 Stuffing bootstrapping of archive-keys for derivatives into lb_config, it's not a runtime thing and its logic should not be embedded in live-build but the config directory. 2013-11-04 13:34:43 +01:00
Daniel Baumann 35919637af Moving testroot into lb wrapper itself. 2013-11-04 13:00:12 +01:00
Daniel Baumann 52122b2845 Moving python stubs to their own subdirectory within the source tree. 2013-11-04 07:06:08 +01:00
Daniel Baumann db331a3c5a Rewriting source_hooks in python. 2013-11-04 06:43:40 +01:00
Daniel Baumann 90fd3636a4 Rewriting binary_hooks in python. 2013-11-04 06:37:31 +01:00
Daniel Baumann 1bcc449483 Automatically symlink hooks upon creation of the configuration tree. 2013-11-03 21:18:10 +01:00
Daniel Baumann cec85c5598 Rewriting chroot_hooks in python. 2013-11-03 20:51:15 +01:00
Daniel Baumann f03f05097e Also processing config/hooks/*.hook in bootstrap_hooks, if any. 2013-11-03 20:51:12 +01:00
Daniel Baumann 258f506b96 Rewriting bootstrap_hooks in python. 2013-11-03 19:24:04 +01:00
Daniel Baumann d83a3d3c30 Updating rsvg calls in binary_syslinux for newer versions of librsvg2-bin, thanks to Roberto Carlos Morano <rcmorano@emergya.com> (Closes: #728030). 2013-10-28 08:31:02 +01:00
Daniel Baumann 006e38d955 Weakening mode on pts for compliance with eglibc 2.18 within containers during build. 2013-10-23 21:01:22 +02:00
Daniel Baumann 955175ac4b Dropping incomplete and not really supported exposed root mode.
This might come back in future if there's demand for it
and the base is sufficiently cleaned up first.
2013-10-23 10:47:48 +02:00
Daniel Baumann c7462c4043 Depending on python3, thanks to Richard Nelson <unixabg@gmail.com> (Closes: #726806) 2013-10-21 19:05:29 +02:00
Daniel Baumann 3afd2fb9cb Adding note about outdated/unsupported versions in general develop-ment-version warning message. 2013-10-17 16:58:20 +02:00
Daniel Baumann 49b6f1efb2 Updating descriptions in python stubs. 2013-10-17 14:59:08 +02:00
Daniel Baumann 75df65480f Sorting todo items in python stubs. 2013-10-17 14:55:11 +02:00
Daniel Baumann 4afbc74f34 Calling parted with optimal aligning. 2013-10-17 12:27:42 +02:00
Daniel Baumann 28dba93085 Harmonize comments in python stubs. 2013-10-17 11:24:27 +02:00
Daniel Baumann d18a85705a Using 4 instead of 4.0 for unreleased 4.x versions as version number in python stubs. 2013-10-17 11:10:32 +02:00
Daniel Baumann ac880ca145 Making warning about alpha version of live-build in lb_config conditional on the internal version. 2013-10-17 09:38:54 +02:00
Daniel Baumann cfdd08c6e1 Moving /selinux to /sys/fs/selinux to accomodate newer selinux in debian. 2013-10-16 20:40:27 +02:00
Daniel Baumann 93c041ec4a Depending on python only for the time being, rather than python3.3. 2013-10-15 12:29:07 +02:00
Daniel Baumann b32d972a42 Adding bootstrap hooks. 2013-10-15 12:24:48 +02:00
Daniel Baumann 4c2f7491dc Updating to python 3.3 (Closes: #723702). 2013-09-19 09:09:16 +02:00
Daniel Baumann aa7939e085 Removing unused description variable in syslinux configs. 2013-09-18 11:43:49 +02:00
Jan Blunck ddb8ad5dae Selectively remove chroot-only APT configuration and preferences instead of wiping everything. 2013-09-18 10:48:21 +02:00
Jan Blunck 4d9c77d20e Remove chroot-only configured apt sources in chroot_archives remove.
If an archive is configured with *.chroot extension remove it when
deconfiguring chroot/etc/apt/sources.list.d directory.
2013-09-18 10:36:31 +02:00
Daniel Baumann 1cdc2fc5b4 Making workaround for apt-get source actually working in backports-included-but-not-enabled scenarios. 2013-09-18 09:49:03 +02:00
Daniel Baumann 5ecae6eb90 Updating hardcoded defaults for syslinux splash descriptions for progress-linux. 2013-09-06 17:18:48 +02:00
Raphaël Hertzog 2d12d83527 Ensure xfsprogs and jfsutils are available in the ISO when d-i is used.
Otherwise users opting for XFS and JFS filesystems and installing without
network won't have them and the (first) boot can be interrupted due to
this.

Sponsored-by: Offensive Security
2013-08-26 19:02:20 +02:00
Daniel Baumann 1577d46064 Updating syslinux flavour detection for progress-linux. 2013-08-19 17:52:05 +02:00
Daniel Baumann 0dc87d1170 Updating binary repository prefix for progress-linux. 2013-08-19 08:57:25 +02:00
Daniel Baumann a12212ee53 Correcting wrong installer directory moving check in progress-linux mode. 2013-08-07 20:06:47 +02:00
Daniel Baumann d75e7b75c0 Renaming some leftover pieces from binary_debian-installer to installer_debian-installer. 2013-08-07 18:14:23 +02:00
Daniel Baumann d758af1392 Removing obsolete starting of binary_debian-installer in binary. 2013-08-07 18:14:23 +02:00
Daniel Baumann afd1060395 Correcting wrong defaults setting for parent distribution in config/build. 2013-08-07 17:50:20 +02:00
Daniel Baumann 0c10bd5318 Calling bootstrap_archives with correct pass argument. 2013-08-07 16:50:47 +02:00
Daniel Baumann e94e9699b6 Stripping backports from sources.list temporarily when obtaining sources to workaround apts disregard of pinning for the cases where backports are included but not enabled. 2013-08-07 12:25:43 +02:00
Daniel Baumann af16834f28 Updating linux-image package names for 3.0 in installer_debian-installer. 2013-07-30 18:13:57 +02:00
Daniel Baumann 383d4d26b7 Expanding all variables in all syslinux configuration files, rathern than on some selected ones only. 2013-07-12 16:34:46 +02:00
Daniel Baumann 18e0a2f325 Debranding live sources. 2013-07-01 16:50:08 +02:00
Daniel Baumann b77349b8ce Moving caching out of bootstrap_{c,}debootstrap to own helper for future unification with chroot caches helper. 2013-07-01 16:27:12 +02:00
Daniel Baumann eab1da72ed Handling dist-upgrade right after bootstrap with copy of chroot_archives as bootstrap_archives in preparation for a future multi-archive bootstrap.
It is important for derivatives that the bootstrap cache is setup completely,
it is re-used in several places and thus cannot consist of the parent
distribution only.

Until there's a supportable way to bootstrap from multiple archives at the same time
(and multistrap doesn't work for that as discussed in the past), we're going to run
a lot of duplicated code here to massage the apt sources for the time being.
2013-07-01 16:24:32 +02:00
Daniel Baumann 4e9c7ee662 Removing some leftovers in chroot_archives from --archives removal. 2013-07-01 16:08:33 +02:00
Daniel Baumann 613f8cfd6d Dropping global archive definitions shipped in /usr/share/live/build/archives (same as with packagelists, hidden archive 'magic' is gone now in favour of explicit config tree configuration). 2013-06-25 09:12:03 +02:00
Daniel Baumann 57d26a0758 Using includes.installer instead of includes.debian-installer. 2013-06-24 14:27:48 +02:00
Daniel Baumann ec01ef8e68 Adding note about live-build version in build to get the lb version into build logs. 2013-06-24 14:02:30 +02:00
Daniel Baumann 966afa2d64 Splitting out preseed handling from main installer script. 2013-06-20 11:24:12 +02:00
Daniel Baumann 001612cdc7 Breaking out installer integration into an own stage. 2013-06-20 10:57:56 +02:00
Daniel Baumann 79af3c1580 Extending wget calls with options variable in bootstrap_archive-keys too (Closes: #712710). 2013-06-19 08:01:03 +02:00
Daniel Baumann bc35323876 Updating versioning scheme references to match new scheme since wheezy. 2013-05-31 13:53:30 +02:00
Daniel Baumann d26dea3710 Sorting imports in python stubs. 2013-05-15 22:49:13 +02:00
Daniel Baumann d61c044ec0 Moving creation of chroot.files manifest in lb chroot after pseudo-filesystems have been unmounted to avoid loops, thanks to Michal Suchanek <hramrach@gmail.com>. 2013-05-15 14:56:17 +02:00
Daniel Baumann 2bad1bd9c8 Sorting kernel versions in reverse order (newest first) in syslinux configurations in consistency with normal bootloader behaviours. 2013-05-13 12:57:35 +02:00
Daniel Baumann ee674162da Adding ls -lR files as .files output. 2013-05-06 14:50:08 +02:00
chals 36a44c849a Changing how syslinux files are copied to make netboot images work properly. 2013-05-06 14:50:08 +02:00
Daniel Baumann 9a15cd0114 Skipping loadlin inclusion on netboot images. 2013-05-06 14:50:08 +02:00
Daniel Baumann 4155fd9641 Updating todo in python stubs. 2013-05-06 14:50:08 +02:00
Daniel Baumann 02ebd3f0c2 Updating derivatives archive-key signature validiation to look by default at both debian and debian-maintainers keyrings. 2013-05-06 14:50:08 +02:00
Daniel Baumann 39ef5a723c Writing errors to stderr in Python stubs. 2013-05-06 14:50:08 +02:00
Daniel Baumann 73c892d114 Switching argument and configuration handling order in Python stubs. 2013-05-06 14:50:08 +02:00
Daniel Baumann 8f293ccd9c Dropping now unused intermediate config/image. 2013-05-06 14:50:07 +02:00
Daniel Baumann 06dac65ee3 Removing bootstrap_cache, not needed anymore. 2013-05-06 14:50:07 +02:00
Daniel Baumann 680109fdad Temporary hack for lb config to produce config/build until stuff is cleaned up properly. 2013-05-06 14:50:07 +02:00
Daniel Baumann 4a41852f82 Updating bootstrap for Python stubs. 2013-05-06 14:50:07 +02:00
Daniel Baumann c229d39dc8 Replacing bootstrap_cdebootstrap with Python stub. 2013-05-06 14:50:07 +02:00
Daniel Baumann a06eea85ad Replacing bootstrap_debootstrap with Python stub. 2013-05-06 14:50:07 +02:00
Michael Stummvoll 428da01aea Using LB_HDD_SIZE to determine the size of the image.
If LB_HDD_SIZE is "auto" the size will be determined automatically as before
else it will be the given size in MB.

Also setting the default for this to "auto"
2013-05-06 14:50:07 +02:00
Daniel Baumann ff8e4ef6aa Unifying append options in binary_syslinux when processing configuration files. 2013-05-06 14:50:07 +02:00
Daniel Baumann 86e15f61c0 Stripping out comments in package lists. 2013-05-06 14:50:07 +02:00
Daniel Baumann 7406724344 Aborting early in chroot_package-lists if no package list is found. 2013-05-06 14:50:07 +02:00
Daniel Baumann d0bb1a3ade Cleaning up installer file locations for progress-linux. 2013-05-06 14:50:07 +02:00
Daniel Baumann f1410a0945 Replacing strings in all syslinux config files, not just certain hardcoded ones. 2013-05-06 14:50:07 +02:00
Daniel Baumann a00211e9c6 Removing dedicated emdebian mode, this can entirely be handled with different defaults. 2013-05-06 14:50:07 +02:00
Daniel Baumann 60739bfbd8 Renaming config/control to config/image. 2013-05-06 14:50:07 +02:00
Daniel Baumann 68700f466c Dropping dedicated updates (formerly volatile) mirror handling, not needed anymore. 2013-05-06 14:50:07 +02:00
Daniel Baumann dd15ade8bb Dropping dedicated backports mirror handling, not needed anymore with the move of backports.d.o into ftp.d.o. 2013-05-06 14:50:07 +02:00
Daniel Baumann 17d85e1452 Using ntfs-3g to mount ntfs partitions. 2013-05-06 14:50:07 +02:00
Daniel Baumann 2c54c44610 Adding generic live-build handle in chroot_dpkg for other live packages to act upon. 2013-05-06 14:50:07 +02:00
Daniel Baumann 5a00aa4482 Using dpkg-divert for other diversions too to handle upgrades of the diverted stuff during build. 2013-05-06 14:50:07 +02:00
Daniel Baumann 20f042f923 Using dpkg-divert in chroot_upstart script to handle upgrades of upstart during the build (Closes: #702537). 2013-05-06 14:50:07 +02:00
Daniel Baumann c287072126 Debranding package for derivatives. 2013-05-06 14:50:07 +02:00
Daniel Baumann 1083985682 Correcting typo directory when dereferencing syslinux symlinks when building chrooted, thanks to Luigi Capriotti <l.capriotti@xbmc.org>. 2013-05-06 14:50:07 +02:00
Daniel Baumann 59ce459f40 Removing all references to my old email address. 2013-05-06 14:50:06 +02:00
Raphaël Hertzog 20855871d2 Fixing win32-loader.ini by including the GTK related entries.
The check protecting their addition was wrong. Also fix the actual keys
with the correct architecture instead of hardcoding i386.
2013-05-06 14:50:06 +02:00
Daniel Baumann c1a7b496bf Correcting spelling typos, thanks to Adam D. Barratt <adam@adam-barratt.org.uk>. 2013-05-06 14:50:06 +02:00
Daniel Baumann d4f8b95cdf Adding source_hooks for hooks on source images like already supported on binary images. 2013-05-06 14:50:06 +02:00
Daniel Baumann 20d3ef51ba Making some more debian source-selections conditional on certain image options. 2013-05-06 14:50:06 +02:00
Daniel Baumann 48939b9ac9 Harmonize handling of pre-existing gnupg dotfiles in chroot when handling fake signing keys for local repository. 2013-05-06 14:50:06 +02:00
Daniel Baumann 11b07e9a41 Making messages about reading system conffiles in lb config more accurate. 2013-05-06 14:50:06 +02:00
Daniel Baumann 7f972f31ce Also showing distribution in lb config initial messages. 2013-05-06 14:50:06 +02:00
Daniel Baumann cca7563257 Removing non-existent --apt-indices none references. 2013-05-06 14:50:06 +02:00
Daniel Baumann dbfe7b10d7 Removing incomplete support for fakeroot. 2013-05-06 14:50:06 +02:00
Daniel Baumann 04cec317cc Removing incomplete support for root-command. 2013-05-06 14:50:06 +02:00
Daniel Baumann 3f3d05b2e6 Updating d-i suite symlink for wheezy release. 2013-05-06 14:50:05 +02:00
Daniel Baumann 137c224579 Dropping powerpc bootloader support (yaboot), there is nobody actively maintaining this in live-build. 2013-05-06 14:50:05 +02:00
Daniel Baumann 3e23aaacde Dropping sparc bootloader support (silo), there is nobody actively maintaining this in live-build. 2013-05-06 14:50:05 +02:00
Daniel Baumann 6f39d25611 Allowing to use parted its automatic offset handling at the beginning of a disk, rather than to harcode it to first block (Closes: #647607). 2013-05-06 14:50:05 +02:00
Daniel Baumann 85e9887e0b Converting splash.svg not just splash.svg.in files as syslinux bootsplashes. 2013-05-06 14:50:05 +02:00
Daniel Baumann 7595fb6f61 Correctly remove binary contents and packages file in clean script. 2013-05-06 14:50:05 +02:00
Daniel Baumann 516cf8299f Dropping theme package support, themes are either in the config tree or the embedded one from live-build is used. 2013-05-06 14:50:05 +02:00
Daniel Baumann 0290d0be6b Updating binary_debian-installer for newer append replacement variables used in syslinux configs. 2013-05-06 14:50:05 +02:00
Daniel Baumann 2fb4009a8c Updating syslinux configurations and handling for syslinux 5. 2013-05-06 14:50:05 +02:00
Daniel Baumann d06b25079f Adding bootrap_archive-keys to establish secure trust-chain on top of debian-keyring for derivatives. 2013-05-06 14:50:05 +02:00
Daniel Baumann d4186c841d Correcting install path in loadlins install.bat for the gtk d-i flavour. 2013-05-06 14:50:05 +02:00
Daniel Baumann 4d95bc6e79 Escaping quotes to workaround a false-positive of checkbashisms in binary_debian-installer. 2013-05-06 14:50:05 +02:00
Daniel Baumann dc11169a06 Avoiding to unconditionally adding whitespace seperator to config/control for existing configs. 2013-05-06 14:50:04 +02:00
Daniel Baumann 09e65e406b Applying slightly modified patch from Raphaël Hertzog <hertzog@debian.org> to fix automatic firmware inclusion when using debian-installer with live-installer and having firmware packages installed in the live system already. 2013-05-06 14:50:04 +02:00
Daniel Baumann df797b7cda Making xorriso option handling a bit more readable. 2013-05-06 14:50:04 +02:00
Daniel Baumann 07ffebc750 Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>. 2013-05-06 14:50:04 +02:00
Daniel Baumann 6d3b6b7b9b Updating samhain workaround in chroot_dpkg to work if live-build is being used with sudo or fakeroot (Closes: #698423). 2013-05-06 14:50:04 +02:00
Daniel Baumann 63a747b0c2 Cleaning up binary_loadlin. 2013-05-06 14:50:04 +02:00
Daniel Baumann 46dc41a701 Using cat instead of echo to workaround incompatible and conflicting uses in escaping of \t in dash and bash, and less importantly to workaround a false-positive in checkbashisms. 2013-05-06 14:50:04 +02:00
Daniel Baumann 36efad274a Dropping pre-wheezy handling for win32-loader files. 2013-05-06 14:50:04 +02:00
Daniel Baumann 7908cea0c3 Adding support for sha512 checksums. 2013-05-06 14:50:04 +02:00
Daniel Baumann fc9df81463 Removing all checksum files in lb clean. 2013-05-06 14:50:04 +02:00
Daniel Baumann 2731b83bae Correcting legacy filename for checksum files. 2013-05-06 14:50:04 +02:00
Daniel Baumann d4f5dd6df9 Updating win32-loader.ini for wheezy. 2013-05-06 14:50:04 +02:00
Daniel Baumann eaa015ed35 Only including gtk d-i in win32-loader config if available on the target image. 2013-05-06 14:50:04 +02:00
Daniel Baumann 1402ce72a9 Creating install.bat for loadlin. 2013-05-06 14:50:04 +02:00
Daniel Baumann d878fa2947 Dropping stable and unstable dist symlinks for d-i in dists for wheezy. 2013-05-06 14:50:04 +02:00
Daniel Baumann e3289119c2 Creating autorun.inf in binary_win32-loader. 2013-05-06 14:50:04 +02:00
Daniel Baumann 565b1ea291 Also ignoring legacy checksum filenames when creating checksum files. 2013-05-06 14:50:04 +02:00
Daniel Baumann 449a338ffa Correcting spelling typo in help text within the binary checksums file. 2013-05-06 14:50:04 +02:00
Daniel Baumann de261256c5 Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082). 2013-05-06 14:50:04 +02:00
Daniel Baumann 07fb58ba52 Don't fail when adding symlinks for firmware in binary/firmware for debian-installer and the symlink already exists (Closes: #696688). 2013-05-06 14:50:03 +02:00
Daniel Baumann 62d94a4454 Updating year in all copyright notices. 2013-05-06 14:50:03 +02:00
Daniel Baumann eba66925cc Using .cfg suffix for consistency with debian-installer on preseed files in config/preseed. 2013-05-06 14:50:03 +02:00
Daniel Baumann e08aa46019 Correcting glitch with plain chroot filesystems in binary_chroot. 2013-05-06 14:50:03 +02:00
Daniel Baumann d49278344e Removing redundant check for linux-images in binary_linux-image. 2013-05-06 14:50:03 +02:00
Daniel Baumann bcea0380c4 Splitting off chroot firmware handling into an own script. 2013-05-06 14:50:03 +02:00
Daniel Baumann 09eed369eb Simplifying exit check in chroot_linux-image. 2013-05-06 14:50:03 +02:00
Daniel Baumann d32d432678 Omitting memtest in binary if chroot filesystem is set to none. 2013-05-06 14:50:03 +02:00
Daniel Baumann a6938bb129 Omitting binary manifest creation when chroot filesystem is set to none. 2013-05-06 14:50:03 +02:00
Daniel Baumann f2f2d1bccb Removing pre-wheezy grub package from binary_debian-installer. 2013-05-06 14:50:03 +02:00
Daniel Baumann 2d487b5519 Only writing out Parent-Archive-Areas field into configuration when building a derivative. 2013-05-06 14:50:03 +02:00
Daniel Baumann 5123ca4547 Moving off binary image parent archive areas into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann 4c7518fd76 Moving off binary image archive areas into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann bcde017854 Including architecture in binary output filenames. 2013-05-06 14:50:03 +02:00
Ben Armstrong 2a666ed5d8 Improving warning wording to reflect unfinished state of code better. 2013-05-06 14:50:03 +02:00
Daniel Baumann ef1ab80c70 Using image name from configuration to name source output files. 2013-05-06 14:50:03 +02:00
Daniel Baumann 36d36414d8 Adding explicit warning for people that do not understand what stable is. 2013-05-06 14:50:03 +02:00
Daniel Baumann 2a9486d108 Using image name from configuration to name binary output files. 2013-05-06 14:50:03 +02:00
Daniel Baumann 8c0760a13a Separate between configured values and runtime values in new configuration handling. 2013-05-06 14:50:03 +02:00
Daniel Baumann 6499442212 Moving off binary image architecture into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann f5acab633c Moving off binary image type into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann c73a5a0ee0 Moving configuration version off as the first option into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann 5e07604353 Removing kubuntu mode, it's not different anymore to standard ubuntu mode. 2013-05-06 14:50:02 +02:00
Daniel Baumann fae7a1ce27 Moving removal of backup and temporary files to their own hook script. 2013-05-06 14:50:02 +02:00
Daniel Baumann c02300e297 Removing loop-aes-utils related hack for squeeze. 2013-05-06 14:50:02 +02:00
Daniel Baumann cf1de1682b Moving kexec-tools default preseeding into its own hook script. 2013-05-06 14:50:02 +02:00
Daniel Baumann b1b7e909c7 Removing old code in chroot_hacks for tasks which are not used anymore. 2013-05-06 14:50:02 +02:00
Daniel Baumann 0d7322500b Switching from genisoimage to xorriso. 2013-05-06 14:50:02 +02:00
Daniel Baumann bd22f9c864 Updating removal of adjtime in a split out hook for wheezy. 2013-05-06 14:50:02 +02:00
Daniel Baumann e2e5636744 Avoid re-populating an already populated configuration tree when using lb config --config. 2013-05-06 14:50:02 +02:00
Daniel Baumann 5beadcd563 Adding support for live-images configs and arbitrary configuration directories in lb_config --config option. 2013-05-06 14:50:02 +02:00
Daniel Baumann 8bd5d71a3f Skipping creation of soon to be replaced config/templates directory. 2013-05-06 14:50:02 +02:00
Daniel Baumann a3d6006215 Removing local/bin by default in lb_clean too. 2013-05-06 14:50:02 +02:00
Daniel Baumann 82a5279e14 Dropping ubuntu guards on firmware selection code, we're not enabling firmware inclusion in ubuntu mode anyway.
Also, we're not keeping this as ubuntu should just update their archive
structure for content files to match debian. Not worth keeping temporary
extra turns just for ubuntu.
2013-05-06 14:50:01 +02:00
Daniel Baumann d10aa0375e Adding proper header to build.sh include. 2013-05-06 14:50:01 +02:00
Daniel Baumann 06f0ed87ba Ensuring that functions are either sources locally or globally, but not both. 2013-05-06 14:50:01 +02:00
Daniel Baumann a70409e1f2 Adding support for local apt conf.d snippets in archive definitions (Closes: #685791). 2013-05-06 14:50:01 +02:00
Daniel Baumann bc985a6a32 Harmonizing apt configuration handling in chroot_archives. 2013-05-06 14:50:01 +02:00
Daniel Baumann 7400939e84 Adding dropped empty-line separator in binary_debian-installer. 2013-05-06 14:50:01 +02:00
Daniel Baumann edeb1f7656 Updating powerpc kernel list on ubuntu. 2013-05-06 14:50:01 +02:00
Daniel Baumann d1047e809a Adding debian version 4.0~a1-1. 2013-05-06 14:48:46 +02:00
Daniel Baumann 4240da2b8c Skipping loadlin inclusion on netboot images. 2013-04-30 09:44:40 +02:00
Daniel Baumann da914efba4 Updating derivatives archive-key signature validiation to look by default at both debian and debian-maintainers keyrings. 2013-04-11 19:28:46 +02:00
Daniel Baumann 4b92e02754 Stripping out comments in package lists. 2013-04-09 05:54:39 +02:00
Daniel Baumann c4c9c02d9b Cleaning up installer file locations for progress-linux. 2013-04-09 05:54:30 +02:00
Daniel Baumann 1a4fdf132d Adding generic live-build handle in chroot_dpkg for other live packages to act upon. 2013-04-09 05:54:23 +02:00
Daniel Baumann 6106e81b85 Using dpkg-divert for other diversions too to handle upgrades of the diverted stuff during build. 2013-04-09 05:54:22 +02:00
Daniel Baumann 34dd4a6c70 Using dpkg-divert in chroot_upstart script to handle upgrades of upstart during the build (Closes: #702537). 2013-04-09 05:54:08 +02:00
Daniel Baumann da153c6526 Correcting typo directory when dereferencing syslinux symlinks when building chrooted, thanks to Luigi Capriotti <l.capriotti@xbmc.org>. 2013-04-09 05:52:09 +02:00
Raphaël Hertzog 13bfa69cbf Fixing win32-loader.ini by including the GTK related entries.
The check protecting their addition was wrong. Also fix the actual keys
with the correct architecture instead of hardcoding i386.
2013-04-09 05:52:09 +02:00
Daniel Baumann c366502ec1 Correcting spelling typos, thanks to Adam D. Barratt <adam@adam-barratt.org.uk>. 2013-04-09 05:52:09 +02:00
Daniel Baumann 0e5cfdb747 Adding source_hooks for hooks on source images like already supported on binary images. 2013-04-09 05:52:08 +02:00
Daniel Baumann a40fc3b92a Making some more debian source-selections conditional on certain image options. 2013-04-09 05:40:16 +02:00
Daniel Baumann 4259fcac5d Harmonize handling of pre-existing gnupg dotfiles in chroot when handling fake signing keys for local repository. 2013-04-09 05:40:16 +02:00
Daniel Baumann dd6f9b7cfa Making messages about reading system conffiles in lb config more accurate. 2013-04-09 05:40:15 +02:00
Daniel Baumann 1c3bfa405c Also showing distribution in lb config initial messages. 2013-04-09 05:40:15 +02:00
Daniel Baumann ab3d2eae25 Removing non-existent --apt-indices none references. 2013-04-09 05:40:12 +02:00
Daniel Baumann f180ad0747 Updating d-i suite symlink for wheezy release. 2013-04-09 05:22:44 +02:00
Daniel Baumann 09067bbbf8 Allowing to use parted its automatic offset handling at the beginning of a disk, rather than to harcode it to first block (Closes: #647607). 2013-04-09 05:22:12 +02:00
Daniel Baumann f4c54334a4 Converting splash.svg not just splash.svg.in files as syslinux bootsplashes. 2013-02-09 00:04:20 +01:00
Daniel Baumann 1f673d6f6b Correctly remove binary contents and packages file in clean script. 2013-02-08 23:13:24 +01:00
Daniel Baumann 36e9376517 Dropping theme package support, themes are either in the config tree or the embedded one from live-build is used. 2013-02-08 23:11:15 +01:00
Daniel Baumann cfb9b190e1 Updating binary_debian-installer for newer append replacement variables used in syslinux configs. 2013-02-08 22:46:48 +01:00
Daniel Baumann bc08ea0115 Updating syslinux configurations and handling for syslinux 5. 2013-02-08 21:40:28 +01:00
Daniel Baumann 628c93f923 Adding bootrap_archive-keys to establish secure trust-chain on top of debian-keyring for derivatives. 2013-02-08 21:40:27 +01:00
Daniel Baumann 4df36c9407 Correcting install path in loadlins install.bat for the gtk d-i flavour. 2013-01-24 00:26:29 +01:00
Daniel Baumann 84af3683bd Escaping quotes to workaround a false-positive of checkbashisms in binary_debian-installer. 2013-01-24 00:08:07 +01:00
Daniel Baumann cca9934da6 Applying slightly modified patch from Raphaël Hertzog <hertzog@debian.org> to fix automatic firmware inclusion when using debian-installer with live-installer and having firmware packages installed in the live system already. 2013-01-20 08:55:05 +01:00
Daniel Baumann 715adcfc8e Falling back to use genisoimage when building squeeze iso-hybrid images. 2013-01-19 18:04:52 +01:00
Daniel Baumann 9ec95b51a7 Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>. 2013-01-19 12:50:03 +01:00
Daniel Baumann 357c2e0399 Updating samhain workaround in chroot_dpkg to work if live-build is being used with sudo or fakeroot (Closes: #698423). 2013-01-19 12:46:40 +01:00
Daniel Baumann 7f0662cd50 Cleaning up binary_loadlin. 2013-01-06 23:30:49 +01:00
Daniel Baumann 8607b231d6 Using cat instead of echo to workaround incompatible and conflicting uses in escaping of \t in dash and bash, and less importantly to workaround a false-positive in checkbashisms. 2013-01-04 19:13:23 +01:00
Daniel Baumann 8d31e413f8 Dropping pre-squeeze handling for win32-loader files. 2013-01-02 11:42:18 +01:00
Daniel Baumann 369a600509 Adding support for sha512 checksums. 2013-01-02 11:27:05 +01:00
Daniel Baumann bffc19e3a2 Removing all checksum files in lb clean. 2013-01-02 11:25:48 +01:00
Daniel Baumann 33eb0dfd91 Correcting legacy filename for checksum files. 2013-01-02 11:23:08 +01:00
Daniel Baumann 71cb88de17 Updating win32-loader.ini for wheezy. 2013-01-02 11:19:50 +01:00
Daniel Baumann 6eb4e2236a Only including gtk d-i in win32-loader config if available on the target image. 2013-01-02 11:19:20 +01:00
Daniel Baumann fd5c4609e9 Creating install.bat for loadlin. 2013-01-02 11:09:11 +01:00
Daniel Baumann d2940edc0f Dropping stable and unstable dist symlinks for d-i in dists for wheezy. 2013-01-02 11:05:17 +01:00
Daniel Baumann e8fd91ee05 Creating autorun.inf in binary_win32-loader. 2013-01-02 11:00:05 +01:00
Daniel Baumann e724421fee Also ignoring legacy checksum filenames when creating checksum files. 2013-01-02 10:51:01 +01:00
Daniel Baumann a6b1521567 Correcting spelling typo in help text within the binary checksums file. 2013-01-02 10:51:01 +01:00
Daniel Baumann a39bfcb512 Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082). 2013-01-02 10:38:53 +01:00
Daniel Baumann 7f50113e74 Don't fail when adding symlinks for firmware in binary/firmware for debian-installer and the symlink already exists (Closes: #696688). 2013-01-02 10:22:20 +01:00
Daniel Baumann a203b86fdd Updating year in all copyright notices. 2013-01-01 00:13:01 +01:00
Daniel Baumann e366eae5c3 Using .cfg suffix for consistency with debian-installer on preseed files in config/preseed. 2012-12-31 10:18:45 +01:00
Daniel Baumann 52262ab8f9 Correcting glitch with plain chroot filesystems in binary_chroot. 2012-12-30 14:19:02 +01:00
Daniel Baumann 27f9ebb269 Removing redundant check for linux-images in binary_linux-image. 2012-12-30 13:14:36 +01:00
Daniel Baumann bd0ccc992b Omitting memtest in binary if chroot filesystem is set to none. 2012-12-30 12:58:31 +01:00
Daniel Baumann 2ef5a2bfe1 Omitting binary manifest creation when chroot filesystem is set to none. 2012-12-30 12:51:18 +01:00
Daniel Baumann a03aa6e812 Removing grub package from binary_debian-installer for wheezy. 2012-12-22 19:31:51 +01:00
Daniel Baumann 7e8240cd5e Removing kubuntu mode, it's not different anymore to standard ubuntu mode. 2012-12-17 13:51:44 +01:00
Daniel Baumann 43434c2f6a Moving removal of backup and temporary files to their own hook script. 2012-12-16 23:56:55 +01:00
Daniel Baumann 8618786d5f Marking loop-aes-utils related hack as squeeze only. 2012-12-16 23:51:07 +01:00
Daniel Baumann 18c8ece239 Moving kexec-tools default preseeding into its own hook script. 2012-12-16 23:48:24 +01:00
Daniel Baumann f2d57e26ed Removing old code in chroot_hacks for tasks which are not used anymore. 2012-12-16 23:43:48 +01:00
Daniel Baumann bae505eb97 Switching from genisoimage to xorriso. 2012-12-16 21:41:42 +01:00
Daniel Baumann 414b89ed3f Updating removal of adjtime in a split out hook for wheezy. 2012-12-13 20:32:18 +01:00
Daniel Baumann 4e65bcbb5b Avoid re-populating an already populated configuration tree when using lb config --config. 2012-12-13 19:04:14 +01:00
Daniel Baumann 8353cbb301 Adding support for live-images configs and arbitrary configuration directories in lb_config --config option. 2012-12-13 18:52:15 +01:00
Daniel Baumann 2ea65fdcc9 Skipping creation of soon to be replaced config/templates directory. 2012-12-10 20:37:49 +01:00
Daniel Baumann d4ba252197 Removing local/bin by default in lb_clean too. 2012-12-10 20:35:50 +01:00
Daniel Baumann b46eefce94 Adding back legacy filtering for firmware packages on squeeze when contrib or non-free is not enabled. 2012-12-06 20:59:35 +01:00
Daniel Baumann ca42266824 Dropping ubuntu guards on firmware selection code, we're not enabling firmware inclusion in ubuntu mode anyway.
Also, we're not keeping this as ubuntu should just update their archive
structure for content files to match debian. Not worth keeping temporary
extra turns just for ubuntu.
2012-12-06 20:47:27 +01:00
Daniel Baumann 4804793d9a Adding proper header to build.sh include. 2012-12-04 12:49:15 +01:00
Daniel Baumann 19d695c05a Ensuring that functions are either sources locally or globally, but not both. 2012-12-04 12:47:40 +01:00
Daniel Baumann 6a206425e8 Adding support for local apt conf.d snippets in archive definitions (Closes: #685791). 2012-12-04 12:07:51 +01:00
Daniel Baumann dabe28bdd3 Harmonizing apt configuration handling in chroot_archives. 2012-12-04 12:04:47 +01:00
Daniel Baumann 1855adbbd0 Adding dropped empty-line separator in binary_debian-installer. 2012-12-01 01:56:41 +01:00
Daniel Baumann d79a5200e6 Updating powerpc kernel list on ubuntu. 2012-12-01 01:50:23 +01:00
Daniel Baumann bbf1634782 Also avoiding to use xz compression for squashfs for kubuntu. 2012-11-30 15:29:24 +01:00
Daniel Baumann fce9502aad Replicating same qemu support within bootstrap_debootstrao for bootstrap_cdebootstrap too (Closes: #694102). 2012-11-30 15:09:22 +01:00
Daniel Baumann 2df809705d Using hash rather than pipe as sed separator for writing boot parameters into bootloader configurations (Closes: #694723). 2012-11-30 15:06:57 +01:00
Daniel Baumann bbbe6a66df Using four letter digit prefixes for hooks like for consistency with all other live packages. 2012-11-29 21:18:28 +01:00
Daniel Baumann f225840b96 Updating note about integrity check boot parameter within checksum files. 2012-11-28 09:31:29 +01:00
Daniel Baumann ade11a8ebb Marking comments in checksum files as such to avoid harmless but anoying warning messages during live-boots medium integrity check. 2012-11-28 09:30:46 +01:00
Richard Nelson b7d0742e0a Correct another typo on commit 11d97a6a5f 2012-11-22 15:32:27 -06:00
Richard Nelson 1d0113a70b Correct typo on commit 11d97a6a5f 2012-11-22 15:05:42 -06:00
Daniel Baumann 3ca8e64d0f Adding default-preseeding for non-free firmware only when non-free is actually included, to avoid cluttering debconf db by default on all systems. 2012-11-22 17:11:00 +01:00
Daniel Baumann 11d97a6a5f Adding backwards compatible handling for squeeze and the ubuntus for old-style Contents files in the archive. 2012-11-22 17:07:49 +01:00
Daniel Baumann e7a6543499 Correcting a typo in chroot_apt when re-configuring apt preferences, found by Thanatermesis <thanatermesis@gmail.com> (Closes: #685924). 2012-11-19 16:21:19 +01:00
Daniel Baumann 3138b1a4fa Correcting copying of archive specific apt preferences files, thanks to Thanatermesis <thanatermesis@gmail.com> (Closes: #693250). 2012-11-14 21:54:42 +01:00
Daniel Baumann ce36fd703f Workarounding recent archive changes wrt/ content files until #692111 is fixed. 2012-11-02 11:57:41 +01:00
Daniel Baumann 0863d00128 Correcting typos in aptitude-options name in lb config, thanks to Frank Gard <frank@familie-gard.de> (Closes: #691930). 2012-11-01 06:49:33 +01:00
Daniel Baumann 4f710bc3c4 Removing debconf-nowarnings option, doesn't provide any advantage to disable this option in the first place. 2012-10-31 09:26:25 +01:00
Daniel Baumann 3718d0db96 Also supporting the other way around: removing systemd from a bootstrap and switching to sysvinit for those distributions that default to systemd. 2012-10-31 07:48:26 +01:00
Daniel Baumann 5021fd2313 Making sysvinit removal on systemd systems conditional, newer bootstraps might not always pull in sysvinit packages anymore. 2012-10-31 07:45:55 +01:00
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
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