diff options
author | Thomas Zeman <contact@thomas-zeman.com> | 2022-11-11 12:25:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-11 12:25:47 +0000 |
commit | 962ba4f72986a70446b270c0b3597f82bf3e4e40 (patch) | |
tree | af2ed009cc191c0907845e79afeb0c23f89109f2 | |
parent | fa207d00efb451d9ed20820735608a1e625155ef (diff) | |
download | alpine-conf-962ba4f72986a70446b270c0b3597f82bf3e4e40.zip |
Make dir $mnt/boot before writing files to it
-rw-r--r-- | setup-disk.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in index a586a23..399123a 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -462,6 +462,7 @@ rpi_gen_config() { # setup rpi bootloader setup_raspberrypi_bootloader() { local mnt="$1" root="$2" modules="$3" kernel_opts="$4" + mkdir -p "$mnt"/boot rpi_gen_config > "$mnt"/boot/config.txt echo "root=$root modules=$modules $kernel_opts" > "$mnt"/boot/cmdline.txt } |