public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] New profiles 23.0
Date: Tue, 26 Mar 2024 16:21:23 +0000	[thread overview]
Message-ID: <13481552.dW097sEU6C@rogueboard> (raw)
In-Reply-To: <MTAwMDAyOC53ZG5lc2RheQ.1711466483@quikprotect>

[-- Attachment #1: Type: text/plain, Size: 5123 bytes --]

On Tuesday, 26 March 2024 15:21:32 GMT Walter Dnes wrote:
>   I'm AMD64 stable OpenRC.  I got tired of dicking around resizing
> partitions years ago, so I have all data and binaries in one honking
> big partition.  Also separate partitions for UEFI and swap.  I assume
> my system is already "merged-usr".  Current profile...
> 
>   [12]  default/linux/amd64/17.1/no-multilib (exp) *
> 
>   I just ran "emerge --sync" and got the profile news item.  So do I
> update world and then update profile?  

No!

Please check the migration instructions for profile 23 as provided in the news 
item.  You must follow the steps suggested in the order they are written *and* 
you must select the correct profile.  The profile you show above is split-usr, 
which was the default.  This is the traditional split-usr linux fs which has /
bin, /sbin, /lib and /lib64 as discrete directories under /, e.g.:

~ # tree -L 1 /
/
├── bin
├── boot
├── dev
├── etc
├── home
├── lib
├── lib64
├── lost+found
├── media
├── mnt
├── opt
├── proc
├── root
├── run
├── sbin
├── sys
├── tmp
├── usr
└── var

20 directories, 0 files


The merged-usr fs structure has the aforementioned directories set as symlinks 
under /usr, e.g.:

~ # tree -L 1 /
/
├── bin -> usr/bin
├── boot
├── dev
├── etc
├── home
├── lib -> usr/lib
├── lib64 -> usr/lib64
├── media
├── mnt
├── opt
├── proc
├── root
├── run
├── sbin -> usr/bin
├── sys
├── tmp
├── usr
├── var
└── BackUps

20 directories, 0 files


Consequently, in following the migration instructions methodically and 
assuming you have a split-usr fs layout, you will need to change profile to:

 [49]  default/linux/amd64/23.0/split-usr/no-multilib (stable)

rebuild your toolchain in the order and in the way suggested in the news item, 
then emerge @world with '--emptytree'.

If you want to convert the fs structure to a merged-usr layout after the 
migration to your new profile follow the instructions here:

https://wiki.gentoo.org/wiki/Merge-usr

Assuming the --dryrun does not come up with any problems you then have to run 
emerge -uaNDv world, which will spit out which packages are affected by it - 
e.g. on one of my systems I see these candidates:

Dependency resolution took 35.09 s (backtrack: 0/20).

[ebuild   R    ] sys-apps/baselayout-2.14-r2::gentoo  USE="-build (-split-
usr*)" 0 KiB
[ebuild   R    ] dev-libs/lzo-2.10:2::gentoo  USE="-examples (-split-usr*) -
static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] app-alternatives/bzip2-1::gentoo  USE="reference -lbzip2 -
pbzip2 (-split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/tar-0::gentoo  USE="gnu -libarchive (-split-
usr*)" 0 KiB
[ebuild   R    ] app-alternatives/gzip-1::gentoo  USE="reference -pigz (-
split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/cpio-0::gentoo  USE="gnu -libarchive (-
split-usr*)" 0 KiB
[ebuild   R    ] app-alternatives/awk-4::gentoo  USE="gawk -busybox -mawk -
nawk (-split-usr*)" 0 KiB
[ebuild   R    ] sys-apps/coreutils-9.4-r1::gentoo  USE="acl nls openssl xattr 
-caps -gmp -hostname -kill -multicall (-selinux) (-split-usr*) -static -test -
vanilla -verify-sig" 0 KiB
[ebuild   R    ] sys-libs/libxcrypt-4.4.36:0/1::gentoo  USE="(compat) (system) 
-headers-only (-split-usr*) -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] sys-apps/systemd-utils-254.8::gentoo  USE="acl kmod tmpfiles 
udev -boot -kernel-install -secureboot (-selinux) (-split-usr*) -sysusers -
test -ukify" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -
python3_10 -python3_12" 0 KiB
[ebuild   R    ] sys-libs/ncurses-6.4_p20230401:0/6::gentoo  USE="cxx gpm 
stack-realign (tinfo) -ada -debug -doc -minimal -profile (-split-usr*) -
static-libs -test -trace -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-libs/libusb-1.0.26:1::gentoo  USE="udev -debug -doc -
examples (-split-usr*) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-process/procps-3.3.17-r2:0/8::gentoo  USE="elogind kill 
ncurses nls (unicode) -modern-top (-selinux) (-split-usr*) -static-libs -
systemd -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] sys-apps/shadow-4.14.2:0/4::gentoo  USE="acl nls pam xattr -
audit -cracklib (-selinux) -skey (-split-usr*) -su -systemd -verify-sig" 0 KiB
[ebuild   R    ] net-firewall/iptables-1.8.10:0/1.8.3::gentoo  USE="-conntrack 
-netlink -nftables -pcap (-split-usr*) -static-libs -test" 0 KiB
[ebuild   R    ] net-mail/mailutils-3.15::gentoo  USE="clients gdbm ipv6 nls 
pam ssl threads -berkdb -bidi -emacs -guile -kerberos -kyotocabinet -ldap -
mysql -postgres -python -sasl -servers (-split-usr*) -static-libs -tcpd -
tokyocabinet" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB

Total: 16 packages (16 reinstalls), Size of downloads: 0 KiB

HTH.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2024-03-26 16:22 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-23 14:59 [gentoo-user] New profiles 23.0 Peter Humphrey
2024-03-23 15:08 ` Peter Humphrey
2024-03-23 16:56   ` Michael
2024-03-23 16:56   ` Peter Humphrey
2024-03-23 17:33     ` Dale
2024-03-23 17:42       ` Michael
2024-03-23 18:29         ` ralfconn
2024-03-23 18:43           ` Michael
     [not found]             ` <bc051c33-92ed-4eee-812a-2e85e7c3d9f5@yahoo.com>
     [not found]               ` <3741700.MHq7AAxBmi@rogueboard>
2024-03-23 19:37                 ` ralfconn
2024-03-24 15:50                   ` ralfconn
2024-03-23 19:38         ` Dale
2024-03-25 14:41         ` Peter Humphrey
2024-03-25 17:00           ` Jacques Montier
2024-03-25 17:17             ` Michael
2024-03-25 17:37               ` Jacques Montier
2024-03-25 17:44                 ` Michael
2024-03-25 18:54                   ` Jacques Montier
2024-03-26 10:32                     ` William KENWORTHY
2024-03-26 13:01                       ` Michael
2024-03-29 17:46                         ` Michael
2024-03-24 18:31 ` Björn Fischer
2024-03-24 18:34   ` Michael
2024-03-26 15:21 ` Walter Dnes
2024-03-26 15:27   ` Walter Dnes
2024-03-26 15:35   ` Peter Humphrey
2024-03-26 15:51   ` [gentoo-user] " Grant Edwards
2024-03-26 16:21   ` Michael [this message]
2024-03-26 19:55     ` [gentoo-user] " Walter Dnes
2024-03-26 20:16       ` [gentoo-user] " Grant Edwards
2024-03-30 18:34         ` Walter Dnes
2024-04-02 18:54           ` J. Roeleveld
2024-03-26 17:13   ` [gentoo-user] " Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13481552.dW097sEU6C@rogueboard \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox