aboutsummaryrefslogtreecommitdiff
path: root/arch-base
diff options
context:
space:
mode:
Diffstat (limited to 'arch-base')
-rwxr-xr-xarch-base/bootstrap_base.sh15
-rwxr-xr-xarch-base/vars.sh17
2 files changed, 11 insertions, 21 deletions
diff --git a/arch-base/bootstrap_base.sh b/arch-base/bootstrap_base.sh
deleted file mode 100755
index 05358f5..0000000
--- a/arch-base/bootstrap_base.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-echo "==> bootstraping base ..."
-
-. /bootstrap.sh
-
-bootstrap_hostname
-
-bootstrap_timezone
-
-bootstrap_locales
-
-bootstrap_clean_common
-
-bootstrap_clean_base
diff --git a/arch-base/vars.sh b/arch-base/vars.sh
index 77644d4..a72e6e4 100755
--- a/arch-base/vars.sh
+++ b/arch-base/vars.sh
@@ -1,12 +1,17 @@
#!/bin/zsh
-THISD=${0:a:h}
+## Default environment if its not set
+export HOSTNAME="arch-base"
+#export LANG=C.UTF-8
+#export BOOT_LANG=en_GB.UTF-8
+#export TIMEZONE=UTC
+#export LOCALES=(
+# "en_GB.UTF-8 UTF-8"
+# "en_US.UTF-8 UTF-8"
+#)
PKGS=(coreutils binutils findutils sed gzip file)
-PKGS_REMOVED+=(file gzip sed findutils less bzip2 pcre binutils perl db gdbm linux-api-headers)
+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}/bootstrap_base.sh" "${ROOTFS}/")
-
-BOOTSTRAP_S+=("/bootstrap_base.sh")