From a59ff59cf3bedaafceee139e5ec5521bf99d34f6 Mon Sep 17 00:00:00 2001 From: Maya Matuszczyk Date: Wed, 20 Nov 2024 21:29:17 +0100 Subject: [PATCH] baseboard/trogdor/postinstall: create rmtfs directory before using it --- baseboard/trogdor/postinstall | 1 + 1 file changed, 1 insertion(+) diff --git a/baseboard/trogdor/postinstall b/baseboard/trogdor/postinstall index 887551e..790c611 100755 --- a/baseboard/trogdor/postinstall +++ b/baseboard/trogdor/postinstall @@ -6,6 +6,7 @@ if [ -z "$DESTDIR" ]; then exit 1 fi +mkdir -p "$DESTDIR/var/lib/rmtfs" for name in fs1 fs2 fsg fsc; do dd if=/dev/zero of="$DESTDIR/var/lib/rmtfs/modem_$name" bs=1M count=2 done