Browse code

Fix bogus variable reference in mkimage-yum.sh

Fixes this: https://github.com/dotcloud/docker/commit/d419da7227826e84e9375ece4fd9d4978a42cbf7#commitcomment-5344982

Docker-DCO-1.1-Signed-off-by: Chris St. Pierre <chris.a.st.pierre@gmail.com> (github: stpierre)

Chris St. Pierre authored on 2014/02/12 22:02:36
Showing 1 changed files
... ...
@@ -51,7 +51,7 @@ done
51 51
 
52 52
 yum -c "$yum_config" --installroot="$target" --setopt=tsflags=nodocs \
53 53
     --setopt=group_package_types=mandatory -y groupinstall Core
54
-yum -c "$yum_config" --installroot="$mount" -y clean all
54
+yum -c "$yum_config" --installroot="$target" -y clean all
55 55
 
56 56
 cat > "$target"/etc/sysconfig/network <<EOF
57 57
 NETWORKING=yes