Add number to upgrade script 78/103578/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/4.0/unified/20170816.010816 accepted/tizen/4.0/unified/20170829.020233 accepted/tizen/5.0/unified/20181102.021341 accepted/tizen/unified/20170309.042912 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 submit/tizen_5.0/20181101.000004 submit/tizen_unified/20170309.042728 tizen_4.0.m1_release
authorsangwan.kwon <sangwan.kwon@samsung.com>
Fri, 9 Dec 2016 01:10:30 +0000 (10:10 +0900)
committersangwan.kwon <sangwan.kwon@samsung.com>
Fri, 9 Dec 2016 01:15:53 +0000 (10:15 +0900)
Change-Id: I89fddfb1061d4ce4451b86bc5c12f22e18bfe5a0
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
packaging/ca-certificates-tizen.spec
tools/upgrade/500.ca-certificates-tizen-upgrade.sh.in [new file with mode: 0644]
tools/upgrade/CMakeLists.txt
tools/upgrade/ca-certificates-tizen-upgrade.sh.in [deleted file]

index 8461c8d1be2a51c237f7bb5c52d3f0ea34f95c98..a81b2493a43f17994a808a6202d2f5e43cda8228 100644 (file)
@@ -83,7 +83,7 @@ echo "%TZ_SYS_REVOKED_CERTS_FINGERPRINTS_RUNTIME %{fingerprint_rw_dir}/fingerpri
 %{fingerprint_dir}/*
 %{fingerprint_rw_dir}/fingerprint_list_runtime.xml
 
-%attr(775, root, root) %{upgrade_script_dir}/ca-certificates-tizen-upgrade.sh
+%attr(775, root, root) %{upgrade_script_dir}/500.ca-certificates-tizen-upgrade.sh
 %{upgrade_data_dir}/fingerprint_list_runtime.xml
 
 %files devel
diff --git a/tools/upgrade/500.ca-certificates-tizen-upgrade.sh.in b/tools/upgrade/500.ca-certificates-tizen-upgrade.sh.in
new file mode 100644 (file)
index 0000000..2289cdf
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/bash
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
+# Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+#
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+#
+# @file        500.ca-certificates-tizen-upgrade.sh.in
+# @author      Sangwan Kwon (sangwan.kwon@samsung.com)
+# @brief       fingerprint migration scripts for platform upgrade 2.4 -> 3.0
+#
+
+mkdir -p @FINGERPRINT_RW_DIR@
+cp @UPGRADE_DATA_DIR@/fingerprint_list_runtime.xml @FINGERPRINT_RW_DIR@
index f7342dd01d7592b28b0fc1edd02d6c26d8b5ca49..55c2fb696e3bda4cca5dc74593525a57dfec445f 100755 (executable)
@@ -17,9 +17,9 @@
 #
 
 CONFIGURE_FILE(
-       ca-certificates-tizen-upgrade.sh.in ca-certificates-tizen-upgrade.sh
+       500.ca-certificates-tizen-upgrade.sh.in 500.ca-certificates-tizen-upgrade.sh
        @ONLY)
 
 INSTALL(FILES
-       ca-certificates-tizen-upgrade.sh
+       500.ca-certificates-tizen-upgrade.sh
        DESTINATION ${UPGRADE_SCRIPT_DIR})
diff --git a/tools/upgrade/ca-certificates-tizen-upgrade.sh.in b/tools/upgrade/ca-certificates-tizen-upgrade.sh.in
deleted file mode 100644 (file)
index d178e0e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-# Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-#
-#    Licensed under the Apache License, Version 2.0 (the "License");
-#    you may not use this file except in compliance with the License.
-#    You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS,
-#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#    See the License for the specific language governing permissions and
-#    limitations under the License.
-#
-# @file        ca-certificates-tizen-upgrade.sh.in
-# @author      Sangwan Kwon (sangwan.kwon@samsung.com)
-# @brief       fingerprint migration scripts for platform upgrade 2.4 -> 3.0
-#
-
-mkdir -p @FINGERPRINT_RW_DIR@
-cp @UPGRADE_DATA_DIR@/fingerprint_list_runtime.xml @FINGERPRINT_RW_DIR@