From 8b6478bfcbe1e8b1f5654488e4c08167550b66be Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Thu, 28 Aug 2014 13:32:11 +0200 Subject: Enable EFI boot (new image for repo x86_64-wayland) Bug-Tizen: TC-1513 Change-Id: I7f6aab97d82d51b118ced9b9df8f6ae21f1229b3 Signed-off-by: Stephane Desneux --- common-targets.yaml | 1 + ks/common-qa-unsafe-wayland-efi-x86_64.yaml | 31 +++++++++++++++++++++++++++++ partitions/common-efi | 2 ++ patterns/generic-efi-boot.yaml | 8 ++++++++ scripts/generic-efi-boot.post | 5 +++++ 5 files changed, 47 insertions(+) create mode 100644 ks/common-qa-unsafe-wayland-efi-x86_64.yaml create mode 100644 partitions/common-efi create mode 100644 patterns/generic-efi-boot.yaml create mode 100644 scripts/generic-efi-boot.post diff --git a/common-targets.yaml b/common-targets.yaml index ecfcb74..e2a5bde 100644 --- a/common-targets.yaml +++ b/common-targets.yaml @@ -20,6 +20,7 @@ Targets: Images: - common-wayland-mbr-x86_64.yaml - common-qa-unsafe-wayland-mbr-x86_64.yaml + - common-qa-unsafe-wayland-efi-x86_64.yaml - Name: x86_64-x11 Images: diff --git a/ks/common-qa-unsafe-wayland-efi-x86_64.yaml b/ks/common-qa-unsafe-wayland-efi-x86_64.yaml new file mode 100644 index 0000000..7f93f47 --- /dev/null +++ b/ks/common-qa-unsafe-wayland-efi-x86_64.yaml @@ -0,0 +1,31 @@ +Name: common-qa-unsafe-wayland-efi-x86_64 +Architecture: x86_64 +Schedule: "*" +Active: True +Platform: Wayland +InstallerFrameworkPlugins: + - bootloader + - fstab +Part: common-efi +FileName: common-qa-unsafe-wayland-efi-x86_64 +Kernel: kernel-profile-common +Repos: + - common-wayland_x86_64 +Groups: + - Generic Multimedia Intel + - Generic Automated QA Tools + - Generic QA Tools + - Common QA Tools + - Generic EFI Boot +PostScripts: + - generic-multimedia-intel + - generic-autoqa + - generic-qa + - common-qa + - generic-efi-boot +ExtraPackages: + - gummiboot-splash + - setup-scripts-gummiboot + - setup-scripts-clone + - gptfdisk + diff --git a/partitions/common-efi b/partitions/common-efi new file mode 100644 index 0000000..ebf3b65 --- /dev/null +++ b/partitions/common-efi @@ -0,0 +1,2 @@ +part /boot --size 64 --ondisk sda --fstype=vfat --label TZBOOT --active --align 1024 --part-type C12A7328-F81F-11D2-BA4B-00A0C93EC93B +part / --fstype="ext4" --size=3520 --ondisk=sda --label tizen-common --fsoptions=defaults,noatime diff --git a/patterns/generic-efi-boot.yaml b/patterns/generic-efi-boot.yaml new file mode 100644 index 0000000..cbbc30c --- /dev/null +++ b/patterns/generic-efi-boot.yaml @@ -0,0 +1,8 @@ +Summary: Generic EFI Boot +Description: Generic EFI Boot +Name: generic-efi-boot +Packages: +- gummiboot-splash +- setup-scripts-gummiboot +- setup-scripts-clone +- gptfdisk diff --git a/scripts/generic-efi-boot.post b/scripts/generic-efi-boot.post new file mode 100644 index 0000000..df4701e --- /dev/null +++ b/scripts/generic-efi-boot.post @@ -0,0 +1,5 @@ +#!/bin/sh +echo "#################### generic-efi-boot.post ##################" + +# Install and configure the boot-loader, /etc/fstab, and so on +/usr/sbin/setup-scripts-boot -- cgit v1.2.3