From: Stephane Desneux Date: Thu, 28 Aug 2014 11:32:11 +0000 (+0200) Subject: Enable EFI boot (new image for repo x86_64-wayland) X-Git-Tag: accepted/tizen/common/20140828.173144^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F26773%2F1;p=profile%2Fcommon%2Fmeta.git Enable EFI boot (new image for repo x86_64-wayland) Bug-Tizen: TC-1513 Change-Id: I7f6aab97d82d51b118ced9b9df8f6ae21f1229b3 Signed-off-by: Stephane Desneux --- 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