From be48e2acfce772484e10f194d2dc5676289f7bf5 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Date: Wed, 25 Jan 2017 15:50:08 +0000 Subject: 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 --- scripts/lib/wic/canned-wks/systemd-bootdisk-tiny32.wks | 8 ++++++++ scripts/lib/wic/canned-wks/systemd-bootdisk-tiny64.wks | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 scripts/lib/wic/canned-wks/systemd-bootdisk-tiny32.wks create mode 100644 scripts/lib/wic/canned-wks/systemd-bootdisk-tiny64.wks (limited to 'scripts') 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 00000000..c4011c0e --- /dev/null +++ b/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny32.wks @@ -0,0 +1,8 @@ +# short-description: Create an EFI disk image with systemd-boot and core2-32 +# long-description: Creates a partitioned EFI disk image that the user +# can directly dd to boot media. The selected bootloader is systemd-boot. +# This disk image is meant to be used by core2-32 and core-image-tiny-initramfs + +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 + +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 00000000..c957572a --- /dev/null +++ b/scripts/lib/wic/canned-wks/systemd-bootdisk-tiny64.wks @@ -0,0 +1,14 @@ +# short-description: Create an EFI disk image with systemd-boot and corei7-64 +# long-description: Creates a partitioned EFI disk image that the user +# can directly dd to boot media. The selected bootloader is systemd-boot. +# This disk image is meant to be used by corei7-64 and core-image-tiny-initramfs + +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 + +bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5" + +# Some devices require different console parameters, the console parameter can be given repeatedly, input is taken +# only from the last listed console, for example on the Minnowboard MAX, the previously listed setting would show +# a login prompt on its video output and not on the serial terminal. +# +# See http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html -- cgit v1.2.3-54-g00ecf