aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMhd Sulhan <ms@kilabit.info>2015-09-05 14:40:42 +0700
committerMhd Sulhan <ms@kilabit.info>2015-09-05 14:40:42 +0700
commit137309cb0d5b51a1adeec9233241dfbb6f70df07 (patch)
treea439aa58f886fa108a10f785a3c7ff3b40955c82
parent06681420f512c0a584e22dd8f4041d6f3e752acb (diff)
downloadarch-docker-137309cb0d5b51a1adeec9233241dfbb6f70df07.tar.xz
Include grep in default installation.
-rwxr-xr-xarch-base/create-rootfs.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch-base/create-rootfs.sh b/arch-base/create-rootfs.sh
index 0224df6..5d2779f 100755
--- a/arch-base/create-rootfs.sh
+++ b/arch-base/create-rootfs.sh
@@ -7,7 +7,6 @@
## (4) run pacstrap.
## (5) copy bootstrap script and default pacman config.
## (6) run bootstrap script in new root fs.
-## (7) cleaning.
##
## (1)
@@ -21,7 +20,7 @@ umount -R "$ROOTFS"
mount -t tmpfs -o size=400M tmpfs "$ROOTFS"
## (4)
-./pacstrap.sh -c -d "$ROOTFS" bash coreutils ca-certificates pacman sed binutils file
+./pacstrap.sh -c -d "$ROOTFS" bash coreutils ca-certificates pacman sed binutils file grep
## (5)
cp ./pacman.conf "$ROOTFS/etc/"
@@ -29,6 +28,3 @@ cp ./bootstrap.sh "$ROOTFS/"
## (6)
arch-chroot "$ROOTFS" /bin/sh -c /bootstrap.sh
-
-## (7)
-rm "$ROOTFS"/bootstrap.sh