/
Setty
/
gentoo-installation
Обзор
Документация
Войти
/
Setty
/
gentoo-installation
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Source/Scripts/06-deploy.sh
15 строк
606 B
Setty
Реализация готовых скриптов для установки Gentoo
24 июн 2026, 06:45
24 июн 2026, 06:45
9970de5
Код
Авторство
О чём код?
# 06-deploy.sh — copy repo into target + mount system dirs (sourced by 01-prechroot.sh) need_common step "Deploy repo to $MOUNT/installer" mkdir -p "$MOUNT/installer" cp -a "$ROOT/." "$MOUNT/installer/" rm -rf "$MOUNT/installer/.git" chmod -R u+rwX "$MOUNT/installer" ok "Repo copied to $MOUNT/installer" step "Mount system dirs" mount --types proc /proc "$MOUNT/proc" mount --rbind /sys "$MOUNT/sys"; mount --make-rslave "$MOUNT/sys" mount --rbind /dev "$MOUNT/dev"; mount --make-rslave "$MOUNT/dev" mount --bind /run "$MOUNT/run"; mount --make-slave "$MOUNT/run" ok "proc/sys/dev/run mounted"