The installer depends on the final /tmp. Without specifying
that, there's a race condition. At least once it was seen
that installation failed because /tmp was not mounted.
The "rm" command is part of the install script itself. There is
no need to duplicate that.
Change-Id: I69e2fc97ba7f1a2f7f44323e0caa2ec2cdece4d6
[Unit]
Description=Install Modello applications
Before=Modello_Homescreen.service
+After=tmp.mount
[Service]
Type=oneshot
SmackExecLabel=User
ExecStart=/usr/share/modello-installer/modello-installer-postinst.sh
-ExecStartPost=/bin/rm -f /usr/lib/systemd/system/multi-user.target.wants/modello-installer-postinst.service
[Install]
WantedBy=multi-user.target