/
Setty
/
gentoo-installation
Обзор
Документация
Войти
/
Setty
/
gentoo-installation
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Source/Scripts/10-sync.sh
11 строк
480 B
Setty
Реализация готовых скриптов для установки Gentoo
24 июн 2026, 06:45
24 июн 2026, 06:45
9970de5
Код
Авторство
О чём код?
# 10-sync.sh — sync tree, set profile, update world (sourced by 02-chroot.sh) need_common step "Sync Portage" if command -v emerge-webrsync >/dev/null; then emerge-webrsync; else emerge --sync; fi ok "Tree synced" step "Profile + world update" eselect profile set default/linux/amd64/23.0 || warn "Could not set profile by name (likely already set)" info "Profile: $(eselect profile show 2>/dev/null | tail -n1)" emerge_aw --update --deep --newuse @world ok "World up to date"