Skip to content

Commit

Permalink
baseboard/trogdor/postinstall: create rmtfs directory before using it
Browse files Browse the repository at this point in the history
  • Loading branch information
Maccraft123 committed Nov 20, 2024
1 parent f0af7cc commit a59ff59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baseboard/trogdor/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a59ff59

Please sign in to comment.