GithubHelp home page GithubHelp logo

kisom / build_release Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 128 KB

perl script to build a custom OpenBSD release install iso.

Home Page: https://bitbucket.org/kisom/build_release

License: Other

Perl 100.00%

build_release's Introduction

build_release.pl

written by Kyle Isom <[email protected]>

builds an OpenBSD install image.

LICENSE
Dual licensed public domain and ISC-licensed.

INTRODUCTION
build_release is designed to build a custom install image equivalent to the
installXX.iso image offered by the OpenBSD team. It uses a siteXX.tgz set
to provide the customization.

USAGE:
./build_release.pl <options> <siteXX.tgz> <path to build image>

Options:
    -a <arch>   set architecture
    -r <rel>    set release
    -s none     do not add site tarball
    -m          include man pages
    -g          include gamesXX.tgz
    -x          include X11 sets
    -c          include compiler sets
    -m          set the FTP mirror
    -o <path>   iso output directory
    -n          do not fetch files
    -v          vanilla build (no siteXX.tgz)
    
ARCHITECTURE    
At this time, the script only supports building images for amd64 and i386. In
the future, the sparc64 architecture may be supported. If the script is not
run on an OpenBSD machine, the architecture needs to be manually specified. If
the build machine is OpenBSD, not specifying an architecture results in the
script using the same architecture as the host machine. Note that amd64 builds
may be done on an i386 machine, as no cross-compiling takes place.

RELEASE
Release is expected to be in the form X.X, i.e. 4.8.

SITE FILES
The site file may be specified as an argument or built from a root path. For a
description of the site set, see the OpenBSD FAQ section 4.14. If the -s flag
is specified, it needs to point to a root directory where the site files are.
For example:
    $ ls /tmp/stage/
    .       ..      etc
If -s is not specified, the first argument must be the siteXX.tgz file.



build_release's People

Contributors

kisom avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.