Commit Graph

768 Commits

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