Skip to main content
Topic: galaxy/ly (Read 313 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

galaxy/ly

Hi all,

I think this package/pkgbuild needs some modifications since Artix has no systemd  ;)

I changed for me at line 48 from :
Code: [Select]
make DESTDIR="$pkgdir" NAME=ly-dm install installsystemd

to

Code: [Select]
make DESTDIR="$pkgdir" NAME=ly-dm install installrunit

and from :

Code: [Select]
sed -i "s;/usr/bin/ly;/usr/bin/ly-dm;g" "$pkgdir/usr/lib/systemd/system/ly.service"

to :

Code: [Select]
   sed -i "s;/usr/bin/ly;/usr/bin/ly-dm;g" "$pkgdir/etc/sv/ly/run"
   # make the right directory for Artix runit and move files there
   mkdir -p "$pkgdir/etc/runit/sv/ly"
   mv -t "$pkgdir/etc/runit/sv/"  "$pkgdir/etc/sv/ly"

because i use Runit.
I`m no expert for packaging so maybe there is a way to detect the right init and choose the right installcommands but this worked for me on runit.
Maybe the name needs some modification too then.. Ly-Runit or something else.

Thanks for your attention  :)

PS.: if the runit thread is better for this move it please there

 

Re: galaxy/ly

Reply #1
Hello,

Out of curiosity, I went to the page https://github.com/fairyglade/ly where you can read this :
Quote
systemd?
Unlike what you may have heard, Ly does not require systemd, and was even specifically designed not to depend on logind. You should be able to make it work easily with a better init, changing the source code won't be necessary.
Perhaps an oversight ?