Obtaining NetBSD binaries

grab-binary | grab-source | kernel | cross | world | tweak

By means of http

mirror=...

mkdir -p /data/kernels/netbsd92/
cd /data/kernels/netbsd92/

    mkdir -p /data/kernels/netbsd-current/
    cd /data/kernels/netbsd-current/
lftp -e ls ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD/

kernel

# PV
wget $mirror/binary/kernel/netbsd-XEN3_DOMU.gz
#wget $mirror/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz

# PVH
wget $mirror/binary/kernel/netbsd-GENERIC.gz
#wget $mirror/binary/kernel/netbsd-GENERIC_KASLR.gz
#wget $mirror/binary/kernel/netbsd-INSTALL.gz

sets

for set in base comp etc man misc modules text; do
    echo -n fetching $set...
    wget -q $mirror/binary/sets/$set.tar.xz && echo done
done; unset set

By means of rsync

grab the latest release or current build and necessary sets (no X11 required)

    cd /data/kernels/

    nmap -p 873 rsync.fr.netbsd.org
    nmap -p 873 rsync.fr.netbsd.org -sU

    #sets=rsync://rsync.fr.netbsd.org/NetBSD/NetBSD-9.0/amd64/binary/sets
    #sets=rsync://rsync.fr.netbsd.org/NetBSD-daily/netbsd-9/latest/amd64/binary/sets
sets=rsync://rsync.fr.netbsd.org/NetBSD-daily/HEAD/latest/amd64/binary/sets

    #rsync -avz --delete --exclude 'x*.tar.xz' $sets/ netbsd9/
    rsync -avz --delete --exclude 'x*.tar.xz' $sets/ netbsd-current/

See the PXE // NetBSD guide for daily tracking of the binaries.

Resources

NetBSD Mirror Sites https://www.netbsd.org/mirrors/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | NU | HTML5
Copyright © 2022 Pierre-Philipp Braun