28a3a15955
release 1.5.7
2025-04-08 12:29:53 +02:00
9e7d7d0d67
README.md: add Charles Short to list of contributors
2025-04-08 06:15:56 +02:00
ff91e58219
mmdebstrap-autopkgtest-build-qemu: shfmt --binary-next-line --case-indent --indent 2 --simplify
2025-04-08 06:15:56 +02:00
38ebe6aa1f
add two FIXME comments to be solved later...
2025-04-08 06:15:55 +02:00
Jochen Sprickerhof
c7803e2e2e
m-a-b-q: add --sshkey= arg
...
autopkgtest-virt-qemu opens an ssh port by default. This makes it
usable.
2025-04-08 06:15:55 +02:00
fe758b8441
tests/chrootless-foreign: enable build-essential as #825385 and #1020533 were fixed in dpkg
2025-04-08 06:15:55 +02:00
b04758b133
tests/as-debootstrap-unshare-wrapper: allow disabling auto-apt-proxy by setting an empty http_proxy environment variable
2025-04-08 06:15:55 +02:00
bf6aaa30ac
run_progress(): print exit code or signal on failure
2025-04-08 06:15:55 +02:00
d7107567d1
support loong64
...
Thanks: Helmut Grohne
2025-04-08 06:15:54 +02:00
712fdcf1ab
coverage.sh: indicate what file exceeded maximum line length
2025-04-08 06:15:54 +02:00
59e5870e7b
gpgvnoexpkeysig: check if gpgv exists and print error otherwise
2025-04-08 06:15:54 +02:00
b78afd9e92
tests/chrootless: account for more moving parts in the underlying test system
2025-04-08 06:15:54 +02:00
5761c527a0
mmdebstrap: fix formatting of last commit
2025-04-08 06:15:46 +02:00
7709ad49bb
Add support for elxr
...
eLxr is a debian derative based on Debian 12. We use
mmdebstrap to bootstrap our edge images. This patch
allows users to use the correct mirror, and right
suite when bootstrapping eLxr.
Signed-off-by: Charles Short <charles.short@windriver.com>
2025-04-08 03:28:16 +00:00
Jochen Sprickerhof
9366f1fee7
Use format string for shell printf
...
Fixes:
sh: 1: printf: usage: printf format [arg ...]
due to Dir::Etc::trusted no longer being a thing since apt 2.9.24.
2025-01-29 06:26:22 +01:00
b1ba7dab3d
tests/create-foreign-tarball: also remove padlock.so on x86_64 to equalize the test cases
2025-01-13 13:30:04 +01:00
792867a390
release 1.5.6
2025-01-13 13:28:55 +01:00
917a879c4b
place DPkg::Pre-Install-Pkgs workaround into a new config file
...
Using APT_CONFIG will render the setting ineffective.
Debian-Bug: #1091442
2025-01-11 09:11:04 +01:00
dc5bbb7173
tests/chrootless: make sure that nothing outside the chroot changes
2025-01-11 09:04:07 +01:00
e62f32b098
keep some 20220613 formatting until 20250105 is in Debian stable
2025-01-10 10:53:11 +01:00
fcf1c407de
tests/empty-suite: do not rely on existing ./cache/mmdebstrap-unstable-apt.tar
...
This is useful for running this test standalone or as part of the Debian
package autopkgtest where it is run in the optional set of tests.
2025-01-10 01:36:14 +01:00
1a17c70ffb
coverage.txt: mark empty-suite with Needs-APT-Config: true
2025-01-10 00:27:49 +01:00
b6a2a210a3
release 1.5.5
2025-01-09 22:02:01 +01:00
403ac24184
Do not run dpkg-preconfigure via DPkg::Pre-Install-Pkgs hook
...
Usually running dpkg-preconfigure is not a problem unless in in
chrootless mode, which apt-extracttemplates does not and can not support
because it cannot know that this is a chrootless installation. We
always turn it off for equivalent behavior in all modes. Running
dpkg-preconfigure should not be needed as we also have set
DEBIAN_FRONTEND=noninteractive and DEBCONF_NONINTERACTIVE_SEEN=true and
should thus never see debconf prompts.
Debian-Bug: #1091442
2025-01-09 17:08:38 +01:00
b61e785f2d
tests/multiple-include: tzdata 2024b-5 does not create /etc/timezone anymore
...
Debian-Bug: #822733
2025-01-09 17:08:01 +01:00
e7242bf0e6
tests/create-foreign-tarball: openssl 3.4.0-2 dropped padlock.so on all arches other than x86
2025-01-09 10:01:18 +01:00
44c470b24b
make_mirror.sh: prefer gpg-from-sq over gpg for trixie and later
2025-01-09 10:00:14 +01:00
e65bb53697
tests/check-against-debootstrap-dist: debootstrap 1.0.139 no longers pulls in usr-is-merged
2025-01-03 23:03:56 +01:00
60273cd9bd
tests/chrootless*: no need for merged-usr hook anymore as base-files sets up merged-/usr
2025-01-03 15:12:09 +01:00
Jochen Sprickerhof
6e75f85588
m-a-b-q: support passing args to mmdebstrap
2024-12-16 18:47:40 +01:00
Jochen Sprickerhof
cf2b178f99
Replace gpg --update-trustdb by gpg --check-trustdb
...
Both arguments do the same but --check-trustdb avoids user interaction
and is implemented in gpg-from-sq.
Closes : #1077600
Suggested-by: Blair Noctis <n@sail.ng>
2024-12-03 18:31:09 +01:00
e5d86136ed
remove unused call to dpkg --print-architecture
2024-11-27 07:28:03 +01:00
6617436d70
release 1.5.4
2024-10-28 09:16:58 +01:00
e4777d8fdf
document how to build a jessie chroot tarball
2024-10-28 09:15:18 +01:00
14e2f9ea11
tests/check-against-debootstrap-dist: require iputils-ping >= 3:20240905-1
2024-10-28 09:15:00 +01:00
99f82456f3
do not generate apt sources.list entry if SUITE is empty
2024-10-28 09:13:48 +01:00
5055b1b44c
tests/check-against-debootstrap-dist: since iputils-ping 20240905 there are no extended attributes anymore
2024-10-11 18:38:04 +02:00
c82fc7e261
format shell scripts with shfmt --binary-next-line --case-indent --indent 2 --simplify
2024-10-11 18:32:57 +02:00
eca6cb314c
tests/tarfilter-idshift: use a fabricated tarball instead of real chroot
...
iputils-ping does not ship /bin/ping with xattrs anymore.
2024-10-11 11:16:14 +02:00
395ee60a7f
release 1.5.3
2024-09-13 07:35:10 +02:00
1a8f2537ac
explain --pax-option with comment
2024-09-13 01:19:17 +02:00
0f5d935941
more sanity checks of target directory
2024-09-13 01:19:02 +02:00
dbce1ee27b
fix typo
2024-09-13 01:18:20 +02:00
6e4ed4a049
add --skip=cleanup/reproducible/machine-id
2024-09-13 01:17:52 +02:00
87b9b385b3
tarfilter: do not rely on paths being absolute (starting with a single slash)
2024-09-13 01:16:31 +02:00
acf036fa79
qemu-user now includes the static binary and qemu-user-static will be dropped in the long-term
2024-09-13 01:13:04 +02:00
d9c04338f8
support chrootless hurd-i386
...
$ mmdebstrap --variant=apt --include=passwd,debian-ports-archive-keyring,mmdebstrap,sysvinit-core,sysv-rc \
--customize-hook='chroot "$1" mmdebstrap --mode=chrootless --arch=hurd-i386 --include=sysvinit-core,sysv-rc,debian-ports-archive-keyring,gnumach-image-1-486 --customize-hook="passwd --root=\"\$1\" --delete root" --variant=apt unstable /tmp/chroot.tar "deb http://ftp.ports.debian.org/debian-ports/ unstable main" "deb http://ftp.ports.debian.org/debian-ports/ unreleased main"' \
--customize-hook='copy-out /tmp/chroot.tar .' unstable /dev/null
$ /sbin/mkfs.ext2 -q -F -o hurd -I 128 -b 4096 -d chroot.tar hurd.ext2 204800
$ qemu-system-i386 -nographic -net user,hostfwd=tcp:127.0.0.1:2222-:22 \
-net nic,model=e1000 -m 1G -kernel gnumach-1.8-486-up \
-append 'root=device:hd0 console=com0' --initrd './ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume),./exec.static $(exec-task=task-create)' \
-drive file=hurd.ext2,format=raw
2024-08-27 01:15:00 +02:00
d0568a2b9e
Wait for (reap) potential zombies and otherwise long-running background processes
...
Otherwise they might hog resources like /dev/null which can then not be
unmounted resulting in their mountpoints (the regular files) not being
removable and then the removal of device nodes in run_cleanup (if
mmdebstrap is run with --skip=output/dev) will fail.
Another potential solution would be to run each hook and apt invocation
in its own process namespace but this would require to remount /proc and
this in turn would require a new mount namespace as well but we'd like
to keep the mount namespace across multiple hooks...
2024-08-18 22:07:52 +02:00
Jochen Sprickerhof
98b3c7f2cd
m-a-b-q: replace test_installed by dpkg-checkbuilddeps
2024-07-12 09:49:39 +02:00
8e2f62d08c
release 1.5.2
2024-06-26 12:52:56 +02:00