summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-08-28 13:32:11 +0200
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-08-28 16:03:49 +0200
commit8b6478bfcbe1e8b1f5654488e4c08167550b66be (patch)
tree6b63a2c25950b75840ac65fac3dd3360c8ec4369
parent6ac703d6a5fd3cb2129241441b255759ed5b2672 (diff)
downloadmeta-8b6478bfcbe1e8b1f5654488e4c08167550b66be.tar.gz
meta-8b6478bfcbe1e8b1f5654488e4c08167550b66be.tar.bz2
meta-8b6478bfcbe1e8b1f5654488e4c08167550b66be.zip
Enable EFI boot (new image for repo x86_64-wayland)submit/tizen_common/20140828.140758accepted/tizen/common/20140828.173144
Bug-Tizen: TC-1513 Change-Id: I7f6aab97d82d51b118ced9b9df8f6ae21f1229b3 Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--common-targets.yaml1
-rw-r--r--ks/common-qa-unsafe-wayland-efi-x86_64.yaml31
-rw-r--r--partitions/common-efi2
-rw-r--r--patterns/generic-efi-boot.yaml8
-rw-r--r--scripts/generic-efi-boot.post5
5 files changed, 47 insertions, 0 deletions
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