1 |
Signed-off-by: Mike Gilbert <floppym@g.o> |
2 |
--- |
3 |
.../2022-12-01-systemd-usrmerge.en.txt | 35 +++++++++++++++++++ |
4 |
1 file changed, 35 insertions(+) |
5 |
create mode 100644 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt |
6 |
|
7 |
diff --git a/2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt b/2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt |
8 |
new file mode 100644 |
9 |
index 0000000..19849bf |
10 |
--- /dev/null |
11 |
+++ b/2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt |
12 |
@@ -0,0 +1,35 @@ |
13 |
+Title: /usr merge for systemd users |
14 |
+Author: Mike Gilbert <floppym@g.o> |
15 |
+Posted: 2022-12-01 |
16 |
+Revision: 1 |
17 |
+News-Item-Format 2.0 |
18 |
+Display-If-Installed: sys-apps/systemd |
19 |
+ |
20 |
+In the latter half of 2023, systemd will drop support for |
21 |
+split-usr/unmerged-usr systems [1]. All Gentoo systems running systemd |
22 |
+will need to be migrated to merged-usr. |
23 |
+ |
24 |
+Migrating to merged-usr will move all data from /bin, /sbin, and /lib |
25 |
+into the /usr/bin and /usr/lib directories. The directories in / are |
26 |
+replaced with symlinks. |
27 |
+ |
28 |
+To facilitate this, a new set of sub-profiles has been created, and a |
29 |
+script is availble to perform the actual migration. |
30 |
+ |
31 |
+To migrate a system to merged-usr, follow this procedure: |
32 |
+ |
33 |
+1. Ensure your system backups are up to date. |
34 |
+ |
35 |
+2. Install sys-apps/merge-usr. |
36 |
+ |
37 |
+3. Run the merge-usr script. The --dryrun option may be used to |
38 |
+ check for error conditions before running the script for real. |
39 |
+ |
40 |
+4. Switch to a merged-usr profile. |
41 |
+ eg. eselect profile set default/linux/amd64/17.1/systemd/merged-usr |
42 |
+ |
43 |
+5. Run emerge with the --newuse or --changed-use option to rebuild |
44 |
+ any packages that have a "split-usr" USE flag. |
45 |
+ eg. emerge -uDN @world |
46 |
+ |
47 |
+[1] https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html |
48 |
-- |
49 |
2.37.3 |