summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorKyungwook Tak <k.tak@samsung.com>2016-09-06 15:55:08 +0900
committerKyungwook Tak <k.tak@samsung.com>2016-09-06 17:39:43 +0900
commit8ccec6785ee30fb7c9e06a3421f5b460364b2968 (patch)
treec78588e97cdd932123774d7fbed9be45be4bcb24 /resources
parentf327e9fca40ad1cf62ac18e052f09c65debac72b (diff)
downloadlibwebappenc-8ccec6785ee30fb7c9e06a3421f5b460364b2968.tar.gz
libwebappenc-8ccec6785ee30fb7c9e06a3421f5b460364b2968.tar.bz2
libwebappenc-8ccec6785ee30fb7c9e06a3421f5b460364b2968.zip
Add upgrade script
Change-Id: I4d38443cf3880b50215aa36e084445cc8bbb60be Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/CMakeLists.txt35
1 files changed, 28 insertions, 7 deletions
diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt
index ae2bc8b..030553c 100644
--- a/resources/CMakeLists.txt
+++ b/resources/CMakeLists.txt
@@ -1,12 +1,33 @@
-################################################################################
-# for resource install
-################################################################################
-
+# 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 CMakeLists.txt
+# @author Dongsun Lee (ds73.lee@samsung.com)
+# @brief Resource install cmake
+#
INSTALL(FILES
- ${PROJECT_SOURCE_DIR}/resources/WAE_APPDEK_KEK_PublicKey.pem
- ${PROJECT_SOURCE_DIR}/resources/WAE_APPDEK_KEK_PrivateKey.pem
- DESTINATION ${RW_SHARE_DIR}/wae/app_dek/
+ WAE_APPDEK_KEK_PublicKey.pem
+ WAE_APPDEK_KEK_PrivateKey.pem
+ DESTINATION ${RW_SHARE_DIR}/wae/app_dek
PERMISSIONS OWNER_READ
OWNER_WRITE
)
+INSTALL(FILES
+ WAE_APPDEK_KEK_PublicKey.pem
+ WAE_APPDEK_KEK_PrivateKey.pem
+ DESTINATION ${UPGRADE_DATA_DIR}/wae/app_dek
+ PERMISSIONS OWNER_READ
+ OWNER_WRITE
+)