Juan RP
8824220321
mklive: misc changes to allow building images for musl.
- The required host utilities (grub, squashfs-tools and xorriso) are now installed for the host os, this way we don't have to make tricks for dsos to work. - The cachedir is now by default set to $PWD/xbps-cachedir-$arch, this way packages for the host and the target don't conflict. - Due to the changes above it's now possible to build musl images without having musl-bootstrap installed, previously it was necessary.
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.35
- parted (for mkimage)
- 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
Languages
Shell
96%
Makefile
1.7%
Public Key
1.5%
Dockerfile
0.6%
HAProxy
0.2%