Enable EFI boot (new image for repo x86_64-wayland) 73/26773/1 accepted/tizen/common/20140828.173144 submit/tizen_common/20140828.140758
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 28 Aug 2014 11:32:11 +0000 (13:32 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 28 Aug 2014 14:03:49 +0000 (16:03 +0200)
Bug-Tizen: TC-1513
Change-Id: I7f6aab97d82d51b118ced9b9df8f6ae21f1229b3
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
common-targets.yaml
ks/common-qa-unsafe-wayland-efi-x86_64.yaml [new file with mode: 0644]
partitions/common-efi [new file with mode: 0644]
patterns/generic-efi-boot.yaml [new file with mode: 0644]
scripts/generic-efi-boot.post [new file with mode: 0644]

index ecfcb74..e2a5bde 100644 (file)
@@ -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 (file)
index 0000000..7f93f47
--- /dev/null
@@ -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 (file)
index 0000000..ebf3b65
--- /dev/null
@@ -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 (file)
index 0000000..cbbc30c
--- /dev/null
@@ -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 (file)
index 0000000..df4701e
--- /dev/null
@@ -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