Oh hey wait we need to install git first
This commit is contained in:
parent
d4e8f5c014
commit
53eb58bfb4
@ -215,20 +215,6 @@ build-gentoo-chroot() {
|
||||
# Sync repositories
|
||||
log "Getting ebuild repositories"
|
||||
emerge-webrsync
|
||||
log "Configuring gentoo repo"
|
||||
cat <<-EOF > "/etc/portage/repos.conf/gentoo.conf"
|
||||
[DEFAULT]
|
||||
main-repo = gentoo
|
||||
|
||||
[gentoo]
|
||||
location = /usr/portage
|
||||
#sync-depth = 1
|
||||
sync-type = git
|
||||
sync-uri = https://github.com/gentoo-mirror/gentoo.git
|
||||
sync-git-verify-commit-signature = true
|
||||
auto-sync = yes
|
||||
EOF
|
||||
emerge --sync
|
||||
|
||||
# Get the stable plasma/systemd profile and select it
|
||||
profile=$(
|
||||
@ -256,6 +242,7 @@ build-gentoo-chroot() {
|
||||
emerge --jobs --quiet-build y \
|
||||
app-admin/sudo \
|
||||
app-editors/vim \
|
||||
dev-vcs/git \
|
||||
sys-boot/grub:2 \
|
||||
sys-fs/{e2fs,xfs}progs \
|
||||
sys-process/cronie
|
||||
@ -273,6 +260,21 @@ build-gentoo-chroot() {
|
||||
# Rebuilding modules shouldn't be necessary since the kernel was our last step
|
||||
#emerge --jobs --quiet-build y @module-rebuild
|
||||
|
||||
# Reconfigure repo to clone over git from here on out
|
||||
log "Configuring gentoo repo"
|
||||
cat <<-EOF > "/etc/portage/repos.conf/gentoo.conf"
|
||||
[DEFAULT]
|
||||
main-repo = gentoo
|
||||
|
||||
[gentoo]
|
||||
location = /usr/portage
|
||||
#sync-depth = 1
|
||||
sync-type = git
|
||||
sync-uri = https://github.com/gentoo-mirror/gentoo.git
|
||||
sync-git-verify-commit-signature = true
|
||||
auto-sync = yes
|
||||
EOF
|
||||
|
||||
# Install the bootloader
|
||||
mkdir -p /boot/efi
|
||||
chmod 0700 /boot/efi
|
||||
|
Loading…
Reference in New Issue
Block a user