The Void Linux live image maker
Go to file
Michael Aldridge 89e3affa22 mknet.sh: Massive Cleanup
Among other things this commit refactors mknet.sh to use the lib.sh
functions for executing code in the chroot and generally handling the
potential for future builds to generate netboot tarballs for ARM
platforms.  ARM tarballs will require syslinux to be built for the
target architecture, but it should largely just be a drop in option.
2017-08-27 19:22:07 -07:00
data mklive: remove modesetting workaround for musl, intel(4) works again. 2015-05-27 16:49:33 +02:00
dracut Add netboot generator script 2017-08-06 21:03:55 -07:00
grub mklive: add a new entry to load image into RAM (grub, syslinux). 2015-04-29 16:50:18 +02:00
isolinux mklive: add a new entry to load image into RAM (grub, syslinux). 2015-04-29 16:50:18 +02:00
keys Added musl.voidlinux.net RSA pubkey. 2015-05-08 17:25:42 +02:00
pxelinux.cfg Add netboot generator script 2017-08-06 21:03:55 -07:00
.gitignore Simplify mkrootfs.sh.in 2017-08-09 17:28:10 -07:00
COPYING COPYING: it's 2015. 2015-04-15 07:33:47 +02:00
Makefile Explicitly set number of xz compressor threads 2017-08-21 00:04:17 -07:00
README.md README.md: update minimally 2017-08-22 22:11:37 -07:00
build-x86-images.sh.in Improve support for 32-bit EFI firmware in ISOs and installer 2017-08-02 22:25:09 -07:00
installer.sh.in update homepage url 2017-08-22 22:16:08 -07:00
lib.sh.in Build PLATFORMFS with Makefile 2017-08-16 22:43:06 -07:00
mkimage.sh.in Explicitly set number of xz compressor threads 2017-08-21 00:04:17 -07:00
mklive.sh.in Revert "mklive.sh.in: add custom scripts to init" 2017-08-07 18:27:07 -07:00
mknet.sh.in mknet.sh: Massive Cleanup 2017-08-27 19:22:07 -07:00
mkplatformfs.sh.in Explicitly set number of xz compressor threads 2017-08-21 00:04:17 -07:00
mkrootfs.sh.in Explicitly set number of xz compressor threads 2017-08-21 00:04:17 -07:00

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)

Dependencies

  • 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.