The Void Linux live image maker
Go to file
Michael Aldridge a7ba42f7ec Simplify mkrootfs.sh.in
Previously this script could produce rootfs tarballs suitable for a
few different systems.  This worked but meant that several different
scripts were then building root filesystems instead of just using ones
produced by this script.  This commit cleans up the script to produce
just a root filesystem.  Note that this system is not bootable, that
still needs to be done by another script which processes platform
specific operations.  This script just produces a root filesystem for
every architecture that XBPS understands.
2017-08-09 17:28:10 -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 Makefile: generate executable scripts. 2014-01-11 18:51:47 +01:00
README.md mkimage: get rid of parted; use sfdisk(8). 2016-04-26 15:00:55 +02:00
build-arm-images.sh.in build-arm-images.sh.in: fix typo 2017-02-28 12:53:12 -05:00
build-rootfs.sh.in *rootfs: fix remaining x86 rootfs issues. 2016-04-20 16:19:55 +02: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 Improve support for 32-bit EFI firmware in ISOs and installer 2017-08-02 22:25:09 -07:00
mkimage.sh.in Consistently use ROOTFS to refer to the system being built 2017-08-07 19:31:31 -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 Add netboot generator script 2017-08-06 21:03:55 -07:00
mkrootfs.sh.in Simplify mkrootfs.sh.in 2017-08-09 17:28:10 -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)

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

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 :-)