Raphaël Hertzog
63af37b9c5
Copy sub-directories as well as files in grub config directory
...
This is to cover the case of a theme included in that directory.
2016-11-28 21:05:06 +01:00
Raphaël Hertzog
164f23368e
Support “lb config --debootstrap-script <script>”
...
This option lets you use an alternate bootstrap script when running
debootstrap. Thanks to Sjoerd Simons <sjoerd@debian.org> for the initial
patch.
Closes : #790033
2016-11-28 20:58:19 +01:00
Raphaël Hertzog
822459c7b2
Set xorriso's "modification time" to SOURCE_DATE_EPOCH
...
Thanks to Chris Lamb <lamby@debian.org> for the patch.
Closes : #831379
2016-11-28 20:58:19 +01:00
Sjoerd Simons
c12f7d715e
Pass components to debootstrap --second-stage
...
Commit e24e4b in debootstrap fixed setup_available to work in the
--foreign case (iotw at the second stage). Unfortunately this breaks
things if components aren't passed to the second stage _and_ your main
component isn't called main.
To fix this, pass --components to both the first and second stage
debootstrap when needed.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2016-11-28 20:58:18 +01:00
Raphaël Hertzog
674794a8f4
Try to reuse /isolinux/splash.png in default grub configuration.
2016-11-28 20:58:18 +01:00
Sophie Brun
e92dbc3696
Handle packages.chroot with an explicitly trusted file:// repository
...
Up to now we created a temporary GPG key that we registered with apt-key
but with the switch to GnuPG 2 by default, this code broke. Now we stop
doing that but we add the “trusted=yes“ attribute in sources.list so
that APT knows that the repository can be trusted even if it's unsigned.
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
2016-10-28 08:57:37 +02:00
Adrian Gibanel Lopez
7667d5faa7
Readded Installation boot entries to grub configuration files.
2016-08-26 20:23:02 +02:00
Adrian Gibanel Lopez
2d61dcc53c
Force the use of insmod all_video in grub.cfg so that we do not boot in blind mode in UEFI mode.
2016-07-31 15:09:13 +02:00
Adrian Gibanel Lopez
7becd08e4d
Added EFI support by the means of grub-efi
...
This work is based on debian-cd team work and uses,
as much as possible, the same mkisofs options
than the Debian Installation CD disk does.
It assumes that /boot/grub/grub.cfg (and other design items)
is generated by: binary_loopback_cfg .
It relies on efi-image and grub-cpmodules being setup
as build scripts on live-build package.
In the future event of these two files being moved
to a binary package (they are originally from:
src: live-installer) the binary_grub-efi script would have
to be rewritten to take the new paths into account.
2016-07-31 15:09:13 +02:00
Adrian Gibanel Lopez
9cebad25f9
Handle multiple bootloaders properly in binary_iso . Force mkisofs to add an additional eltorito entry if we have more than one bootloader.
2016-07-31 15:09:13 +02:00
Adrian Gibanel Lopez
58a97219c9
Stolen efi-image and grub-cpmodules from src:live-installer
...
These two scripts simplify the creation of efi images based on grub-efi.
I have decided to simply steal them. If I had to include them thanks to a source package that would have mean that an src repo would have to be defined by default.
TODO: Ask in a bug a RFE so that these two scripts are put into a binary that could be consumed by both live-installer and live-build packages.
2016-07-31 15:09:13 +02:00
Adrian Gibanel Lopez
c4327f6138
binary_loopback_cfg now renders grub.cfg by default.
...
The binary parts of grub-pc are left for the original binary_grub-pc.
As a consequence both /boot/grub/grub.cfg and /boot/grub/loopback.cfg files will be present in any Debian Live CD.
This might be useful to be reused from binary_grub-* bootloaders.
2016-07-31 15:09:13 +02:00
Adrian Gibanel Lopez
9d1a983cc8
Added new multi bootloader helper functions
...
* Added: functions/bootloaders.sh . This file adds bootloader functions that are heavily used in efi scenarios where a bootloader can act as a first or an extra bootloader.
Since the introduction of the new switch:
--bootloaders
you can setup it like this:
--bootloaders=syslinux,grub-efi
.
This means that syslinux is the first bootloader and grub-efi is the extra bootloader.
* Added new bootloader functions: Check_Non_First_Bootloader and Check_Non_Extra_Bootloader.
These functions let each one of the bootloaders abort the build because
they cannot perform a role either as a first bootloader or as an extra bootloader.
* Added bootloader functions: Check_First_Bootloader_Role, Check_Extra_Bootloader_Role and Check_Any_Bootloader_Role
These functions let bootloaders to force their default role in a single line.
At the same time many binary bootloaders were rewritten to make use of the new bootloader role functions explained above.
These roles were enforced:
binary_grub-legacy : First bootloader
binary_grub-pc : Either first or extra bootloader
binary_syslinux : Either first or extra bootloader
If a bootloader is tried to be used in a role that it's not meant to be used then the build fails because that might lead to a non-bootable system.
2016-07-31 15:08:11 +02:00
Adrian Gibanel Lopez
0624064d44
Remove repeated LB_PRIMARY_BOOTLOADER definition
2016-07-31 14:59:33 +02:00
Kristian Klausen
489a09ba92
Disable EXT4 64bit features
...
e2fsprogs 1.43 enabled ext4 "64bit" feature as default, which broke ext4
HDD images as EXTLINUX doesn't support it.
2016-06-18 19:36:16 +02:00
Kristian Klausen
5a981664ed
Switch d-i.debian.org URIs from http to https.
...
Closes : #809699
2016-05-26 21:58:03 +02:00
Kristian Klausen
6b0777c53e
Fix typo in binary_syslinux
...
Closes : #818916
2016-05-26 21:57:19 +02:00
Kristian Klausen
a8cc708427
Correct syslinux/extlinux mbr.bin path (second try)
...
dash doesn't support parameter expansion it seems.
So implemented with "tr" as in binary_syslinus.
2016-05-26 21:26:36 +02:00
Kristian Klausen
ddc6659002
Correct syslinux/extlinux mbr.bin path
...
Fix #773833
2016-05-26 17:34:22 +02:00
Kristian Klausen
090c6f3cea
Revert "Correct syslinux mbr.bin path."
...
This reverts commit 5161dcdf3b
.
2016-05-26 17:33:20 +02:00
Raphaël Hertzog
4d67c64ba2
Better handle empty package lists.
...
The fix in a294a46fb9
was not enough.
This should finally resolve the problem when a package list ends
up empty (most notably due to #if evaluating to false).
Sponsored-By: Offensive Security
2016-01-05 18:05:12 +01:00
Ben Armstrong
1f8975cc60
Remove 586 flavour for i386 architecture. ( Closes : #807972 )
2015-12-15 14:01:29 +00:00
Maximilian Mehnert
2c118b384c
scripts/build/binary_hdd: Fix code style
2015-12-15 13:59:49 +00:00
Maximilian Mehnert
46920d22bd
Old BIOS: start partition at specific place
...
Some BIOSes dont't boot from partitions starting at sector 1024.
Some are even more peculiar and only start from sector 63.
This patch adds an option for the binary_hdd target to manually
configure the partition start.
2015-09-23 10:48:46 +02:00
Maximilian Mehnert
8a52e569f5
force link creation when diverting flash-kernel
...
"ln -s /bin/true chroot/usr/sbin/flash-kernel" fails if the target
already exists.
2015-09-23 10:44:11 +02:00
Adrian Gibanel Lopez
b6771e7360
Loopback cfg support.
...
Development details
--------------------
* This patch has been based originally on: binary_grub2 . It has been
improved thanks to some binary_syslinux bits.
* This patch ensures that binary_loopback_cfg needs is run
before binary_syslinux is run.
The reason is that it reuses some code from binary_syslinux to avoid
problems when binary_syslinux renames the kernel filenames.
* This patch already supports CPU detection
* I haven't tested all the possible scenarios for the script (with the
latest version). When amd64 and 486 Gnu/Linux flavours is used and the
bootloader is syslinux it works ok.
* I have not implemented a disable switch for not generating it.
Usually you always want loopback.cfg to be there.
* Compared to binary_grub2 script I have removed the installation
entries because I did not see any of them in binary_syslinux.
How to test
-----------
These are some steps to easily test if Looback cfg support is working ok.
0) We assume you have generated an iso
1) Make sure you have a partition that Grub understands. Plain ext4 or
vfat should do it.
2) Create directory: /boot/boot-isos/
3) Put the iso file into that directory making sure it has an ISO or iso
extension.
4) Setup your computer to boot from cdrom and use: Super Grub2 Disk
2.00s2 (Hybrid version recommended)
5) Choose Boot manually...
6) Choose Bootable ISOs (in /boot- ... )
7) Choose (the detected) GRUB Loopback Config
(hdN,msodsN)/boot/boot-ios/name-of-the.iso
8) You will be presented your loopback.cfg. Choose anyone of the entries
(unless it does not match your cpu architecture of course).
9) You should boot into your Debian Live without problems (thanks to
findiso boot parametre).
If you ever wanted to test from your grub2 installation instead from
Super Grub2 Disk check: http://www.supergrubdisk.org/wiki/Loopback.cfg
for an example.
2015-08-30 00:04:04 +02:00
Adrian Gibanel Lopez
d515ae5684
Multi bootloader support
...
Note: OLDIFS use makes IFS to be reset to "" instead to it being unset.
Either we need to detect if old IFS was unset to unset it
or we need a proper way of setting it as a local variable.
Even more IFS it's not currently used in
Check_package (which it's called from: binary_hdd).
we should have a clean way of resetting/unsetting IFS when calling Check_package.
The other approach it's to explicitly define IFS with its default value in the
places inside live-build code where we implicitly suppose that it's going to have
its default value.
2015-08-29 23:56:41 +02:00
Carlos Zuferri
d43874c405
Adding missing file extension to hdd images.
2015-08-27 10:17:22 +02:00
Maximilian Mehnert
5161dcdf3b
Correct syslinux mbr.bin path.
2015-08-10 21:57:51 +02:00
Daniel Baumann
2dcb4dc06e
Updating stat calls to also give the right result in container setups, thanks to Kristian Klausen <klausenbusk@hotmail.com> ( Closes : #789300 ).
2015-08-10 21:45:00 +02:00
Daniel Baumann
421419c7fc
Getting rid of hard-coded release numbers and using /etc/os-release instead ( Closes : #790860 ).
...
Unfortunately VERSION_ID on testing/unstable is currently not included
in /etc/os-release, see #795124 .
2015-08-10 21:31:21 +02:00
Daniel Reichelt
2a400dc63e
Fix check for presence of chroot hooks
2015-07-26 13:44:16 +02:00
Raphaël Hertzog
2792097208
Drop elilo from list of d-i required packages on i386.
...
It's gone from unstable/testing and has never been really useful
on non-ia64 systems.
2015-07-15 12:05:52 +02:00
Raphaël Hertzog
b2dce51156
Do not pass an empty version in APT::FTPArchive::Release::Version ( Closes : #789800 ).
...
This avoids live-build triggering an apt-ftparchive bug (#693092 ).
2015-06-24 20:13:34 +02:00
Daniel Baumann
f7d2e5a84b
Correcting typos in chroot_hooks.
2015-06-15 07:11:03 +02:00
Daniel Baumann
c8ccfbc1b3
Removing parent-directory too when cleaning up the config tree bind mount in chroot.
2015-06-05 23:15:19 +02:00
Daniel Baumann
64a82a486c
Correcting execution of local source hooks.
2015-06-05 22:29:47 +02:00
Daniel Baumann
3d422634df
Correcting execution of local binary hooks.
2015-06-05 22:28:50 +02:00
Daniel Baumann
2fec43b68a
Correcting symlinking of hooks in lb config.
2015-06-05 21:35:59 +02:00
Daniel Baumann
ca1a31dec6
Installing apt and dpkg updates (if any) first in derivatives mode, then doing dist-upgrade.
2015-05-23 12:42:16 +02:00
Daniel Baumann
50794b1de1
Splitting non-live specific hooks into their own subdirectory within hooks.
2015-05-20 08:19:56 +02:00
Daniel Baumann
1c3891775b
Correcting leftover reference to binary_grub in binary.
2015-05-18 12:38:46 +02:00
Daniel Baumann
095e999d0c
Removing broken samhain handling ( Closes : #785264 ).
2015-05-14 13:15:45 +02:00
Daniel Baumann
9bf7c99eed
Dropping obsolete template checks within grub helpers.
2015-05-04 20:37:00 +02:00
Daniel Baumann
cf68abf417
Renaming grub helper to grub-legacy for consistency.
2015-05-04 20:36:20 +02:00
Daniel Baumann
f93fa286d5
Renaming grub2 helper to grub-pc for later grub-efi addition.
2015-05-04 20:33:00 +02:00
Daniel Baumann
50b0b6f125
Dropping support for upstart.
...
Ubuntu switched to systemd too, no point in keeping
upstart support arround anymore.
2015-05-03 16:12:30 +02:00
Daniel Baumann
279a149d8a
Dropping automagics for ubuntu.
...
Future live-build versions will still allow to use casper,
but its configuration will be done differently by a custom
config tree, rather than embedded and maintenance intensive
code in live-build itself.
2015-05-03 16:03:10 +02:00
Daniel Baumann
f93e83e351
Dropping automagics for casper.
...
Future live-build versions will still allow to use casper,
but its configuration will be done differently by hooks
in the config tree, rather than embedded and maintenance intensive
code in live-build itself.
2015-05-03 15:50:03 +02:00
Daniel Baumann
d18cb12cc1
Moving hooks to hooks/live, both in live-build sources and live-build configs.
...
Really soon live-build will support building non-live images out-of-the-box.
Therefore moving hooks into a live specific subdirectory.
2015-05-02 15:42:00 +02:00
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