summaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2017-09-15 19:42:36 (GMT)
committerSaul Wold <sgw@linux.intel.com>2017-09-15 21:13:16 (GMT)
commit989db4c0e7db84e52b4e564101a974ef59f1bba6 (patch)
tree8d042fa036b048fc1b97f5987b2b84346356a8c5 /wic
parentee44757ff32135411bc17901213e282eb32f0862 (diff)
downloadmeta-intel-989db4c0e7db84e52b4e564101a974ef59f1bba6.tar.gz
core-image-tiny: Provide a new image recipe for poky-tiny that boots from RAM
This new image recipe creates an image from the artifacts obtained after building core-image-tiny-initramfs, it boots directly to a tiny rootfs provided by initrd Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/core-image-tiny.wks.in (renamed from wic/systemd-bootdisk-tiny64.wks)6
-rw-r--r--wic/systemd-bootdisk-tiny32.wks8
2 files changed, 3 insertions, 11 deletions
diff --git a/wic/systemd-bootdisk-tiny64.wks b/wic/core-image-tiny.wks.in
index c957572..b0decae 100644
--- a/wic/systemd-bootdisk-tiny64.wks
+++ b/wic/core-image-tiny.wks.in
@@ -1,9 +1,9 @@
1# short-description: Create an EFI disk image with systemd-boot and corei7-64 1# short-description: Create an EFI disk image with systemd-boot and corei7-64/core2-32
2# long-description: Creates a partitioned EFI disk image that the user 2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot. 3# can directly dd to boot media. The selected bootloader is systemd-boot.
4# This disk image is meant to be used by corei7-64 and core-image-tiny-initramfs 4# This disk image is meant to be used by corei7-64/core2-32 and core-image-tiny-initramfs
5 5
6part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-intel-corei7-64.cpio.gz" --ondisk sda --label msdos --active --align 1024 6part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-${MACHINE}.cpio.gz" --ondisk sda --label msdos --active --align 1024
7 7
8bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5" 8bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5"
9 9
diff --git a/wic/systemd-bootdisk-tiny32.wks b/wic/systemd-bootdisk-tiny32.wks
deleted file mode 100644
index c4011c0..0000000
--- a/wic/systemd-bootdisk-tiny32.wks
+++ /dev/null
@@ -1,8 +0,0 @@
1# short-description: Create an EFI disk image with systemd-boot and core2-32
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot.
4# This disk image is meant to be used by core2-32 and core-image-tiny-initramfs
5
6part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-intel-core2-32.cpio.gz" --ondisk sda --label msdos --active --align 1024
7
8bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5"