summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-03-05add missing shebangs to temp generated shell code filesLyndon Brown
Closes: #952863
2020-03-05chroot_dpkg: start-stop-daemon simplificationLyndon Brown
inspired by what it does for `/usr/sbin/flash-kernel` Gbp-Dch: Short Closes: #952891
2020-03-05bootloaders: fix ignoring LB_DEBIAN_INSTALLER_GUI in menu creationLyndon Brown
LB_DEBIAN_INSTALLER_GUI defines whether or not to provide the graphical installer. the installer_debian-installer script pays attention to it and does not download it if not wanted. the actual bootloaders however (both grub2/loopback and syslinux) ignore it, which leaves broken and unwanted menu entries. this fixes that. Gbp-Dch: Short Closes: #952890
2020-03-05memtest: better handle obsolete LB_MEMTEST valueLyndon Brown
available values currently are memtest86+|memtest86|none; "false" is presumably handled for backwards compatibility there is no need to handle this in individual scripts. the right place to handle it is in Set_Defaults as now done Gbp-Dch: Short Closes: #952866
2020-03-05simplify --debian-installer choicesjnqnfe
`false` and `none` make no sense as choices for this option. Here we replace `false` with `none`, and remove `true`. Note that `true` was treated as an alias for netinst (see the changes to source_disk and and binary_disk). For backwards compatibility we still allow `true` and `false` by converting them to `netinst` and `none` respectively, whilst printing a warning to encourage users to move to `netinst`/`none`. Gbp-Dch: Short Closes: #952864
2020-03-05source: fix mistaken append instead of overwriteLyndon Brown
Closes: #952862
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