GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - opsboost/image-builder: Operating System Disk Image Builder

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
tests
tests
 
 
ENVIRONMENT
ENVIRONMENT
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
image-builder
image-builder
 
 

Repository files navigation

ShellCheck

image-builder

builds disk images consisting of

  • ESP with systemd-boot and kernel
  • Root filesystem with either Alpine, Gentoo or FreeBSD
  • Optional A/B partitioning scheme
  • Optional read-only rootfs for bare metal or use as virtual machines

Usage

$ image-builder help

  Usage:

    image-builder build   TARGET: alpine|gentoo|freebsd
    image-builder create  TARGET: alpine|gentoo|freebsd
    image-builder write   DEVICE
    image-builder mount   [PARTITION: esp|rootfs]
    image-builder install

Create disk image

$ image-builder create alpine

Mount disk image

$ image-builder mount

Write disk image

$ image-builder write /dev/sdb

Alpine

Utilises raspi-alpine/builder to build an armhf image for Raspberry Pi

Gentoo

Fetches a custom kernel, custom binpkgs and an offical stage3 to create a disk image

Build

Linux

$ image-builder build linux-kernel
Alpine
$ image-builder build alpine
Gentoo
$ image-builder build gentoo

FreeBSD

$ image-builder build freebsd
$ image-builder build freebsd-kernel
$ image-builder build freebsd-world

Network

Wifi

If a wpa_supplicant.conf exists it gets copied to the image during post-build.
Alternatively if wifi credentials are supplied via env during post-build, a config is created from those. Use WIFI_SECURITY, WIFI_ESSID, WIFI_PASSPHRASE, e.g. via the file ENVIRONMENT to supply confguration

Environment

ANSIBLE_USER
ANSIBLE_ROLES
BUILD_TARGET_ARCH
BUILD_USE_CONTAINER
DEBUG
NET_DEV
NET_ADDRESS
NET_GATEWAY
SSH_USER
SSH_PUBKEY

Resources

raspi-alpine builder
Gentoo Handbook
FreeBSD Handbook
systemd-boot

About

Operating System Disk Image Builder

Topics

alpineamd64armarmhffreebsdgentookioskos-imagepiraspberryrpix86-64

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.