The Void Linux live image maker
Go to file
classabbyamp 3c75acb212 installer.sh: don't source version.sh 2023-05-21 23:21:02 -04:00
data data, mklive.sh.in: remove void-vpkgs.conf 2021-03-15 22:17:38 -07:00
dracut dracut/vmklive: enable espeakup if live.screenreader is in kcl 2023-05-20 22:17:23 -04: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
packer packer: Ensure cloud images generate new keys 2023-03-20 22:42:36 -05:00
pxelinux.cfg Add netboot generator script 2017-08-06 21:03:55 -07:00
.gitignore Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
COPYING COPYING: it's 2015. 2015-04-15 07:33:47 +02:00
Makefile Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
README.md Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
build-x86-images.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
installer.sh installer.sh: don't source version.sh 2023-05-21 23:21:02 -04:00
lib.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
mkimage.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
mklive.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
mknet.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
mkplatformfs.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
mkrootfs.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
release.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04:00
version.sh Do not build .sh scripts from .sh.in 2023-05-21 15:42:36 -04: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

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

Usage

See the usage output:

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

Examples

Build a native live image 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 :-)

Kernel Command-line Parameters

void-mklive-based live images support several kernel command-line arguments that can change the behavior of the live system:

  • live.autologin will skip the initial login screen on tty1.
  • live.user will change the username of the non-root user from the default anon. The password remains voidlinux.
  • live.shell sets the default shell for the non-root user in the live environment.
  • live.screenreader enables the console screenreader espeakup in the live environment.
  • console can be set to ttyS0, hvc0, or hvsi0 to enable agetty on that serial console.
  • locale.LANG will set the LANG environment variable. Defaults to en_US.UTF-8.
  • vconsole.keymap will set the console keymap. Defaults to us.

Examples:

  • live.autologin live.user=foo live.shell=/bin/bash would create the user foo with the default shell /bin/bash on boot, and log them in automatically on tty1
  • live.shell=/bin/bash would set the default shell for the anon user to /bin/bash
  • console=ttyS0 vconsole.keymap=cf would enable ttyS0 and set the keymap in the console to cf
  • locale.LANG=fr_CA.UTF-8 would set the live system's language to fr_CA.UTF-8