gentoo: 修复未选择 profile

This commit is contained in:
bin456789 2023-09-17 11:34:53 +08:00
parent 1cd95d07fe
commit 91bb286c98
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -771,7 +771,7 @@ modify_dd_os() {
sed -i 's/enforce=none/enforce=everyone/' $os_dir/etc/security/passwdqc.conf
# 下载仓库,选择 profile
if false && [ ! -d $os_dir/var/db/repos/gentoo/ ]; then
if [ ! -d $os_dir/var/db/repos/gentoo/ ]; then
cp -f /etc/resolv.conf $os_dir/etc/resolv.conf
chroot $os_dir emerge-webrsync