• Kirill Kolyshkin's avatar
    scripts/build/extract-deb-pkg: fix/improve · 5b158804
    Kirill Kolyshkin authored
    Numerous improvement to extract-deb-pkg, in no particular order:
    
     * Use bash
     * More strict error checking (set -u -o pipefail)
     * Print error message if target dir exists
     * Check number of arguments, provide usage info
     * Separate mirror to a variable for easier changing
     * Use mirrors.kernel.org
     * Use https and check cert with curl
     * Make curl silent
     * Use zgrep instead of gunzip | grep
     * Error out with a message in case more than 1 package was found
     * Do not create a target directory before we need it
     * Fix shellcheck warnings (way too many to mention)
     * ...
     * PROFIT!!!111
    Signed-off-by: 's avatarKir Kolyshkin <kolyshkin@gmail.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    5b158804
Name
Last commit
Last update
..
Dockerfile.aarch64.hdr Loading commit data...
Dockerfile.alpine Loading commit data...
Dockerfile.armv7hf.hdr Loading commit data...
Dockerfile.fedora-asan Loading commit data...
Dockerfile.ppc64le.hdr Loading commit data...
Dockerfile.s390x.hdr Loading commit data...
Dockerfile.tmpl Loading commit data...
Dockerfile.x86_64.hdr Loading commit data...
Makefile Loading commit data...
binfmt_misc Loading commit data...
extract-deb-pkg Loading commit data...