mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-27 16:49:00 +00:00
set rootfstype in armbianEnv.txt when building non-ext4 rootfs target images (originally removed with https://github.com/armbian/build/pull/1069/)
This commit is contained in:
parent
1a94e2a257
commit
c1530db482
1 changed files with 1 additions and 0 deletions
|
@ -460,6 +460,7 @@ prepare_partitions()
|
|||
else
|
||||
echo "rootdev=$rootfs" >> $SDCARD/boot/armbianEnv.txt
|
||||
fi
|
||||
echo "rootfstype=$ROOTFS_TYPE" >> $SDCARD/boot/armbianEnv.txt
|
||||
elif [[ $rootpart != 1 ]]; then
|
||||
local bootscript_dst=${BOOTSCRIPT##*:}
|
||||
sed -i 's/mmcblk0p1/mmcblk0p2/' $SDCARD/boot/$bootscript_dst
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue