From 4421cb60d271a5f55c1a190844d0e9cc3d6fe658 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 2 Mar 2024 21:49:19 +0800 Subject: [PATCH] =?UTF-8?q?gentoo:=20profile=20=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 没有了 default/linux/amd64/17.1/systemd 新增了 default/linux/amd64/17.1/systemd/merged-usr --- trans.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trans.sh b/trans.sh index ceea433..3ec69c3 100644 --- a/trans.sh +++ b/trans.sh @@ -1403,7 +1403,8 @@ EOF cp -f /etc/resolv.conf $os_dir/etc/resolv.conf chroot $os_dir emerge-webrsync - profile=$(chroot $os_dir eselect profile list | grep '/[0-9\.]*/systemd (stable)' | awk '{print $2}') + profile=$(chroot $os_dir eselect profile list | + grep stable | grep systemd | grep -v desktop | tail -1 | awk '{print $2}') chroot $os_dir eselect profile set $profile fi