From bcb3c9f3166060d30bc6b311538b3fe8f5ffde79 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 22 Aug 2014 03:51:06 -0700 Subject: [PATCH] WIP trim.sh: Remove hack @world additions These should be added to @world by the Dockerfiles that require them (it's possible that the trim script itself needs sys-apps/findutils, and we may want to setup BusyBox before removing Bash). --- trim.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/trim.sh b/trim.sh index 89ddec8..07cd96d 100755 --- a/trim.sh +++ b/trim.sh @@ -46,14 +46,10 @@ trim() then IMG="${IMG}:${TAG}" fi - #sys-apps/openrc (/sbin/rc) - #sys-apps/net-tools (/bin/hostname) - #sys-devel/gettext (/usr/bin/envsubst) docker run -t --name "${CONTAINER}" \ -v "${PWD}/empty-system.py:/tmp/empty-system.py" \ "${IMAGE}" /bin/bash -c " /tmp/empty-system.py && - emerge --noreplace app-shells/bash sys-apps/findutils sys-apps/net-tools sys-apps/openrc sys-devel/gettext virtual/package-manager && emerge -v --with-bdeps=n --depclean && rm -rf /usr/portage" || die "failed to create ${CONTAINER}" -- 2.26.2