summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungGi Lee <hyunggi.lee@samsung.com>2016-08-02 16:41:43 +0900
committerHyungGi Lee <hyunggi.lee@samsung.com>2016-08-02 16:52:32 +0900
commitd10df805c538c33601c8526266d65048cc721f13 (patch)
tree61299f9ec44629b1726719f378cd1e3812b0f3b8
parent7c78b6789b0c91d57d00ee13ee4c0e8b5bd3ea13 (diff)
downloadmeta-mobile-accepted/tizen/mobile/20160804.080437.tar.gz
meta-mobile-accepted/tizen/mobile/20160804.080437.tar.bz2
meta-mobile-accepted/tizen/mobile/20160804.080437.zip
Change-Id: Idee33f1155c70912683aac8c47a6c753feb8fb9a
-rw-r--r--ks/mobile-wayland-armv7l-tm1-upgrade.yaml20
-rw-r--r--mobile-targets.yaml1
-rw-r--r--partitions/mobile-mbr-tm1-upgrade2
-rw-r--r--scripts/mobile-update-tm1.post6
4 files changed, 29 insertions, 0 deletions
diff --git a/ks/mobile-wayland-armv7l-tm1-upgrade.yaml b/ks/mobile-wayland-armv7l-tm1-upgrade.yaml
new file mode 100644
index 0000000..488886e
--- /dev/null
+++ b/ks/mobile-wayland-armv7l-tm1-upgrade.yaml
@@ -0,0 +1,20 @@
+Name: mobile-wayland-armv7l-tm1-upgrade
+Architecture: armv7l
+Schedule: "*"
+Active: True
+Platform: Wayland
+Part: mobile-mbr-tm1-upgrade
+Mic2Options: -f loop --pack-to=@NAME@.tar.gz
+FileName: mobile-wayland-armv7l-tm1-upgrade
+Attachment:
+ - /boot/kernel/dzImage
+Repos:
+ - mobile-target-TM1
+ - base_arm
+Groups:
+ - Mobile Adaptation TM1
+PostScripts:
+ - mobile-adaptation-tm1
+ - mobile-update-tm1
+ExtraPackages:
+ - org.tizen.dpm-toolkit
diff --git a/mobile-targets.yaml b/mobile-targets.yaml
index 4db8083..84420c7 100644
--- a/mobile-targets.yaml
+++ b/mobile-targets.yaml
@@ -21,3 +21,4 @@ Targets:
- Name: target-TM1
Images:
- mobile-wayland-armv7l-tm1.yaml
+ - mobile-wayland-armv7l-tm1-upgrade.yaml
diff --git a/partitions/mobile-mbr-tm1-upgrade b/partitions/mobile-mbr-tm1-upgrade
new file mode 100644
index 0000000..c71d28b
--- /dev/null
+++ b/partitions/mobile-mbr-tm1-upgrade
@@ -0,0 +1,2 @@
+part / --size=2000 --ondisk mmcblk0p --fstype=ext4 --label=rootfs --extoptions="-J size=16"
+part /boot/kernel/mod_tizen_tm1/lib/modules --size=12 --ondisk mmcblk0p --fstype=ext4 --label=modules
diff --git a/scripts/mobile-update-tm1.post b/scripts/mobile-update-tm1.post
new file mode 100644
index 0000000..499bf13
--- /dev/null
+++ b/scripts/mobile-update-tm1.post
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "#################### mobile-update-tm1.post ####################"
+
+# remove RW partitions' files
+rm -rf /opt/*