Michael Aldridge 10568660ac Clean up chroot/QEMU logic
The logic that sets up the QEMU static binary to permit running alien
binary formats is quite complex.  This commit cleans up a lot of the
logic around this and adds a huge number of comments to try and
clarify why things happen when they do.  Ultimately this commit
provides a lot of the ground work to factor out all of the chroot
setup into a seperate shell file that can be sourced by other mklive
tasks that need to operate inside of a chroot with a possibly alien
executable format.
2017-08-10 00:01:09 -07:00
2017-08-06 21:03:55 -07:00
2015-05-08 17:25:42 +02:00
2017-08-06 21:03:55 -07:00
2017-08-09 17:28:10 -07:00
2015-04-15 07:33:47 +02:00
2017-08-06 21:03:55 -07:00
2017-08-10 00:01:09 -07:00

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

Description
The Void Linux live image maker - modified for Void Builds
https://voidbuilds.xyz
Readme 1.1 MiB
Languages
Shell 96%
Makefile 1.7%
Public Key 1.5%
Dockerfile 0.6%
HAProxy 0.2%