summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/wic
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-04-10 14:25:08 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-04-10 14:25:08 +0000
commit93c3f85bd8b1313f9cc4cdaf1cd4bd6d9dbdc91e (patch)
tree7a22954a1c3a45545a2f6bd53dd54a3354d4c8ff /meta-agl-bsp/wic
parent6df5650548d5a3ce4eff22f2a548ce921d2c3319 (diff)
parentb749653a10ca1b360bda597f9feda3eabac7ca2a (diff)
Merge "Rework how we pass arguments to QEMU, provide a wks.in file"
Diffstat (limited to 'meta-agl-bsp/wic')
-rw-r--r--meta-agl-bsp/wic/directdisk.wks.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-agl-bsp/wic/directdisk.wks.in b/meta-agl-bsp/wic/directdisk.wks.in
new file mode 100644
index 000000000..f7b220cdb
--- /dev/null
+++ b/meta-agl-bsp/wic/directdisk.wks.in
@@ -0,0 +1,9 @@
+# short-description: Create a 'pcbios' direct disk image
+# long-description: Creates a partitioned legacy BIOS disk image that the user
+# can directly dd to boot media.
+
+part /boot --source bootimg-pcbios --use-uuid --label boot --active --align 1024
+part / --source rootfs --use-uuid --fstype=ext4 --label platform --align 1024
+
+bootloader --timeout=0 --append="rootwait rootfstype=ext4 ${QB_KERNEL_CMDLINE_APPEND}"
+