mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-18 20:39:14 +08:00
gentoo: profile 变更
没有了 default/linux/amd64/17.1/systemd 新增了 default/linux/amd64/17.1/systemd/merged-usr
This commit is contained in:
parent
ae796ce333
commit
4421cb60d2
3
trans.sh
3
trans.sh
@ -1403,7 +1403,8 @@ EOF
|
|||||||
cp -f /etc/resolv.conf $os_dir/etc/resolv.conf
|
cp -f /etc/resolv.conf $os_dir/etc/resolv.conf
|
||||||
|
|
||||||
chroot $os_dir emerge-webrsync
|
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
|
chroot $os_dir eselect profile set $profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user