diff options
author | Helmut Grohne <helmut@subdivi.de> | 2025-06-26 18:54:41 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2025-06-26 18:54:41 +0200 |
commit | 96ce94662530433e694e8df4061843449c9399ae (patch) | |
tree | e852576152864e47da8602c13377528476f357de | |
parent | 043accf447edcb576eb343a9437990f2754b9b7a (diff) | |
download | debvm-debian/bookworm-backports.tar.gz |
Leave an apt.conf.d/00mmdebstrap behinddebian/bookworm-backports
bookworm's mmdebstrap fails when it's not present, but we do not want it
to be in the generated ext4 image.
Reported-by: Colin Watson <cjwatson@debian.org>
-rwxr-xr-x | bin/debefivm-create | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/debefivm-create b/bin/debefivm-create index f6368df..627c039 100755 --- a/bin/debefivm-create +++ b/bin/debefivm-create @@ -421,7 +421,8 @@ set -- "$@" \ '--customize-hook=mount -t tmpfs tmpfs "$1/mnt/dev" -o mode=0755' \ '--customize-hook=rm -f "$1/usr/sbin/policy-rc.d"' \ '--customize-hook=/sbin/mkfs.ext4 -d "$1/mnt" -L '"'$ROOTLABEL' -E '$EXT4_OPTIONS' '$IMAGE' '${EXT4_SIZE_KIB}K'" \ - '--customize-hook=umount --lazy "$1/mnt"' + '--customize-hook=umount --lazy "$1/mnt"' \ + '--customize-hook=touch "$1/etc/apt/apt.conf.d/00mmdebstrap"' set -- mmdebstrap "$@" |