summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/canned-wks/galileodisk-sd.wks (renamed from scripts/lib/wic/canned-wks/mkgalileodisk.wks)6
-rw-r--r--scripts/lib/wic/canned-wks/galileodisk-usb.wks9
2 files changed, 12 insertions, 3 deletions
diff --git a/scripts/lib/wic/canned-wks/mkgalileodisk.wks b/scripts/lib/wic/canned-wks/galileodisk-sd.wks
index c9835a65..e03c2f88 100644
--- a/scripts/lib/wic/canned-wks/mkgalileodisk.wks
+++ b/scripts/lib/wic/canned-wks/galileodisk-sd.wks
@@ -1,6 +1,6 @@
1# short-description: Create an Galileo Gen 1/2 disk image 1# short-description: Create a Galileo Gen 1/2 disk image (SD card)
2# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2, 2# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2
3# that the user can directly dd to boot media. 3# boards that the user can directly dd to an SD card and boot.
4 4
5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk mmcblk0 --label msdos --active --align 1024 5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk mmcblk0 --label msdos --active --align 1024
6 6
diff --git a/scripts/lib/wic/canned-wks/galileodisk-usb.wks b/scripts/lib/wic/canned-wks/galileodisk-usb.wks
new file mode 100644
index 00000000..b721c951
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/galileodisk-usb.wks
@@ -0,0 +1,9 @@
1# short-description: Create a Galileo Gen 1/2 disk image (USB storage)
2# long-description: Creates a partitioned EFI disk image for Intel Galileo Gen 1/2
3# that the user can directly dd to USB storage media and boot.
4
5part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024
6
7part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024
8
9bootloader --timeout=0 --append="rootwait console=ttyS1,115200n8 earlycon=uart8250,mmio32,0x9000b000,115200n8 reboot=efi,warm apic=debug rw LABEL=boot debugshell=5"