scripts/mkimage: use uuid for partitions on RPi

This commit is contained in:
Lukas Rusak 2017-11-17 23:15:37 -08:00
parent 298a1c2510
commit 561d22515f
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -193,7 +193,7 @@ elif [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
# create bootloader configuration
echo "image: creating bootloader configuration..."
cat << EOF > "$LE_TMP"/cmdline.txt
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet $EXTRA_CMDLINE
boot=UUID=$UUID_SYSTEM disk=UUID=$UUID_STORAGE quiet $EXTRA_CMDLINE
EOF
mcopy "$LE_TMP/cmdline.txt" ::