💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2023-07-13.txt captured on 2023-07-22 at 17:34:08.

View Raw

More Information

-=-=-=-=-=-=-

[2023-07-13T01:56:20Z] <sujo> does anyone have any experience with packaging Makefiles which use `install`?
[2023-07-13T01:56:52Z] <sujo> attempting to package dcron, but it uses install to set the ownership of the binaries
[2023-07-13T01:57:03Z] <sujo> initially thought it wouldn't be a problem, but kiss won't build it
[2023-07-13T01:58:20Z] <sujo> most recent attempt is here: <https://codeberg.org/dots/repo/src/branch/master/sys/dcron>
[2023-07-13T01:59:03Z] <sujo> would appreciate any input
[2023-07-13T02:05:19Z] <sujo> build log is here
[2023-07-13T02:05:32Z] <sujo> https://0x0.st/Hjas.txt
[2023-07-13T02:25:18Z] <illiliti> you can use post-install script to set ownership, but first you need to deal with makefile
[2023-07-13T02:26:34Z] <illiliti> either patch out commands that set ownership or use a target(if such exists) that does not attempt to set it
[2023-07-13T02:26:48Z] <sujo> Looks pretty ingrained
[2023-07-13T02:26:52Z] <sujo> will have to patch
[2023-07-13T02:27:00Z] <sujo> thanks for response
[2023-07-13T03:55:53Z] <xdream8[m]> sed 's/install -o root/install/g' Makefile > _
[2023-07-13T03:55:53Z] <xdream8[m]> mv -f _ Makefile
[2023-07-13T03:56:08Z] <xdream8[m]> This should fix that
[2023-07-13T10:04:48Z] <iceman[m]> owo kissie linux
[2023-07-13T13:34:20Z] <sewn> What the fu
[2023-07-13T18:37:20Z] <sujo> I have a package that's getting flagged as a conflict, but then the alternative is null
[2023-07-13T18:37:47Z] <sujo> uninstalled, ensured relevant binaries in bin were non-existent, and the re attempted
[2023-07-13T18:37:50Z] <sujo> no joy
[2023-07-13T18:38:50Z] <sujo> package is here <https://codeberg.org/dots/repo/dcron>
[2023-07-13T18:40:35Z] <sujo> kiss a dcron returns Alternative 'dcron null' doesn't exist
[2023-07-13T18:47:03Z] <xdream8[m]> because kiss a is not used like that
[2023-07-13T18:48:17Z] <xdream8[m]> example usage: kiss a | grep ^dcron | kiss a -
[2023-07-13T18:50:25Z] <xdream8[m]> you need pass '<package name> <alternative file>' like: `busybox /usr/bin/grep`
[2023-07-13T18:51:56Z] <sujo> nada
[2023-07-13T18:52:30Z] <sujo> confirmed with util-linux <-> busybox
[2023-07-13T18:52:38Z] <sujo> dcron does nothing
[2023-07-13T18:53:15Z] <sujo> xdream8[m]: Oh, I didn't know that
[2023-07-13T18:53:19Z] <sujo> that's pretty elegant
[2023-07-13T19:12:19Z] <xdream8[m]> You can see all alternatives by directly running kiss a
[2023-07-13T19:26:52Z] <sujo> no output but it's fixed?
[2023-07-13T19:27:35Z] <sujo> '/usr/bin/cron' and '/usr/bin/crontab' are both back
[2023-07-13T19:35:47Z] <xdream8[m]> You can see a list of files dcron owns with: `kiss manifest dcron
[2023-07-13T19:35:53Z] <xdream8[m]> * manifest dcron`
[2023-07-13T19:52:17Z] <sujo> oh, i just cat'd /var/db/kiss/installed/dcron/manifest
[2023-07-13T20:54:36Z] <sewn> <xdream8[m]> "You can see a list of files..." <- alternatively: `kiss owns /usr/bin/cton`
[2023-07-13T21:43:13Z] <sad_plan> hi