fix yocto post script error 46/28146/1
authorRonan Le Martret <ronan@fridu.net>
Fri, 26 Sep 2014 15:55:09 +0000 (17:55 +0200)
committerRonan Le Martret <ronan@fridu.net>
Fri, 26 Sep 2014 15:55:09 +0000 (17:55 +0200)
Change-Id: I9fac535dfaf87e7d1bc7fba271562bc72dbb85c3
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/ail.spec

index c20ebfd..d38619c 100755 (executable)
@@ -53,9 +53,9 @@ export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
 %make_install
 
 %post
-/sbin/ldconfig
+ldconfig
 # Create tizenglobalapp user needed for global installation
-%{_sbindir}/useradd -d %TZ_SYS_RW_APP -m %TZ_SYS_GLOBALAPP_USER -r -c "system user for common applications" -g root
+useradd -d %TZ_SYS_RW_APP -m %TZ_SYS_GLOBALAPP_USER -r -c "system user for common applications" -g root
 
 #mkdir -p %TZ_SYS_RW_APP/.config/xwalk-service/applications
 #cd %TZ_SYS_RW_APP/