~mil/sxmo-tickets#604: 
Unable to setcap on void

I'm installing void-linux with sxmo on my pinephone.

I'm adapting the sxmo-build script. I installed the dependencies, and when it tries to install sxmo-utils I get this error:

setcap 'cap_wake_alarm=ep' /usr/bin/sxmo_sleep
Failed to set capabilities on file '/usr/bin/sxmo_sleep': Operation not supported

Would it be possible to have some alternative to that command in case it fails?

Status
REPORTED
Submitter
~eloitor
Assigned to
No-one
Submitted
4 months ago
Updated
4 months ago
Labels
No labels applied.

~stacyharper 4 months ago

I'm not sure why this commands fails. setcap have to be run as root. How do you run it?

Btw, you should rather use sxmo-factory today. How do you heard about sxmo-build? We should un-document every link to it.

~eloitor 4 months ago*

https://man.sr.ht/~anjan/sxmo-docs/CONTRIBUTING.md#strongtesting-nightlystrong It is also mentioned in https://sxmo.org/docs/

It's the first time I hear about sxmo-factory

~eloitor 4 months ago

I see the code in sxmo-factory is more centered in alpine than sxmo-build... Does it make sense to allow contributions for other distributions here? Or is it better to create a void version of sxmo-factory...

~aren 4 months ago

You'll be better off creating sxmo packages for void, sxmo-build just installs dependencies and calls make install which is really the package managers job. Also it never got the dependencies right for anything but alpine, the other distros were more like proof-of-concepts.

If you need help packaging things I'd be happy to help out when I have time, feel free to ping me in the irc channel.

~stacyharper 4 months ago

I would accept contribution for sxmo-factory to support any distro. The goal here is to stick to the standards for the distros. Using the standard recipes style.

Register here or Log in to comment, or comment via email.