summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-03-05don't unnecessarily convert exit codes to stringsLyndon Brown
Closes: #952861
2020-03-05installer: de-dup daily DI urlLyndon Brown
Closes: #952860
2020-03-05fix indentationLyndon Brown
including: - spaces replaced with tabs for consistency - alignment of `;;` in some case statements changed for consistency Gbp-Dch: Short Closes: #952857
2020-03-05manpage: fix wrong description for --firmware-binaryLyndon Brown
--firmware-binary adds firmware to d-i, --firmware-chroot adds to live Gbp-Dch: Short
2020-03-05binary: fix missing handling of disk info for netboot casejnqnfe
The specifics of what whould be done for it, beyond the disk info label, needs addressing. (fixme comment left). (#952854). Partial fix for #952846 Gbp-Dch: Short Closes: #952846
2020-03-05source: fix missing handling of disk info for netboot casejnqnfe
Partial fix for #952846 Gbp-Dch: Short
2020-03-05installer: fix unquoted stringLyndon Brown
Gbp-Dch: Ignore Closes: #952851
2020-03-05binary_rootfs: fix chmod of squashfs image only being applied when using chrootjnqnfe
Perhaps it is unnecessary in the other case, but not harm applying in both to be certain. Gbp-Dch: Short Closes: #952850
2020-03-05binary_rootfs: fix deletion of excludes file from wrong location in squashfs ↵jnqnfe
after use Closes: #952849
2020-03-05bootstrap: only output message where actually applicablejnqnfe
Gbp-Dch: Ignore Closes: #952848
2020-03-05bootstrap: drop obsolete check for `--no-check-gpg` support in debootstrapjnqnfe
This has been present in debootstrap since version 1.0.30. Gbp-Dch: Short Closes: #952847
2020-03-05binary: fix missing use of chroot_dpkg in binary stagejnqnfe
update feb-2020: the bug report is marked as fixed in version 5.0-a7-1, however there is no such patch merged for that tagged release, nor at all in master, so this properly closes it. Gbp-Dch: Short Closes: #776532
2020-03-05grub2: fix using wrong directory in certain casesjnqnfe
Update feb-2020: Both grub2 and syslinux were affected by this issue. Someone else's patch fixing syslinux only just recently got merged in 2735f3bd38d3d2f0c48ea1ce023a27943ef0ab84 but grub2 was still affected. I had made patches for both in 2015 which never got merged. This is the grub2 one. Gbp-Dch: Short Closes: #952843
2020-03-05archives: fix deb-src entry exclusionLyndon Brown
the sed commands were missing '-i' to actually modify the file (rather than output to stdout) Gbp-Dch: Short Closes: #952842
2020-03-05bootstrap_archives: remove unnecessary param defaultLyndon Brown
all uses of this script pass in a suitable 'pass' param, and a previous commit added a validation check. Having a fallback to 'binary' should a param not be supplied is completely unnecessary. fyi, this script is only ever called from the bootstrap stage and with 'binary' as the param, thus supporting being called with 'source' and indeed having a 'pass' param at all is surely utterly pointless in itself. Gbp-Dch: Ignore
2020-03-05archives: add 'pass' param validation checkLyndon Brown
if this had already been in place then it would have caught bug #952837. Gbp-Dch: Short Closes: #952841
2020-03-05archives: fix incorrect usage stringLyndon Brown
Gbp-Dch: Ignore Closes #952839
2020-03-05archives: fix removal of chroot/root/packages.chroot package listjnqnfe
Gbp-Dch: Short Closes: #952838
2020-03-05source: fix wrong action value for script executionjnqnfe
valid values are binary|source, and source should have been used here. Gbp-Dch: Short Closes: #952837
2020-03-01remove another redundant filejnqnfe
Originally removed in 42fb1e197607ac8920b3f8f3a583d1d540c5ae05 Accidentally restored in bc50443cf043616c7087f383e11bf85cd233c54e (Closes #952835)
2020-03-01remove redundant filejnqnfe
18e0a2f32525e5092be322272e7bf9296f050584 "rebranded live sources" which included renaming `source_debian-live` to `source_live` but accidentally left the old file in place. (Closes #952834)
2020-02-17binary_syslinux: Acommodate LB_INITRAMFS not live-bootDavid Hewitt
2020-01-23Standardize on having the GUI installation first in boot menusRaphaël Hertzog
debian-cd changed it that way, we already have it that way in EFI boot, let's be consistent.
2019-12-19Revert some Kali-specific changeRaphaël Hertzog
That change was erroneously committed as part of 44b9b0a6501476de594ce3783cea5df0c141478c
2019-12-19Fix "--debian-installer cdrom" and its interaction with binary_package-listsRaphaël Hertzog
apt-ftparchive is not able to differentiate between .deb and .udeb so we have to install them in different pool directories so that we can regenerate the Packages files without having the .udeb show up unexpectedly. Since binary_package-lists can overwrite the Packages files generated in installer_debian-installer we have to ensure that it also updates the Release file created formerly. Ideally we should find a way to avoid the duplication of this logic. Gbp-Dch: Full
2019-12-19Add local archive keys before configuring local package repositoryJohn Estabrook
In the binary stage, chroot is restored from cache/bootstrap, which contains neither custom repo lists, nor keys. If local packages are present, chroot_archives will call 'Apt chroot update' after adding custom repo lists without adding keys. apt-get will then fail instead of warn as of apt version 1.5. Closes: #941691
2019-12-19Run binary_hooks after binary_grub-efiRonny Standtke
That way it becomes possible to customize grub-efi files. Closes: #940846
2019-12-19Support --distribution-binary and --distribution-chrootRaphaël Hertzog
This makes it possible to build an image against a first distribution (--distribution-chroot) and have the resulting image point to another distribution (--distribution-binary). We can use this to build against a snapshot and have the result use the original distribution that was snapshotted. Closes: #888507
2019-12-19installer_debian-installer: don't mess with /var/lib/dpkg/statusRaphaël Hertzog
Use a similar trick as for chroot_live-packages. Relates to #944983.
2019-12-19chroot_live-packages: use dpkg-query to see if a package is installedRaphaël Hertzog
Closes: #944983
2019-12-19binary_package-lists: avoid messing with dpkg's status fileRaphaël Hertzog
Instead of emptying the file temporarily, just tell APT to use /dev/null instead of /var/lib/dpkg/status. Relates to #944983
2019-06-19--mirror-binary* was not properly sortedRoland Clobus
2019-06-16Reordered the command line options to make them in alphabetical orderRoland Clobus
2019-06-16Manpage: Added documentation for --bootstrap-qemu-[arch|exclude|static]Roland Clobus
2019-06-16Manpage: Added documentation for --loadlinRoland Clobus
2019-06-16Manpage: Added documentation for --firmware-binary and --firmware-chrootRoland Clobus
2019-06-16Manpage: --mode explicitly supports debian and progress-linux. Special ↵Roland Clobus
handling for ubuntu was dropped 2015-05-03
2019-06-16Manpage: Added documentation for --hdd-label, --hdd-size and ↵Roland Clobus
--hdd-partition-start
2019-06-16Manpage: Added documentation for --image-nameRoland Clobus
2019-06-16--initramfs support none and live-bootRoland Clobus
2019-06-16Matched the documentation of --checksums to the implementation in live-bootRoland Clobus
2019-06-03Fixed a typo for --clean in 'lb config --help'Roland Clobus
2019-06-03Mention --breakpoints in 'lb config --help'Roland Clobus
2019-06-03Removed option --bootstrap, which is not implemented.Roland Clobus
2019-06-03Do not store _QUIET in the configuration file, otherwise the overridesRoland Clobus
in the command line get ignored. Adds a documentation line for the other command line options as well.
2019-06-03Removed obsolete short command line options.Roland Clobus
-f was --filesystem -l was --language -p was --package-list -e was --encryption
2019-06-03Reenabled the command line option for colored messages for lb_config. The ↵Roland Clobus
functionality was added 2008-11-01, but was not really active.
2019-04-21Readd findiso parametre to loopback.cfg generation.adrian15
2019-03-14Fixed foreign architecture package support to linux kernel flavoursAdrian Gibanel Lopez
Before Stretch there was an special amd64 kernel in the i386 arch repo. So if you wanted to install an amd64 kernel alongside an i386 system you did not need an additional arch repo. Debian added multiarch support. That way you can install library packages from multiple architectures on the same machine. So there is no longer a need for having an amd64 kernel in i386 arch repo. You can add an amd64 arch repo to an i386 arch system and fetch the amd64 kernel from the am64 arch repo. live-build can be setup to use several linux kernel flavours in a single image. So in the days previous to this patch you could issue: lb config --linux-flavours "486 amd64" to use both 486 and amd64 kernel flavours. Adding additional arch support to linux flavours poses two problems: * Packages need to have its arch suffix (e.g. amd64:amd64). If the suffix is not there apt-get insists on search amd64 kernel package on i386 arch repo and, of course, fails to find it. * The rest of the code which handles labels (bootloader config files) or installed filenames (kernel images themselves) do not use the arch suffix. This patch adds foreign architecture package support to linux kernel flavours having taken those problems into account. Practical example usage: i386 system and extra amd64 kernel. First add amd64 foreign architecture in your i386 system thanks to: dpkg --add-architecture amd64 apt-get update . Finally enable amd64 kernel from amd64 arch alongside the i386 system's 686 kernel thanks to: lb config --architectures i386 --linux-flavours "686 amd64:amd64"
2018-09-19UEFI: remove the EFI/debian/grub.cfg, not necessary anymoreLuca Boccassi
Turns out gcd works fine after adding /boot/grub/grub.cfg in the img, as that's the path that gets hardcoded, and adding the EFI/debian/ grub.cfg was not necessary, so remove it.