The Noid Linux live image maker

Piraty 2ca28459d7 build-x86-images.sh: fix image detection for new gnome flavor %!s(int64=5) %!d(string=hai) anos
data f1a9d5f3ee data/issue: use .org website, use https %!s(int64=6) %!d(string=hai) anos
dracut 9bcbbc95e0 display-manager-autologin.sh: fix sddm detection %!s(int64=6) %!d(string=hai) anos
grub 749ed6c3c4 mklive: add a new entry to load image into RAM (grub, syslinux). %!s(int64=10) %!d(string=hai) anos
hooks 92bb9df1d3 add hooks for dockerhub %!s(int64=6) %!d(string=hai) anos
isolinux 749ed6c3c4 mklive: add a new entry to load image into RAM (grub, syslinux). %!s(int64=10) %!d(string=hai) anos
keys 30d9ebece4 Added musl.voidlinux.net RSA pubkey. %!s(int64=10) %!d(string=hai) anos
packer 5859e79c29 packer: Initial packer config %!s(int64=6) %!d(string=hai) anos
pxelinux.cfg 414ebf318f Add netboot generator script %!s(int64=7) %!d(string=hai) anos
.dockerignore a1352601ca add dockerignore %!s(int64=5) %!d(string=hai) anos
.gitignore 5859e79c29 packer: Initial packer config %!s(int64=6) %!d(string=hai) anos
COPYING bc5f40d51f COPYING: it's 2015. %!s(int64=10) %!d(string=hai) anos
Dockerfile 59274b0bfa Merge pull request #90 from bobertlo/ca %!s(int64=5) %!d(string=hai) anos
Makefile 163a923529 Dockerfile: include spdx-licenses-list %!s(int64=5) %!d(string=hai) anos
README.md 43fae882e9 Added compressions %!s(int64=6) %!d(string=hai) anos
build-x86-images.sh.in 2ca28459d7 build-x86-images.sh: fix image detection for new gnome flavor %!s(int64=5) %!d(string=hai) anos
installer.sh.in 5c0cef01da Merge pull request #83 from void-ppc/installer-return %!s(int64=5) %!d(string=hai) anos
lib.sh.in b795f541a6 mkrootfs: enable ppc64 + ppc-musl support %!s(int64=6) %!d(string=hai) anos
mkimage.sh.in b921097835 mkimage.sh.in: use for GCP images instead of shell globs %!s(int64=7) %!d(string=hai) anos
mklive.sh.in fc3ba9eaf7 Merge pull request #60 from Noah-Huppert/mklive-kver-opt %!s(int64=5) %!d(string=hai) anos
mknet.sh.in 7559500693 mknet: take syslinux files from /usr/lib %!s(int64=6) %!d(string=hai) anos
mkplatformfs.sh.in 8ad31657b7 Fix additional packages not installed %!s(int64=5) %!d(string=hai) anos
mkrootfs.sh.in b795f541a6 mkrootfs: enable ppc64 + ppc-musl support %!s(int64=6) %!d(string=hai) anos
release.sh.in 6ce4732bbc release.sh.in: Make an easy release script %!s(int64=6) %!d(string=hai) anos

README.md

The Void Linux image/live/rootfs maker and installer

This repository contains utilities for Void Linux:

  • installer (The Void Linux el-cheapo installer for x86)
  • mklive (The Void Linux live image maker for x86)

  • mkimage (The Void Linux image maker for ARM platforms)

  • mkplatformfs (The Void Linux filesystem tool to produce a rootfs for a particular platform)

  • mkrootfs (The Void Linux rootfs maker for ARM platforms)

  • mknet (Script to generate netboot tarballs for Void)

Build Dependencies

  • make

Dependencies

  • Compression type for the initramfs image
    • liblz4 (for lz4, xz) (default)
  • xbps>=0.45
  • qemu-user-static binaries (for mkrootfs)

Usage

Type

$ make

and then see the usage output:

$ ./mklive.sh -h
$ ./mkrootfs.sh -h
$ ./mkimage.sh -h

Examples

Build a native live image with runit and keyboard set to 'fr':

# ./mklive.sh -k fr

Build an i686 (on x86_64) live image with some additional packages:

# ./mklive.sh -a i686 -p 'vim rtorrent'

Build an x86_64 musl live image with packages stored in a local repository:

# ./mklive.sh -a x86_64-musl -r /path/to/host/binpkgs

See the usage output for more information :-)

These scripts are in flux, if you want to build a duplicate of a production image, its not a bad idea to ping maldridge on IRC. This message will be removed when this readme is replaced with complete documentation.