ks: finally switch to setup-ivi 58/15058/1
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 13 Jan 2014 07:51:52 +0000 (09:51 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 13 Jan 2014 08:54:39 +0000 (10:54 +0200)
This patch makes sure that all the KS files execute the 'setup-ivi-boot'
script, which is the installer framework plugin that installs and configures
the bootloader and generates the /etc/fstab file, see

https://wiki.tizen.org/wiki/IVI/artem-setup-ivi#Bootloader_setup

This patch removes the 'efi.post' and 'mbr.post' files, and adds a
'setup-ivi.post' file instead, because now we execute the same script for all
image types. The script has internal logic for distinguishing image types and
installing the right bootloader.

This patch requires 2 other preparational patches, and all 3 patches have to be
deployed at once.

Change-Id: I7a4cf826a70833c1b394a6399d05353cf51c81bb
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
ks/ivi-efi-i586.yaml
ks/ivi-mbr-i586-emul.yaml
ks/ivi-mbr-i586.yaml
ks/ivi-min-efi-i586.yaml
ks/ivi-min-mbr-i586.yaml
scripts/efi.post [deleted file]
scripts/mbr.post [deleted file]
scripts/setup-ivi.post [new file with mode: 0644]

index 039ff24..e7c8224 100644 (file)
@@ -14,4 +14,4 @@ ExtraPackages:
     - ivi-repos
     - setup-gummiboot
 PostScripts:
-    - efi
+    - setup-ivi
index 9152f98..054e440 100644 (file)
@@ -19,4 +19,4 @@ RemovePackages:
     - openssh
     - sdbd
 PostScripts:
-    - mbr
+    - setup-ivi
index fa3befc..1fd40a1 100644 (file)
@@ -14,4 +14,4 @@ ExtraPackages:
     - ivi-repos
     - setup-extlinux
 PostScripts:
-    - mbr
+    - setup-ivi
index 487ece8..90f1e10 100644 (file)
@@ -15,4 +15,4 @@ ExtraPackages:
     - setup-gummiboot
 PostScripts:
     - base-ivi-minimal
-    - efi
+    - setup-ivi
index 6a3e63c..152136e 100644 (file)
@@ -15,4 +15,4 @@ ExtraPackages:
     - setup-extlinux
 PostScripts:
     - base-ivi-minimal
-    - mbr
+    - setup-ivi
diff --git a/scripts/efi.post b/scripts/efi.post
deleted file mode 100644 (file)
index 00df656..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# efi.post
-/usr/sbin/setup-efi-ivi
-
diff --git a/scripts/mbr.post b/scripts/mbr.post
deleted file mode 100644 (file)
index e56c174..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# mbr.post
-/usr/sbin/setup-mbr-ivi
-
diff --git a/scripts/setup-ivi.post b/scripts/setup-ivi.post
new file mode 100644 (file)
index 0000000..521ef17
--- /dev/null
@@ -0,0 +1,2 @@
+# Install and configure the boot-loader, /etc/fstab, and so on
+/usr/sbin/setup-ivi-boot