pick the greatest version as a kernel
[myplc.git] / plc.d / bootcd-kernel
index 5c49a96..f439104 100755 (executable)
@@ -34,10 +34,7 @@ case "$1" in
                                ./kvariant.sh "$name" "$url"
                        else
                                dir=$(mktemp -d -p /var/tmp)
-                               yumdownloader --disablerepo='*' \
-                                       --enablerepo=base \
-                                       --enablerepo=updates \
-                                       --destdir "$dir" "$url"
+                               yumdownloader --destdir "$dir" "$url"
                                ./kvariant.sh "$name" "$dir"/"$url"*
                                rm -fr "$dir"
                        fi