wic: move parts of canned .wks into common.wks.inc
In order to give and example of 'include' feature of ks parser and for testing purposes common parts of 3 canned wks files were moved into common.wks.inc (From OE-Core rev: 629c6381669bd4acdb1613229cd095881d2d9cd2) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
50a3dc5b2d
commit
bfaabe5209
|
@ -0,0 +1,3 @@
|
|||
# This file is included into 3 canned wks files from this directory
|
||||
part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
|
||||
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
|
|
@ -2,9 +2,7 @@
|
|||
# long-description: Creates a partitioned legacy BIOS disk image that the user
|
||||
# can directly dd to boot media. The bootloader configuration source is a user file.
|
||||
|
||||
|
||||
part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
|
||||
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
|
||||
include common.wks.inc
|
||||
|
||||
bootloader --configfile="directdisk-bootloader-config.cfg"
|
||||
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
# long-description: Creates a partitioned legacy BIOS disk image that the user
|
||||
# can directly dd to boot media.
|
||||
|
||||
|
||||
part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
|
||||
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
|
||||
include common.wks.inc
|
||||
|
||||
bootloader --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0"
|
||||
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
# long-description: Creates a partitioned legacy BIOS disk image that the user
|
||||
# can directly use to boot a qemu machine.
|
||||
|
||||
|
||||
part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
|
||||
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024
|
||||
include common.wks.inc
|
||||
|
||||
bootloader --timeout=0 --append="vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda2 rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 "
|
||||
|
||||
|
|
Loading…
Reference in New Issue