Skip to content

Commit

Permalink
Be more specific when importing tarballs for gentoo-base
Browse files Browse the repository at this point in the history
  • Loading branch information
rahilarious committed May 25, 2023
1 parent 112da12 commit 79db94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gentoo-base/create_gentoo_containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

time { cd ${HOME}/containers/gentoo/gentoo-base && \
wget -c https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/$(curl -sL https://bouncer.gentoo.org/fetch/root/all/releases/amd64//autobuilds/latest-stage3-amd64-nomultilib-systemd-mergedusr.txt | tail -n1 | awk '{print $1;}') && \
podman import -c 'CMD ["/usr/bin/bash"]' $(find ${HOME}/containers/gentoo/gentoo-base -type f -name 'stage3*' 2> /dev/null | tail -n1) gentoo/stage3:nomultilib-systemd-merged && \
podman import -c 'CMD ["/usr/bin/bash"]' $(find ${HOME}/containers/gentoo/gentoo-base -type f -name 'stage3*xz' 2> /dev/null | tail -n1) gentoo/stage3:nomultilib-systemd-merged && \
podman build --squash-all \
-f ${HOME}/containers/gentoo/gentoo-base/Containerfile \
-v ${HOME}/.local/share/containers/storage/volumes/gentoo_repo/_data:/var/db/repos \
Expand Down

0 comments on commit 79db94f

Please sign in to comment.