From 93436f32e595e216de538d693a1e579aa23de9a8 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 27 Feb 2024 08:45:55 +0100 Subject: debvm-create: emit an empty /dev With the change from genext2fs to mkfs.ext4, we no longer create an intermediate tar archive and thus no longer create device nodes if using unshare. Thus our output is slightly unreproducible. At the same time, we never need devices, because /dev is mounted as devtmpfs. Hence, we unconditionally skip them and thus improve reproducibility. Reported-by: Johannes Schauer Marin Rodrigues --- bin/debvm-create | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/debvm-create') diff --git a/bin/debvm-create b/bin/debvm-create index 0e1a969..c148ed2 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -305,6 +305,7 @@ set -- \ --verbose \ --variant=apt \ "--format=$MMFORMAT" \ + --skip=output/dev \ '--customize-hook=echo "LABEL=debvm / ext4 defaults 0 0" >"$1/etc/fstab"' \ "$@" -- cgit v1.2.3