From: junkyu han Date: Thu, 22 Sep 2016 01:54:02 +0000 (+0900) Subject: Add UID & GID X-Git-Tag: submit/tizen/20160922.015643^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F48%2F89048%2F1;p=apps%2Fnative%2Fboot-animation.git Add UID & GID Change-Id: I0502fa414374ac86a108c4f4b711d94735e94cb2 --- diff --git a/data/edje/360x360/360x360_PowerOn.edc b/data/edje/360x360/360x360_PowerOn.edc index 77e1aa9..5c52a01 100644 --- a/data/edje/360x360/360x360_PowerOn.edc +++ b/data/edje/360x360/360x360_PowerOn.edc @@ -55,7 +55,7 @@ collections { signal: "show"; action: STATE_SET "default" 0.0; target: "poweron"; - transition: LINEAR 3; + transition: LINEAR 2.2; after: "poweron_end"; } program { diff --git a/packaging/boot-animation-mobile.service b/packaging/boot-animation-mobile.service deleted file mode 100644 index 1dd383f..0000000 --- a/packaging/boot-animation-mobile.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Boot Animation -After=xorg.target e17.service - -[Service] -Type=oneshot -ExecStart=/usr/bin/boot-animation --start - -[Install] -WantedBy=core-efl.target diff --git a/packaging/boot-animation-wearable.service b/packaging/boot-animation-wearable.service deleted file mode 100644 index 4b46c2f..0000000 --- a/packaging/boot-animation-wearable.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Boot Animation -After=tizen-boot.target sound-server.service pulseaudio.service sound-init.service system-server.service -Before=tizen-system.target -ConditionPathExists=!/tmp/restart - -[Service] -Type=oneshot -ExecStart=/usr/bin/boot-animation --start -ExecStart=/bin/sleep 1 - -[Install] -WantedBy=tizen-system.target diff --git a/packaging/boot-animation.service b/packaging/boot-animation.service index 1bf6803..329d7fb 100644 --- a/packaging/boot-animation.service +++ b/packaging/boot-animation.service @@ -6,6 +6,9 @@ ConditionPathExists=!/tmp/restart ConditionKernelCommandLine=|!bootmode=silent [Service] +User=owner +Group=users + EnvironmentFile=/run/tizen-system-env EnvironmentFile=/run/xdg-root-env diff --git a/packaging/boot-animation.spec b/packaging/boot-animation.spec index f696024..27601b1 100644 --- a/packaging/boot-animation.spec +++ b/packaging/boot-animation.spec @@ -18,8 +18,6 @@ URL: http://slp-source.sec.samsung.net Source: %{name}-%{version}.tar.gz Source1: boot-animation.service Source2: shutdown-animation.service -Source3: silent-animation.service -Source4: late-tizen-system.service Source5: boot-animation.path License: Apache-2.0 Group: Samsung/Application @@ -64,10 +62,6 @@ cp -f LICENSE %{buildroot}/usr/share/license/%{name} mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/system/boot-animation.service install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/system/shutdown-animation.service -install -m 0644 %SOURCE3 %{buildroot}/usr/lib/systemd/system/silent-animation.service -ln -s ../silent-animation.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/ -install -m 0644 %SOURCE4 %{buildroot}/usr/lib/systemd/system/late-tizen-system.service -ln -s ../late-tizen-system.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/ install -m 0644 %SOURCE5 %{buildroot}/usr/lib/systemd/system/boot-animation.path ln -s ../boot-animation.path %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/ @@ -100,9 +94,5 @@ make clean %{_bindir}/boot-animation /usr/lib/systemd/system/boot-animation.service /usr/lib/systemd/system/shutdown-animation.service -/usr/lib/systemd/system/silent-animation.service -/usr/lib/systemd/system/multi-user.target.wants/silent-animation.service -/usr/lib/systemd/system/late-tizen-system.service -/usr/lib/systemd/system/multi-user.target.wants/late-tizen-system.service /usr/lib/systemd/system/boot-animation.path /usr/lib/systemd/system/multi-user.target.wants/boot-animation.path diff --git a/packaging/late-tizen-system.service b/packaging/late-tizen-system.service deleted file mode 100644 index 8387011..0000000 --- a/packaging/late-tizen-system.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Late Tizen System Target -After=wm_ready.service boot-animation.service -Before=tizen-system.target - -[Service] -Type=oneshot -SmackProcessLabel=System -ExecStart=/bin/sleep 3 - -[Install] -WantedBy=tizen-system.target - diff --git a/packaging/shutdown-animation.service b/packaging/shutdown-animation.service index c3cfa4f..28fe79c 100644 --- a/packaging/shutdown-animation.service +++ b/packaging/shutdown-animation.service @@ -4,6 +4,12 @@ DefaultDependencies=no Before=shutdown.target [Service] +User=owner +Group=users + +EnvironmentFile=/run/tizen-system-env +EnvironmentFile=/run/xdg-root-env + Type=oneshot SmackProcessLabel=System ExecStart=/usr/bin/boot-animation --offmsg " " --clear diff --git a/packaging/silent-animation.service b/packaging/silent-animation.service deleted file mode 100644 index 4a33b6d..0000000 --- a/packaging/silent-animation.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Silent Boot Animation -After=wm_ready.service boot-animation.service -Before=tizen-system.target -ConditionPathExists=!/tmp/restart -ConditionKernelCommandLine=|bootmode=silent - -[Service] -Type=oneshot -SmackProcessLabel=System -ExecStart=/usr/bin/vconftool set -t int memory/boot_animation/finished 1 -f -ExecStart=/bin/sleep 3 - -[Install] -WantedBy=tizen-system.target -