- 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 <ty317.kim@samsung.com>
%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}'`
[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