From: Jan Kiszka <[email protected]>

- use spaces rather than "=" as separator between parameter name and
  argument
- drop irrelevant bootloader line, kernel parameters are assigned
  via the custom /etc/default/u-boot-script
- drop unused --ondisk from rawcopy partition
- use correct mmcblk0 device name for root partition

Signed-off-by: Jan Kiszka <[email protected]>
---
 scripts/lib/wic/canned-wks/orangepi-zero.wks | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/scripts/lib/wic/canned-wks/orangepi-zero.wks 
b/scripts/lib/wic/canned-wks/orangepi-zero.wks
index ad1bf56..07cefb5 100644
--- a/scripts/lib/wic/canned-wks/orangepi-zero.wks
+++ b/scripts/lib/wic/canned-wks/orangepi-zero.wks
@@ -1,5 +1,3 @@
-part u-boot --source rawcopy 
--sourceparams="file=/usr/lib/u-boot/orangepi_zero/u-boot-sunxi-with-spl.bin" 
--ondisk mmcblk --no-table --align 8
+part u-boot --source rawcopy --sourceparams 
"file=/usr/lib/u-boot/orangepi_zero/u-boot-sunxi-with-spl.bin" --no-table 
--align 8
 
-part / --source rootfs --ondisk mmcblk --fstype=ext4 --label platform --align 
1024
-
-bootloader --append="root=/dev/mmcblk0p1"
+part / --source rootfs --ondisk mmcblk0 --fstype ext4 --label platform --align 
1024
-- 
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to