gentoo: profile 变更

没有了 default/linux/amd64/17.1/systemd
新增了 default/linux/amd64/17.1/systemd/merged-usr
This commit is contained in:
bin456789 2024-03-02 21:49:19 +08:00
parent ae796ce333
commit 4421cb60d2
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -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