commit:     5d869a12d47362055873f519a82313c6f40fdbdb
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  8 16:44:33 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Dec  8 16:54:42 2022 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=5d869a12

2022-12-01-systemd-usrmerge: rework steps based on feedback

Bug: https://bugs.gentoo.org/884655
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../2022-12-01-systemd-usrmerge.en.txt                  | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

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
index 4bf3e05..be1870c 100644
--- 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
@@ -1,7 +1,7 @@
 Title: /usr merge for systemd users
 Author: Mike Gilbert <flop...@gentoo.org>
 Posted: 2022-12-01
-Revision: 2
+Revision: 3
 News-Item-Format: 2.0
 Display-If-Installed: sys-apps/systemd
 
@@ -22,14 +22,19 @@ To migrate a system to merged-usr, follow this procedure:
 
 2. Install sys-apps/merge-usr.
 
-3. Run the merge-usr script in a root shell (not using 'sudo', as a 
precautionary
-   measure). The --dryrun option may be used to check for error conditions
-   before running the script for real.
+3. Run "merge-usr --dryrun" as root to check for conflicts. These will
+   appear with the word ERROR at the start of the line.
 
-4. Switch to a merged-usr profile.
+4. Resolve any conflicts. This may involve deleting duplicate files. If
+   in doubt, seek support in a Gentoo support channel.
+
+5. Run the merge-usr script from a root shell. Avoid running it via sudo
+   directly to avoid locking yourself out if an unexpected error occurs.
+
+6. 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
+7. Run emerge with the --newuse or --changed-use option to rebuild
    any packages that have a "split-usr" USE flag.
      eg. emerge -uDN @world
 

Reply via email to