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