From 134994fbe38e124823c138ffa591259169e5f241 Mon Sep 17 00:00:00 2001 From: Nikhil Jha Date: Mar 03 2020 23:34:02 +0000 Subject: fix reference --- diff --git a/02-install-rootfs.sh b/02-install-rootfs.sh index 5633e01..36716aa 100755 --- a/02-install-rootfs.sh +++ b/02-install-rootfs.sh @@ -47,7 +47,7 @@ then mount /dev/loop0p3 imgfs infecho "Mounting SD Card rootfs..." - partprobe -s $PP_SD_DEVICE + partprobe -s $PP_IMAGE sleep 1 # Sometimes it lags. mount $PP_PARTB rootfs diff --git a/03-install-kernel.sh b/03-install-kernel.sh index 754674f..09819b7 100755 --- a/03-install-kernel.sh +++ b/03-install-kernel.sh @@ -14,7 +14,7 @@ infecho () { # Notify User infecho "The env vars that will be used in this script..." -infecho "PP_SD_DEVICE = $PP_SD_DEVICE" +infecho "PP_SD_DEVICE = $PP_IMAGE" infecho "PP_PARTA = $PP_PARTA" infecho "PP_PARTB = $PP_PARTB" echo @@ -44,7 +44,7 @@ then mkimage -A arm64 -T script -C none -d boot.cmd boot.scr infecho "Writing bootloader..." - dd if=uboot.bin of=$PP_SD_DEVICE bs=1024 seek=8 + dd if=uboot.bin of=$PP_IMAGE bs=1024 seek=8 infecho "Changing directory back..." cd ../