Skip to content

paepckehh/appliance-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OVERVIEW

paepcke.de/appliance-builder

Cross Plattform FreeBSD Appliance Builder (Explorative Lab Env!)

CONFIGURE

Works best by booting an existing FreeBSD BSRV (Build Server) Image. If not possible, manual bootstrap:

  1. Configure bin/.bsdconf
    • set at least BSD_STORE file path root
  2. Configure Env
    • . bin/.bsdconf
    • export PATH=$PATH:appliance-builder/bin
  3. cd $BSD_SBC
    • create a sbc/workstation/server hardware definition
    • easy to configure via inherences, see existing examples
    • activate all covered active profiles via .active file
  4. cd $BSD_DIST
    • create a distribution set (eg. packages/software needed)
    • easy to configure via inherences, see existing examples
    • activate all covered active profiles via .active file
  5. Build all packages (native, cross-plattform) for all targets
    • BSDpkg cc
    • opt: check appliance-builder/bin/action/.buildenv.sh for bootstrap toolchain
  6. Build Appliance image
    • BSDbuild SBC DIST (Example: BSDbuild amd64 bsrv)
  7. Write Appliance image
    • BSDwrite SBC DIST DEVICE (Example: BSDwrite amd64 bsrv da1)

TODO

[ ] Upate Bootstrap Env Documentation

DOCS

CONTRIBUTION

Yes, Please! PRs Welcome!