| 3 Feb 2025 |
| SomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Bruxelles) to SomeoneSerge (Gand St. Pieters). | 13:40:32 |
| pbsds changed their display name from pbsds (FOSDEM) to pbsds. | 16:25:44 |
| lukts30 joined the room. | 19:40:29 |
Arian | We really should expose the systemd-repart call in bootspec or something | 21:28:22 |
Arian | So you can one shot nixos-install | 21:28:39 |
| 4 Feb 2025 |
Arian | Anybody any idea why we are patching systemdsystemunitdir all over the place in nixpkgs?
https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20systemdsystemunitdir&type=code
I expected pkg-config to do the right thing here due to prefix=$out. Do we have some bug in mkDerivation?
| 18:49:32 |
Arian | in my mind this should just work: https://github.com/systemd/systemd/blob/060676871e3a576219ee6f1b1967cca43754eaca/src/core/systemd.pc.in#L28 | 18:49:56 |
Arian | This definitely works for libraries. Maybe because systemd.pc is not a library we’re screwing this up? | 18:54:35 |
Arian | Or am I misremembering | 18:54:54 |
Alyssa Ross | It's necessary if systemd is unavailable | 20:55:44 |
Alyssa Ross | oh also systemd.pc points into systemd's output path | 20:56:12 |
Alyssa Ross | you can't have a relative path in a .pc file | 20:56:35 |
Alyssa Ross | the prefix in the .pc is systemd's prefix | 20:57:50 |
Alyssa Ross | not the prefix of the package being built | 20:58:20 |
Arian | ah | 21:18:35 |
| 5 Feb 2025 |
@elvishjerricco:matrix.org | Anyone have any idea why losetup would work, but mount -o loop would say "Failed to setup loop device"? | 01:03:51 |
@elvishjerricco:matrix.org | trying to do fancy loop things with systemd initrd | 01:04:14 |
Arian | You need loop kernel module for the mount -o loop | 01:19:34 |
Arian | Is it available? | 01:19:44 |
@elvishjerricco:matrix.org | yea, turns out I did something dumb | 01:22:35 |
@elvishjerricco:matrix.org | well, only a little dumb. | 01:22:45 |
@elvishjerricco:matrix.org | I was trying to mount an erofs image that has the immutable bit set in the file system, so mount was trying to set up the loop device as writable because I didn't pass the ro option. | 01:23:18 |
@elvishjerricco:matrix.org | * I was trying to mount an erofs image that has the immutable bit set in the file system, and mount was trying to set up the loop device as writable because I didn't pass the ro option. | 01:23:41 |
@elvishjerricco:matrix.org | now I'm trying and failing to get dyndbg output on the overlay module | 01:36:57 |
@elvishjerricco:matrix.org | Thought options overlay dyndbg=+pflm in modprobe.d would do it but nope | 01:37:16 |
gdamjan | I think you can mount erofs without loop these days | 12:32:58 |
gdamjan | https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb176750266a | 12:36:49 |
| 6 Feb 2025 |
| Jeff changed their profile picture. | 06:03:00 |
Ramses 🇵🇸 | Does anyone know how you can actually mount an erofs image directly on a recent kernel? Just doing mount -t erofs <img> <mountpoint> seems to always use a loop device | 10:26:44 |
Arian | Will probably need userspace support in mount | 11:30:30 |