diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-12-08 11:44:33 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-12-08 11:54:42 -0500 |
commit | 5d869a12d47362055873f519a82313c6f40fdbdb (patch) | |
tree | e2637b19658d3f6122c6af933ba53b3a78af7cab /2022-12-01-systemd-usrmerge | |
parent | 2022-12-01-systemd-usrmerge: note need to use a root shell (diff) | |
download | gentoo-news-5d869a12d47362055873f519a82313c6f40fdbdb.tar.gz gentoo-news-5d869a12d47362055873f519a82313c6f40fdbdb.tar.bz2 gentoo-news-5d869a12d47362055873f519a82313c6f40fdbdb.zip |
2022-12-01-systemd-usrmerge: rework steps based on feedback
Bug: https://bugs.gentoo.org/884655
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to '2022-12-01-systemd-usrmerge')
-rw-r--r-- | 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt | 17 |
1 files 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 <floppym@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 |