[SailfishDevel] Scriptlets in RPM hot allowed to Harbour
basil.semuonov at gmail.com
Sat Jan 11 21:45:34 UTC 2014
I guess, that I am the person who started this story about scriptlets.
As Thomas suggested at his mail (
here is the problem which I personally trying to solve using postinst
Sailfish use zypp as backend, packagekit as frontend, and ssu for
Ssu does have "global" repositories, and "user" repositories. By using
packagekit you can only enable and disable repositories. You should use ssu
to add or remove repositories. But as "nemo" user, you cannot add/remove
"user" repositories, root permissions are required to perform actual
repository list update (ssu ur).
Scriptlet is used to create nemo:privileged file at /etc/zypp/repos.d/ so
it can be updated(rw access) from warehouse application.
Of course you can use %files with
but this way is already banned, since you can only deploy to
So, the question is, how to achieve this, don't violate policy and be
Another use-case (as Andrey Kozhevnikov mentioned) is sending "quit"
signal to app which constantly running at background(recieving updates
So it does quits before update, and auto-starts after update completes.
With all that recent discussion, please do update
https://harbour.jolla.com/faq and specify, that scriptlets are
--- Line of cut --- Linux everywhere...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel