./openbsd 4.4 iso creating

November 13th, 2008

#!/usr/local/bin/bash

#
#
arch="i386"       # Architecture
version="4.4"      # OS version
directory="/tmp/OpenBSD4.4" #download directory
ftp="ftp://ftp.openbsd.org/pub/OpenBSD"
#
echo "Building the environment"
mkdir -p $directory/$version/$arch
cd $directory/$version/$arch
#
echo "getting the release files"
wget --passive-ftp --reject "*iso" $ftp/$version/$arch/*
#
echo "Building the OpenBSD $version ISO"
cd $directory
mkisofs -r -no-emul-boot -b $version/$arch/cdbr -c boot.catalog -o OpenBSD.iso $directory
#
echo "DONE."
#


2 Comments to “./openbsd 4.4 iso creating”


  1. Nat said:

    There is no bash. pdksh for all, plus, just download the damned thing, they make release isos.


  2. daiver said:

    Yep, thanks for comment, but I don’t like easy ways :)

Leave a Reply