summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSangYoun Kwak <sy.kwak@samsung.com>2024-04-24 21:08:23 +0900
committerSangYoun Kwak <sy.kwak@samsung.com>2024-06-10 17:37:45 +0900
commita7ed6819eb5405ede668c301af43284150ca0385 (patch)
tree558b2921708c103431d8798e976150c5fa5d7347 /scripts
parent148e833e601ea6e23682ed2661bfc4a118a490cf (diff)
downloadmeta-a7ed6819eb5405ede668c301af43284150ca0385.tar.gz
meta-a7ed6819eb5405ede668c301af43284150ca0385.tar.bz2
meta-a7ed6819eb5405ede668c301af43284150ca0385.zip
To generate delta image during the image building, scripts are added to the 'post --nochroot' section and 'runscript' section. Also, to use delta generating tool, a package 'upgrade-tools-generic' is added to the required packages. Changes above are applied to the armv7l/aarch64, boot/headed rpi4 images. Change-Id: Id96ade9d0a58ac2a078fdacacf29c95251870545 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/delta-generation-boot-arm64-rpi4.run10
-rw-r--r--scripts/delta-generation-boot-armv7l-rpi4.run10
-rw-r--r--scripts/delta-generation-headed-aarch64.run10
-rw-r--r--scripts/delta-generation-headed-armv7l.run10
-rw-r--r--scripts/delta-generation-prepare-boot-rpi4.nochroot10
-rw-r--r--scripts/delta-generation-prepare-platform.nochroot10
6 files changed, 60 insertions, 0 deletions
diff --git a/scripts/delta-generation-boot-arm64-rpi4.run b/scripts/delta-generation-boot-arm64-rpi4.run
new file mode 100644
index 0000000..056509b
--- /dev/null
+++ b/scripts/delta-generation-boot-arm64-rpi4.run
@@ -0,0 +1,10 @@
+echo "############### delta-generation.run ################"
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation.run runscript script - start'
+
+if [ -d /upgrade-tools ]; then
+ cd /upgrade-tools
+ ./scripts/delta-generation-runscript-kickstart.sh "rpi4" "tizen-boot-arm64-rpi4" "Tizen-8.0"
+fi
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation.run runscript script - end'
diff --git a/scripts/delta-generation-boot-armv7l-rpi4.run b/scripts/delta-generation-boot-armv7l-rpi4.run
new file mode 100644
index 0000000..5d9c779
--- /dev/null
+++ b/scripts/delta-generation-boot-armv7l-rpi4.run
@@ -0,0 +1,10 @@
+echo "############### delta-generation.run ################"
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation.run runscript script - start'
+
+if [ -d /upgrade-tools ]; then
+ cd /upgrade-tools
+ ./scripts/delta-generation-runscript-kickstart.sh "rpi4" "tizen-boot-armv7l-rpi4" "Tizen-8.0"
+fi
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation.run runscript script - end'
diff --git a/scripts/delta-generation-headed-aarch64.run b/scripts/delta-generation-headed-aarch64.run
new file mode 100644
index 0000000..c7603a2
--- /dev/null
+++ b/scripts/delta-generation-headed-aarch64.run
@@ -0,0 +1,10 @@
+echo "############### delta-generation-headed-aarch64.run ################"
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-headed-aarch64.run runscript script - start'
+
+if [ -d /upgrade-tools ]; then
+ cd /upgrade-tools
+ ./scripts/delta-generation-runscript-kickstart.sh "platform" "tizen-headed-aarch64" "Tizen-8.0"
+fi
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-headed-aarch64.run runscript script - end'
diff --git a/scripts/delta-generation-headed-armv7l.run b/scripts/delta-generation-headed-armv7l.run
new file mode 100644
index 0000000..f853ad4
--- /dev/null
+++ b/scripts/delta-generation-headed-armv7l.run
@@ -0,0 +1,10 @@
+echo "############### delta-generation-headed-armv7l.run ################"
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-headed-armv7l.run runscript script - start'
+
+if [ -d /upgrade-tools ]; then
+ cd /upgrade-tools
+ ./scripts/delta-generation-runscript-kickstart.sh "platform" "tizen-headed-armv7l" "Tizen-8.0"
+fi
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-headed-armv7l.run runscript script - end'
diff --git a/scripts/delta-generation-prepare-boot-rpi4.nochroot b/scripts/delta-generation-prepare-boot-rpi4.nochroot
new file mode 100644
index 0000000..22b1472
--- /dev/null
+++ b/scripts/delta-generation-prepare-boot-rpi4.nochroot
@@ -0,0 +1,10 @@
+echo "############### delta-generation-prepare-boot-rpi4.nochroot ################"
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-prepare-boot-rpi4.nochroot nochroot post script - start'
+
+if [ -d ${INSTALL_ROOT}/upgrade-tools-generic-boot-rpi4 -a -d /upgrade-tools ]; then
+ cp -r ${INSTALL_ROOT}/upgrade-tools-generic-boot-rpi4/* /upgrade-tools/
+ rm -rf ${INSTALL_ROOT}/upgrade-tools-generic-boot-rpi4
+fi
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-prepare-boot-rpi4.nochroot nochroot post script - end'
diff --git a/scripts/delta-generation-prepare-platform.nochroot b/scripts/delta-generation-prepare-platform.nochroot
new file mode 100644
index 0000000..663ae75
--- /dev/null
+++ b/scripts/delta-generation-prepare-platform.nochroot
@@ -0,0 +1,10 @@
+echo "############### delta-generation-prepare-platform.nochroot ################"
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-prepare-platform.nochroot nochroot post script - start'
+
+if [ -d ${INSTALL_ROOT}/upgrade-tools-generic-platform -a -d /upgrade-tools ]; then
+ cp -r ${INSTALL_ROOT}/upgrade-tools-generic-platform/* /upgrade-tools/
+ rm -rf ${INSTALL_ROOT}/upgrade-tools-generic-platform
+fi
+
+date +'[%m/%d %H:%M:%S %Z] delta-generation-prepare-platform.nochroot nochroot post script - end'