Skip to content

Commit

Permalink
set rootfstype in armbianEnv.txt when building non-ext4 rootfs target…
Browse files Browse the repository at this point in the history
… images (originally removed with #1069)
  • Loading branch information
5kft committed Sep 23, 2018
1 parent 1a94e2a commit c1530db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/debootstrap-ng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1530db

Please sign in to comment.