diff options
author | Helmut Grohne <helmut@subdivi.de> | 2024-02-27 08:45:55 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2024-02-27 08:45:55 +0100 |
commit | 93436f32e595e216de538d693a1e579aa23de9a8 (patch) | |
tree | b143ca27f23ebba924b9b4d97e4c17dc7cc1a214 /bin/debvm-create | |
parent | 12d193bb8d108f5718dc12053ccf78a1b6a876ce (diff) | |
download | debvm-93436f32e595e216de538d693a1e579aa23de9a8.tar.gz |
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 <josch@mister-muffin.de>
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-x | bin/debvm-create | 1 |
1 files changed, 1 insertions, 0 deletions
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"' \ "$@" |