From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 97B3B1382C5 for ; Sat, 19 Jun 2021 21:04:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BA5CE0827; Sat, 19 Jun 2021 21:04:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B18DFE081A for ; Sat, 19 Jun 2021 21:04:15 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org Cc: pr@gentoo.org Subject: [gentoo-dev] news item: riscv upgrade to 20.0 profiles Date: Sat, 19 Jun 2021 23:04:06 +0200 Message-ID: <4829068.M3retTD8dW@pinacolada> Organization: Gentoo Linux Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart17159324.mzqWEpnEhh"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: 3f1ca053-a2c1-488f-bcc8-6bf85e3429f0 X-Archives-Hash: 4d7ef6eb95362fd4a35dda8363a58e68 --nextPart17159324.mzqWEpnEhh Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; protected-headers="v1" From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org Cc: pr@gentoo.org Subject: news item: riscv upgrade to 20.0 profiles Date: Sat, 19 Jun 2021 23:04:06 +0200 Message-ID: <4829068.M3retTD8dW@pinacolada> Organization: Gentoo Linux =46eedback welcome... Title: riscv upgrade to 20.0 profiles Author: Andreas K. H=FCttel Posted: 2021-06-25 Revision: 1 News-Item-Format: 2.0 Display-If-Profile: default/linux/riscv/17.0/rv64gc/lp64d Display-If-Profile: default/linux/riscv/17.0/rv64gc/lp64d/systemd Display-If-Profile: default/linux/riscv/17.0/rv64gc/lp64 Display-If-Profile: default/linux/riscv/17.0/rv64gc/lp64/systemd On RISC-V we are switching from two-level library directories (e.g.,=20 /usr/lib64/lp64d) to a more traditional directory architecture. This is done via the profile upgrade from 17.0 to 20.0 profiles. We recommend to re-install from scratch using a 20.0 profile based stage. 17.0 profiles will be deprecated immediately and removed in 6 months. If you want to upgrade an existing installation, the following steps should be taken. Please read all commands carefully first and make sure you understand them, since the procedure is risky. The=20 commands are given for a lp64d profile; in case of a lp64 profile,=20 always replace lp64d with lp64. # cd /usr/local/lib64 # cp -av lp64d/. . # rm -rf lp64d # ln -s . lp64d # cd /usr/lib64 # cp -av lp64d/. . # rm -rf lp64d # ln -s . lp64d # cd /lib64 # cp -av lp64d/. . # rm -rf lp64d # sln . lp64d Note that the last command uses "sln" instead of "ln -s". Then switch from your 17.0 profile to the corresponding 20.0 profile, either by using "eselect profile" or by manually changing the /etc/portage/make.profile symlink. Next, rebuild all packages: # emerge -eav world As last step, check if portage has removed any of the symlinks created=20 above, and if yes, recreate them. =2D-=20 Andreas K. H=FCttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) --nextPart17159324.mzqWEpnEhh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAABCgB9FiEE6W4INB9YeKX6Qpi1TEn3nlTQogYFAmDOW8ZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU5 NkUwODM0MUY1ODc4QTVGQTQyOThCNTRDNDlGNzlFNTREMEEyMDYACgkQTEn3nlTQ ogYScBAAj8RBwCv65CqVSvH+9ZkTmhPk7NEIcvSHBcOcEG6y0YNb3wG5k6fPNc8p B7Conax0pRFwGbuz/1VPvacSx3AaD5fKBXPiEKMJGFgqpi7SzQ2JLLJIzpZqQ5mL OelRJpK8RIFZgafsKAcDUzeAX9mx/4HtagIVl4Nv6loMGNzuLBdgzJD6EP+ZV82A P7cOb4oSBlYvAHOXSuUOLz/5BFQGW3CLf0yzx82jgF/EVLPQyUT86WsM33BUjYJf fvvHigLDqA4f7mtfBTWb1Uf2UCT3KDeoYrcvNYeunV1qbw7axA7/R9upcBol0cGm I7tT5JO+hXFG9YxkNU1oG/3bievO8v90gMbNqUuj1l8u55B22img0beRrF3x4vAT c/SSNRbmsJwYWDvwAtQa7SnOmm2O1V/xfLsidrL2JLhuAU2TpVmCQ5wANdl+SO6i 1x9GcxhWhNpAyVH+Flo7HRxpglkz5SEfwcX9IBSfYtekMi6L03Q652ZEMMPbhz9p AbEhNq3XXcxsDC+9WlRtpOnf87S0PZlOwq7/EknwYrLXZQ8GWW9yzMac5iho9lQL NUExQT/sJX3DnCOlbrL1yaX1yDCY0Y1LMXgnXqB1WzAPNuFQWVsaWTzE5ealMXv9 3s4RBt6d9CeesOiSkuYkvES/8v74/ssOtydoikO+IxiSwtxQj9Q= =9uoM -----END PGP SIGNATURE----- --nextPart17159324.mzqWEpnEhh--