diff options
Diffstat (limited to 'wic/rock-pi-4.wks')
-rw-r--r-- | wic/rock-pi-4.wks | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wic/rock-pi-4.wks b/wic/rock-pi-4.wks index 8e4b37c..75ac358 100644 --- a/wic/rock-pi-4.wks +++ b/wic/rock-pi-4.wks @@ -2,6 +2,6 @@ # Released under the MIT license (see COPYING.MIT for the terms) include rk3399-boot.wks -part / --align 131072 --source rootfs --fstype=ext4 --label root +part / --align 131072 --ondisk ${RK_BOOT_DEVICE} --source rootfs --fstype=ext4 --label root -bootloader --ptable gpt --append="console=tty1 console=ttyS2,1500000n8 rw root=/dev/mmcblk1p7 rootfstype=ext4 init=/sbin/init" +bootloader --ptable gpt --append="console=tty1 console=ttyS2,1500000n8 rw root=/dev/${RK_BOOT_DEVICE}p7 rootfstype=ext4 init=/sbin/init" |