Gentoo Archives: gentoo-catalyst

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-catalyst@l.g.o
Subject: FORGET IT. Re: [gentoo-catalyst] about the systemd-tmpfiles patches
Date: Mon, 17 Jan 2022 23:27:11
Message-Id: 6185113.6fTUFtlzNn@pinacolada
In Reply to: Re: [gentoo-catalyst] about the systemd-tmpfiles patches by "Andreas K. Huettel"
1 Forget it. This is a lot of pain for not much gain [*].
2
3 I've bumped build-docbook-catalog to version 2.2, which now uses
4 /etc/xml/.lock as lock directory (and creates it if needed).
5
6 [*]
7 On openrc profiles, running systemd-tmpfiles does not do anything since
8 no config files are installed. /run/lock is created somewhere inside
9 openrc, with different permissions compared to a systemd profile...
10 so we'd need to install a hand-crafted config...
11 That kind of gave me the last push towards a simpler solution.
12
13 Am Montag, 17. Januar 2022, 16:25:18 CET schrieb Andreas K. Huettel:
14 > on second thought, it probably makes sense to move the tmpfs mount and
15 > the systemd-tmpfiles call for stage1root *after* the installation of
16 > baselayout. started another test run...
17 >
18 > Am Montag, 17. Januar 2022, 15:51:22 CET schrieb Andreas K. Huettel:
19 > > 0) this is for bug 816303 and its fallout
20 > > https://bugs.gentoo.org/816303
21 > >
22 > > 1) for this to even have a chance of working, systemd-tmpfiles needs to be
23 > > in *stage1* (otherwise it can't be called at the start of the stage3
24 > > build).
25 > >
26 > > Since we can perfectly add whole systemd to packages.build, adding only
27 > > systemd-tmpfiles on openrc stages is no big deal (I checked, it works).
28 > >
29 > > 2) systemd-tmpfiles only does as much as its already present config says
30 > >
31 > > Which means we get an additional hook, but it's not doing too much yet.
32 > > I hope it's enough, so far I rebuilt stages 4 times with different package
33 > > sets and did not see any failures yet.
34 > >
35 > >
36 >
37 >
38 >
39
40
41 --
42 Andreas K. Hüttel
43 dilfridge@g.o
44 Gentoo Linux developer
45 (council, toolchain, base-system, perl, libreoffice)

Attachments

File name MIME type
signature.asc application/pgp-signature