diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2017-09-15 12:42:36 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-09-15 14:13:16 -0700 |
commit | 989db4c0e7db84e52b4e564101a974ef59f1bba6 (patch) | |
tree | 8d042fa036b048fc1b97f5987b2b84346356a8c5 /wic/core-image-tiny.wks.in | |
parent | ee44757ff32135411bc17901213e282eb32f0862 (diff) | |
download | meta-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/core-image-tiny.wks.in')
-rw-r--r-- | wic/core-image-tiny.wks.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wic/core-image-tiny.wks.in b/wic/core-image-tiny.wks.in new file mode 100644 index 00000000..b0decae6 --- /dev/null +++ b/wic/core-image-tiny.wks.in | |||
@@ -0,0 +1,14 @@ | |||
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 | ||
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/core2-32 and core-image-tiny-initramfs | ||
5 | |||
6 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-${MACHINE}.cpio.gz" --ondisk sda --label msdos --active --align 1024 | ||
7 | |||
8 | bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5" | ||
9 | |||
10 | # Some devices require different console parameters, the console parameter can be given repeatedly, input is taken | ||
11 | # only from the last listed console, for example on the Minnowboard MAX, the previously listed setting would show | ||
12 | # a login prompt on its video output and not on the serial terminal. | ||
13 | # | ||
14 | # See http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html | ||