path: root/scripts/lib
AgeCommit message (Collapse)Author
2017-05-16canned-wks/systemd-bootdisk-uuid.wks: remove fileCalifornia Sullivan
This was initially added as a stopgap, as OE-core's systemd-bootdisk.wks was using a static device node name rather than device UUID as the root target. Since OE-core's systemd-bootdisk has caught up, we don't need this. OE-core's systemd-bootdisk also includes console=ttyS0, which is common on many platforms and we were missing. Also change the default WKS_FILE to be OE-core's systemd-bootdisk on appropriate MACHINEs. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07systemd-bootdisk-tiny: Adds kickstart file for poky-tiny to support ↵Alejandro Hernandez
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>
2017-03-07mktinygalileodisk: Adds kickstart file for poky-tiny to support quark using wicTom Zanussi
With the output from poky-tiny core-image-tiny-initramfs image, we can now create an image that can be dd'ed directly to the Galileo2 sdcard using: $ wic create mktinygalileodisk -e core-image-tiny-initramfs Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2016-11-22galileodisk: Change timeout to 1 secondSaul Wold
This allows for more editable commandline Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-22galileodisk-sd.wks: Add rootwaitSaul Wold
Adding rootwait to the kernel params in order to handle the fact that 4.8 boots faster and older SD cards are not ready in time for the kernel to correctly mount. [YOCTO #10709] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-10systemd-bootdisk.wks: Rename to systemd-bootdisk-uuid.wksSaul Wold
This change is required because it was unconditionally overriding the OE-Core systemd-boot.wks which is against the Yocto Project compatible requirements. This is also temporary for morty and will be removed from master once the OE-Core version is corrected [YOCTO #10610] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01systemd-bootdisk: Add WKS file with uuid supportSaul Wold
Temporarily add a wks file to support systemd-boot with uuid, this patch is already pending for OE-Core, but did not make the 2.2 release, by adding this here, it can support both USB and SD devices. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01quark: use UUID for rootfsJianxun Zhang
Port the change http://lists.openembedded.org/pipermail/ openembedded-core/2016-October/127948.html into wks files in meta-intel. Note: This patch has not been on OE master branch at this point. Original commit message: ---------------------------------- systemd-bootdisk.wks: use PARTUUID Root device name in systemd-bootdisk.wks is 'sda'. This can cause images, produced using this wks to refuse booting if real device name is not 'sda'. For example, when booting MinnowBoard MAX from MicroSD card the boot process stucks with this message on the boot console output: Waiting for root device /dev/sda2... This happens because real device name of MicroSD card on this device is mmcblk1. Used --use-uuid option for root partition. This should make wic to put partition UUID instead of device name into kernel command line. [YOCTO #10485] Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com> ---------------------------------- Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-07-28quark: Support direct-boot image for USB storage mediaJianxun Zhang
Add a new wks file for quark based on the existing mkgalileodisk.wks with necessary changes. () specify sda for partitions and rootwait for USB in new wks. () Rename the original wks file and amend its description () Update README accordingly Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-07-28quark: Switch gummiboot to systemd-bootJianxun Zhang
The systemd-boot is the old gummiboot merged into systemd project. We have enabled systemd-boot as a standalone EFI bootloader in OE, also with updated wic plugin to support specifying "systemd-boot" as bootloader in wks files. Assuming these are good enough to replace gummiboot for quark, this change does it. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2015-11-13mkgalileodisk.wks: WiC image for Galileo Gen 1/2Kinsella, Ray
WiC script to create an EFI image for Galileo Gen 1/2. This differs from the reference EFI image that is shipped with Poky as follows. * Removed the swap partition. * Change to Kernel Cmd Line for Galileo, updating console etc. Signed-off-by: Ray Kinsella <ray.kinsella@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>