From b261c004afa67394dfb88b935565b2f5cd10ad4f Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Mon, 15 Jan 2024 22:15:45 -0800 Subject: [PATCH] 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 --- genapkovl-lima.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/genapkovl-lima.sh b/genapkovl-lima.sh index befefc8..a632784 100755 --- a/genapkovl-lima.sh +++ b/genapkovl-lima.sh @@ -28,6 +28,10 @@ tmp="$(mktemp -d)" trap cleanup EXIT mkdir -p "$tmp"/etc +makefile root:root 0644 "$tmp"/etc/fstab <