2 echo "#################### ivi-adaptations.post ####################"
4 #replace "Tizen Next" with real release number.
5 sed -i 's/(\(.*\))/(@BUILD_ID@)/' /etc/os-release
8 useradd -c "GENIVI user" -d /home/genivi -G weston-launch,video -s /bin/sh -m genivi
10 # create user 'app' and group 'app', dropped from platfrom/upstream/setup
12 useradd -c "System based user" -d /home/app -g users -G app,video,weston-launch -m -u 5000 -s /bin/sh app
14 # adjust TZ_SYS_DEFAULT_USER to 'app'
15 sed -ri 's|^(TZ_SYS_DEFAULT_USER=).*$|\1app|' /etc/tizen-platform.conf