diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2017-01-25 15:50:08 (GMT) |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-03-07 20:22:22 (GMT) |
commit | be48e2acfce772484e10f194d2dc5676289f7bf5 (patch) | |
tree | d00c573824289345c43425cea53e0b333ed7cb39 | |
parent | 513efa6758d00c5f0fb4d786fddc8028287ff853 (diff) | |
download | meta-intel-be48e2acfce772484e10f194d2dc5676289f7bf5.tar.gz |
systemd-bootdisk-tiny: Adds kickstart file for poky-tiny to support corei7-64 and
core2-32 using wic
We can now create a tiny initramfs image that can be dd'ed directly
using the following commands, for each MACHINE respectively
$ wic create systemd-bootdisk-tiny32 -e core-image-tiny-initramfs
$ wic create systemd-bootdisk-tiny64 -e core-image-tiny-initramfs
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
-rw-r--r-- | scripts/lib/wic/canned-wks/systemd-bootdisk-tiny32.wks | 8 | ||||
-rw-r--r-- | scripts/lib/wic/canned-wks/systemd-bootdisk-tiny64.wks | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny32.wks b/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny32.wks new file mode 100644 index 0000000..c4011c0 --- /dev/null +++ b/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny32.wks | |||
@@ -0,0 +1,8 @@ | |||
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 | |||
6 | part /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 | |||
8 | bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5" | ||
diff --git a/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny64.wks b/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny64.wks new file mode 100644 index 0000000..c957572 --- /dev/null +++ b/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny64.wks | |||
@@ -0,0 +1,14 @@ | |||
1 | # short-description: Create an EFI disk image with systemd-boot and corei7-64 | ||
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 and core-image-tiny-initramfs | ||
5 | |||
6 | part /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 | ||
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 | ||