Skip to content

Commit b261c00

Browse files
committed
Make sure the /etc/fstab is empty
Otherwise we can get into a race condition between /media/cdrom and /media/sr0 both tryin to mount /dev/sr0. Signed-off-by: Jan Dubois <[email protected]>
1 parent c3583ad commit b261c00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

genapkovl-lima.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ tmp="$(mktemp -d)"
2828
trap cleanup EXIT
2929

3030
mkdir -p "$tmp"/etc
31+
makefile root:root 0644 "$tmp"/etc/fstab <<EOF
32+
# /etc/fstab
33+
EOF
34+
3135
makefile root:root 0644 "$tmp"/etc/hostname <<EOF
3236
$HOSTNAME
3337
EOF

0 commit comments

Comments
 (0)