From: taeyoung Date: Mon, 7 Sep 2015 02:22:14 +0000 (+0900) Subject: tizen id: change tizen id path and smack label X-Git-Tag: submit/tizen/20150907.031150^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da042e6635c7ccf6eec35ce728dd5ccff696aba1;p=platform%2Fcore%2Fapi%2Fsystem-info.git tizen id: change tizen id path and smack label - tizen id path is changed from /home/root/tizenid to /etc/tizenid - The smack label of tizen id is changed to System::Share for every apps to be able to read it Change-Id: Id3983c7dcb2e177950200cb40e1227ee18b7c692 Signed-off-by: taeyoung --- diff --git a/packaging/capi-system-info.spec b/packaging/capi-system-info.spec index 0ae9002..34e4c6c 100644 --- a/packaging/capi-system-info.spec +++ b/packaging/capi-system-info.spec @@ -34,7 +34,7 @@ cp %{SOURCE1001} . %define info_file_path /etc/info.ini %define os_release_file_path /etc/os-release %define serial_path /csa/imei/serialno.dat -%define tizen_id_path /home/root/tizenid +%define tizen_id_path /etc/tizenid %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` diff --git a/packaging/tizenid.service b/packaging/tizenid.service index 9333789..75bf12e 100644 --- a/packaging/tizenid.service +++ b/packaging/tizenid.service @@ -1,10 +1,10 @@ [Unit] Description=Making Tizen ID -Requires=opt-usr.mount [Service] -Type=simple +Type=oneshot ExecStart=/usr/bin/tizen_id +ExecStartPost=/usr/bin/chsmack -a "System::Shared" /etc/tizenid [Install] WantedBy=multi-user.target