aboutsummaryrefslogtreecommitdiff
path: root/arch-base
diff options
context:
space:
mode:
authorMhd Sulhan <ms@kilabit.info>2015-11-28 16:59:44 +0700
committerMhd Sulhan <ms@kilabit.info>2015-11-28 16:59:44 +0700
commit1e9c24d3f47fbf4b22241bebfc11de9c9c615f02 (patch)
treeecc732688e91e63b09db8dd04ec057b8decc7af8 /arch-base
parentbb392b3bf7ce2085c2cec10d575ab623452017c7 (diff)
downloadarch-docker-1e9c24d3f47fbf4b22241bebfc11de9c9c615f02.tar.xz
Remove packages only after bootstraping is finished.
* arch-base: remove unneeded packages.
Diffstat (limited to 'arch-base')
-rwxr-xr-xarch-base/bootstrap_base.sh2
-rwxr-xr-xarch-base/vars.sh6
2 files changed, 3 insertions, 5 deletions
diff --git a/arch-base/bootstrap_base.sh b/arch-base/bootstrap_base.sh
index fa82e4a..05358f5 100755
--- a/arch-base/bootstrap_base.sh
+++ b/arch-base/bootstrap_base.sh
@@ -10,8 +10,6 @@ bootstrap_timezone
bootstrap_locales
-bootstrap_remove_packages
-
bootstrap_clean_common
bootstrap_clean_base
diff --git a/arch-base/vars.sh b/arch-base/vars.sh
index f611de8..77644d4 100755
--- a/arch-base/vars.sh
+++ b/arch-base/vars.sh
@@ -2,11 +2,11 @@
THISD=${0:a:h}
-PKGS+=(coreutils ca-certificates pacman sed binutils file grep)
-PKGS_REMOVED+=(perl db)
+PKGS=(coreutils binutils findutils sed gzip file)
+PKGS_REMOVED+=(file gzip sed findutils less bzip2 pcre binutils perl db gdbm linux-api-headers)
IMAGE_NAME="sulhan/arch-base"
+IMAGE_ARGS=()
-FILES+=("${THISD}/pacman.conf" "$ROOTFS/etc")
FILES+=("${THISD}/bootstrap_base.sh" "${ROOTFS}/")
BOOTSTRAP_S+=("/bootstrap_base.sh")