* [gentoo-dev] [PATCH] 2022-12-01-systemd-usrmerge: add news item
@ 2022-10-11 16:27 Mike Gilbert
0 siblings, 0 replies; only message in thread
From: Mike Gilbert @ 2022-10-11 16:27 UTC (permalink / raw
To: gentoo-dev; +Cc: pr, Mike Gilbert
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
.../2022-12-01-systemd-usrmerge.en.txt | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt
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
new file mode 100644
index 0000000..19849bf
--- /dev/null
+++ b/2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt
@@ -0,0 +1,35 @@
+Title: /usr merge for systemd users
+Author: Mike Gilbert <floppym@gentoo.org>
+Posted: 2022-12-01
+Revision: 1
+News-Item-Format 2.0
+Display-If-Installed: sys-apps/systemd
+
+In the latter half of 2023, systemd will drop support for
+split-usr/unmerged-usr systems [1]. All Gentoo systems running systemd
+will need to be migrated to merged-usr.
+
+Migrating to merged-usr will move all data from /bin, /sbin, and /lib
+into the /usr/bin and /usr/lib directories. The directories in / are
+replaced with symlinks.
+
+To facilitate this, a new set of sub-profiles has been created, and a
+script is availble to perform the actual migration.
+
+To migrate a system to merged-usr, follow this procedure:
+
+1. Ensure your system backups are up to date.
+
+2. Install sys-apps/merge-usr.
+
+3. Run the merge-usr script. The --dryrun option may be used to
+ check for error conditions before running the script for real.
+
+4. Switch to a merged-usr profile.
+ eg. eselect profile set default/linux/amd64/17.1/systemd/merged-usr
+
+5. Run emerge with the --newuse or --changed-use option to rebuild
+ any packages that have a "split-usr" USE flag.
+ eg. emerge -uDN @world
+
+[1] https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html
--
2.37.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-11 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-11 16:27 [gentoo-dev] [PATCH] 2022-12-01-systemd-usrmerge: add news item Mike Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox