Commit Graph

4113 Commits

Author SHA1 Message Date
Roland Clobus 8f763ee8b1
Bugfix: Add missing package when systemd is active
The package might be missing when building with a minimal configuration,
as recommended in the Live Manual, the example 'Base image' scenario:
'lb config --apt-recommends false --debootstrap-options "--variant=minbase"'
2022-01-08 10:27:50 +01:00
Roland Clobus 63399dab6e
Use the release date from the changelog as the date for the last modification of each manpage 2022-01-07 10:13:52 +01:00
Roland Clobus d7316bcec9
Remove generated translation files
These files are regenerated by 'make rebuild'
2022-01-07 10:13:52 +01:00
Roland Clobus dbb5e6143d
Add file with translatable text (lb_installer.1.pot) 2022-01-07 10:13:24 +01:00
Roland Clobus a7ce0710d4
Mark the phony targets in the Makefile 2022-01-07 10:12:28 +01:00
Roland Clobus bf0349c38e
Fix Lintian warning about malformed NEWS file 2022-01-07 10:12:26 +01:00
Roland Clobus 7185058425
Adding symlink for udeb data for bookworm 2021-12-03 19:57:33 +01:00
Ryan Finnie 7944adc6a5
Fix missing variable quoting in proxy handling
Fixes:
[2021-11-14 11:08:03] lb config noauto --apt-http-proxy http://proxy.example.com:8000
scripts/build/config: 868: local: Acquire::http::Proxy-Auto-Detect: bad variable name
2021-11-14 11:12:25 -08:00
Ryan Finnie 5da4ff53be
Add initial riscv64 support
Notes:
- No bootloader is configured; images must be booted via direct kernel
  - Tested via qemu + opensbi fw_jump.elf + kernel/initrd
- As riscv64 is currently in ports, the following options are required:
    --distribution unstable
    --mirror-bootstrap http://ftp.ports.debian.org/debian-ports/
    --security false
    --debootstrap-options --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg
- Normally ports require stacking two dists, unstable and unreleased.
  debootstrap does not support doing this, but as of this writing, there
  is nothing in riscv64 unreleased which is required to bootstrap.
  However, this would not have been possible a year ago.
2021-11-14 09:22:41 -08:00
Roland Clobus bcc4ab97c6
Code coverage test (for the proxy) 2021-09-23 13:53:53 +02:00
Roland Clobus d6a5a1f3cf
Simpler handling of http proxies
There are two main scenarios:
1) The host with live-build is configured to use a proxy
   This proxy will automatically be used by live-build
2) The user of live-build explicitly specifies a proxy
2A) With the environment variable 'http_proxy' (preferred)
2B) With the command line option --apt-http-proxy

Any inconsistency in the setting of a proxy results in an error message of 'lb config'
All internal tools (apt/apt-get/aptitude, wget and debootstrap) use the environment variables 'http_proxy' and 'no_proxy', which are passed along to the chroot where needed.

Test scenario:
- A virtual machine with all out-going traffic blocked, except for the proxy.
2021-09-23 13:53:49 +02:00
Luca Boccassi da16d81ed3 Merge commit 'e93e2b4b9dde3059935daa61cabeab663fc0838b'
Latest PR was automerged before latest changelog commits were
pushed, moving tree back in sync
2021-09-15 12:25:01 +01:00
Roland Clobus 7264a752bb
The support for FTP proxies has ended 2021-09-08 13:40:53 +02:00
Luca Boccassi e93e2b4b9d Update changelog for 1:20210902 release 2021-09-02 13:56:07 +01:00
Luca Boccassi 6fec0e45c4 Bump Standards-Version to 4.6.0, no changes 2021-09-02 13:54:28 +01:00
Luca Boccassi 012377e261 Bump debhelper-compat to 13, no changes 2021-09-02 13:54:16 +01:00
Nick Brown df79eeafaf Export variables for hooks
MR !173 removed the export of several variables moving/renaming them.
Continue to export both the new name and older compatibility name.

Closes: #992572
2021-08-24 20:14:03 +01:00
David Hewitt bd2a0e971b
binary_grub-efi: Allow removal of protected packages 2021-08-04 16:02:06 +01:00
Thore Sommer 1cd901cfa2 Enable dm-verity support also for ext filesystems
Those need a block size of 4k to work.
2021-07-19 11:52:09 +02:00
Thore Sommer e02e2df4b9 docs: documentation for dm-verity feature 2021-07-11 10:33:56 +02:00
Thore Sommer 0f53b8ed20 Adding dm-verity support for rootfs
This adds support for dm-vertiy on the root filesystem.
Currently only squashfs is supported.

Three new flags are introduced.
 * --dm-verity: Enable basic dm-verity support
 * --dm-verity-fec NB_ROOTS: Enable forward error correction. Optional
 * --dm-verity-sign SCRIPT: Specify signing script for the root hash. Optional
2021-07-11 10:33:48 +02:00
Luca Boccassi 873b2d4d73 Update changelog for 1:20210407 release 2021-04-07 18:53:28 +01:00
Luca Boccassi 5e15d0b0b0 Update changelog for 1:20210405 release 2021-04-05 13:04:26 +01:00
Luca Boccassi e51ea0ae92 Autopkgtest: remove architecture restriction
Let's see if everything works now.
2021-04-02 19:02:55 +01:00
Luca Boccassi 43afff005a Autopkgtest: build a stable image 2021-04-02 19:02:55 +01:00
Luca Boccassi 93ab49f927 Firmware download: skip architecture if not found
Contents-all.gz does not seem to exist on Buster, so don't fail if
wget doesn't find the file.

Closes: #986278
2021-04-02 16:57:33 +01:00
Luca Boccassi 57f2cc1cd6 Update changelog for 1:20210330 release 2021-03-30 16:18:31 +01:00
Luca Boccassi 305a145282 security: do not append /updates from bullseye onward
No longer required.

Closes: #986148
2021-03-30 15:30:32 +01:00
Luca Boccassi 80711a7542 Fix typo in changelog
E: live-build: possible-missing-colon-in-closes

Gbp-Dch: ignore
2021-03-29 18:37:29 +01:00
Luca Boccassi d17a64ad74 Update changelog for 1:20210329 release 2021-03-29 10:52:31 +01:00
Luca Boccassi 4735da6f52 Add NEWS entry to notify about filesystemd.size removal 2021-03-29 10:52:31 +01:00
Roland Clobus 3cc60e4f64 Removed filesystem.size for squashfs images.
See for more details https://lists.debian.org/debian-live/2021/03/msg00008.html
2021-03-29 09:08:35 +00:00
Roland Clobus 745b2be876
Fixed handling of checksums in combination with the d-i installer.
1) lb config rejected multiple checksum types
2) When using the installer, cdrom-checker requires a md5 checksum file,
   use 'Check the integrity of the installation media' in the installer
3) The comments in the first lines of the checksum files caused
   cdrom-checker to fail the integrity of the image
2021-03-21 12:32:54 +01:00
Roland Clobus 9524705c34
Support security for bullseye. See https://wiki.debian.org/NewInBullseye. Closes #964914 2021-03-11 12:55:44 +01:00
Unit 193 21eff20ea3 firmwarelists.sh: Search Contents-all for firmware too. 2021-02-22 20:25:55 -05:00
Ryan Finnie 8a8e11e5d1 No mksquashfs progress bar if stdin is not a terminal
Explicitly documented updated conditional, as "-t" is not a
commonly seen shell test.
2021-02-18 08:48:27 +00:00
Ryan Finnie a0400b2499
Use --apt-http-proxy/--apt-ftp-proxy for debootstrap 2021-02-17 22:02:47 -08:00
Luca Boccassi 965d75053d Update changelog for 1:20210216 release 2021-02-16 21:25:49 +00:00
Roland Clobus 2c7c90487a
mkfs.msdos needs at most 32 bits for the -i argument.
Use the hexadecimal version of SOURCE_DATE_EPOCH, limited to the lower 32 bits
2021-02-16 21:22:12 +01:00
Luca Boccassi d7b2d55c8f autopkgtest: restrict to amd64 and i386 for now
After Bullseye we can re-enable other architectures, but for now
disable them so that we can get bug fixes in Bullseye.
2021-02-16 18:47:21 +00:00
Luca Boccassi b968e2c0f7 Fix build on architecture without syslinux
Don't run xorriso with -isohybrid-mbr if LB_BOOTLOADER_BIOS is
not set to syslinux

Closes: #982746
2021-02-14 21:38:19 +00:00
Roland Clobus b13c4b1583
Adding symlink for udeb data for bullseye 2021-02-10 22:14:36 +01:00
Roland Clobus a37cbcb574
lilo is not available any more in Bullseye (and newer), see #973850 2021-02-10 21:47:22 +01:00
Roland Clobus c9cf409e83
The local LIVE_BUILD wins over the system live-build for the list of udeb exclusions 2021-02-10 21:47:22 +01:00
Roland Clobus 01dc99e528
The local LIVE_BUILD wins over the system live-build for the list of udeb inclusions. Only copy when the distribution is known 2021-02-10 21:47:20 +01:00
Ryan Finnie d6b7a54831
Restore_package_cache: Handle existing but empty packages directory 2021-02-04 12:37:46 -08:00
Ryan Finnie 5c838744d6
binary_syslinux: Do not modify grub theme.txt if grub/splash.png exists
If grub/splash.png exists, assume the configuration editor intends
to have a grub-specific splash.png, and do not modify theme.txt.
But if syslinux has the only known splash.png, use it for both
syslinux and grub.

(This allows for a hybrid image where the grub side can have e.g. a
16:9 1920x1080 splash.png which gets grub is capable of automatically
scaling, while the syslinux side has a 640x480 splash.png which
effectively must be this fixed size.)
2021-01-30 21:58:09 -08:00
Roland Clobus dc1a03d053
Reproducible fix for glibc 2021-01-23 21:26:09 +01:00
Raphaël Hertzog 259fd73558
Add symlinks to support kali releases 2021-01-22 22:30:54 +01:00
Raphaël Hertzog 903579e741
Bump Standards-Version to 4.5.1
Gbp-Dch: Ignore
2021-01-22 17:59:41 +01:00