merge: targets: update image generation and targets
[openwrt/openwrt.git] / target / linux / mvebu / image / cfpro-boot.script
index e1523f8fb37fb235474ce331f2bfa8b175c07791..1588c1546e5323cd4a0522c25596013ac8b0b60a 100644 (file)
@@ -5,8 +5,8 @@
 
 # generate bootargs for rootfs on MMC
 if test "${devtype}" = "mmc"; then
-       setexpr lede_rootpart ${distro_bootpart} + 1
-       setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${lede_rootpart} rootfstype=auto rootwait
+       setexpr openwrt_rootpart ${distro_bootpart} + 1
+       setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${openwrt_rootpart} rootfstype=auto rootwait
 fi
 
 # here one could add logic for other rootfs device types such as scsi and usb