From 9f59b057be25656214d65040ae113c0d76d99324 Mon Sep 17 00:00:00 2001 From: Zoltan Tombol Date: Sun, 21 Dec 2014 01:16:19 +0100 Subject: [PATCH 1/2] Revise list of installed packages in mkimage-arch.sh Docker-DCO-1.1-Signed-off-by: Zoltan Tombol (github: ztombol) --- contrib/mkimage-arch.sh | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/contrib/mkimage-arch.sh b/contrib/mkimage-arch.sh index bf00e60e71..216cd72350 100755 --- a/contrib/mkimage-arch.sh +++ b/contrib/mkimage-arch.sh @@ -18,7 +18,32 @@ ROOTFS=$(mktemp -d ${TMPDIR:-/var/tmp}/rootfs-archlinux-XXXXXXXXXX) chmod 755 $ROOTFS # packages to ignore for space savings -PKGIGNORE=linux,jfsutils,lvm2,cryptsetup,groff,man-db,man-pages,mdadm,pciutils,pcmciautils,reiserfsprogs,s-nail,xfsprogs +PKGIGNORE=( + cryptsetup + device-mapper + dhcpcd + iproute2 + jfsutils + linux + lvm2 + man-db + man-pages + mdadm + nano + netctl + openresolv + pciutils + pcmciautils + reiserfsprogs + s-nail + systemd-sysvcompat + usbutils + vi + xfsprogs +) +IFS=',' +PKGIGNORE="${PKGIGNORE[*]}" +unset IFS expect < Date: Sun, 21 Dec 2014 01:25:15 +0100 Subject: [PATCH 2/2] Delete man pages of installed packages in mkimage-arch.sh Docker-DCO-1.1-Signed-off-by: Zoltan Tombol (github: ztombol) --- contrib/mkimage-arch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/mkimage-arch.sh b/contrib/mkimage-arch.sh index 216cd72350..382e2f7802 100755 --- a/contrib/mkimage-arch.sh +++ b/contrib/mkimage-arch.sh @@ -61,6 +61,7 @@ expect < $ROOTFS/etc/locale.gen