merge: targets: update image generation and targets
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
This commit is contained in:
committed by
Felix Fietkau
parent
bf5cef47b3
commit
7b5c989ab9
@@ -9,8 +9,8 @@ setenv fdtfile armada-388-clearfog-base.dtb
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user