From 768c5f296b0c5ff5f22ead03642db5dca194089f Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Tue, 19 Dec 2023 21:40:43 -0700 Subject: salt in a virtualenv --- salt/gentoo_baseimage/gentoo_baseimage/files/build.sh | 2 +- .../gentoo_baseimage/files/eselect-repo.conf | 4 ++++ salt/gentoo_baseimage/gentoo_baseimage/files/installdeps.sh | 13 ------------- salt/gentoo_baseimage/gentoo_baseimage/files/make.conf | 3 ++- 4 files changed, 7 insertions(+), 15 deletions(-) create mode 100644 salt/gentoo_baseimage/gentoo_baseimage/files/eselect-repo.conf (limited to 'salt/gentoo_baseimage') diff --git a/salt/gentoo_baseimage/gentoo_baseimage/files/build.sh b/salt/gentoo_baseimage/gentoo_baseimage/files/build.sh index e0f0cb1..d06e6dd 100644 --- a/salt/gentoo_baseimage/gentoo_baseimage/files/build.sh +++ b/salt/gentoo_baseimage/gentoo_baseimage/files/build.sh @@ -27,7 +27,7 @@ for image in $(docker images | awk '{print $3}'); do done echo "Building docker image" -docker build -t {{ pillar["gentoo_baseimage"]["image_name"] }}:{{ pillar["ci"]["tag"] }} . +docker build --progress plain -t {{ pillar["gentoo_baseimage"]["image_name"] }}:{{ pillar["ci"]["tag"] }} . {% if pillar["ci"]["local_build"] == False %} echo "Push docker image to the registry" diff --git a/salt/gentoo_baseimage/gentoo_baseimage/files/eselect-repo.conf b/salt/gentoo_baseimage/gentoo_baseimage/files/eselect-repo.conf new file mode 100644 index 0000000..b129b3a --- /dev/null +++ b/salt/gentoo_baseimage/gentoo_baseimage/files/eselect-repo.conf @@ -0,0 +1,4 @@ +[lisp] +location = /var/db/repos/lisp +sync-type = git +sync-uri = https://anongit.gentoo.org/git/proj/lisp.git diff --git a/salt/gentoo_baseimage/gentoo_baseimage/files/installdeps.sh b/salt/gentoo_baseimage/gentoo_baseimage/files/installdeps.sh index 6c1964f..9aaf18f 100644 --- a/salt/gentoo_baseimage/gentoo_baseimage/files/installdeps.sh +++ b/salt/gentoo_baseimage/gentoo_baseimage/files/installdeps.sh @@ -13,17 +13,4 @@ source /etc/profile eselect news read all eselect news purge etc-update --automode -5 -emerge app-portage/layman -layman -L -layman -a lisp -echo 'source "/var/lib/layman/make.conf"' >> /etc/portage/make.conf -cat >/var/lib/layman/make.conf <