2013-08-22 15:35:31 +00:00
|
|
|
## The Void Linux image/live/rootfs maker and installer
|
2012-06-12 14:27:17 +00:00
|
|
|
|
2013-08-22 15:35:31 +00:00
|
|
|
This repository contains utilities for Void Linux:
|
2012-06-12 14:27:17 +00:00
|
|
|
|
2014-04-23 09:30:05 +00:00
|
|
|
* installer (The Void Linux el-cheapo installer for x86)
|
|
|
|
* mklive (The Void Linux live image maker for x86)
|
2014-01-28 15:08:04 -01:00
|
|
|
|
2014-04-23 09:30:05 +00:00
|
|
|
* mkimage (The Void Linux image maker for ARM platforms)
|
2017-08-23 05:11:37 +00:00
|
|
|
* mkplatformfs (The Void Linux filesystem tool to produce a rootfs for a particular platform)
|
2014-04-23 09:30:05 +00:00
|
|
|
* mkrootfs (The Void Linux rootfs maker for ARM platforms)
|
2017-08-23 05:11:37 +00:00
|
|
|
* mknet (Script to generate netboot tarballs for Void)
|
2012-07-06 13:29:12 +00:00
|
|
|
|
2019-03-20 12:28:40 -01:00
|
|
|
#### Build Dependencies
|
|
|
|
* make
|
2013-03-11 21:52:40 -01:00
|
|
|
|
2019-03-20 12:28:40 -01:00
|
|
|
#### Dependencies
|
2019-03-20 12:41:01 -01:00
|
|
|
* Compression type for the initramfs image
|
|
|
|
* liblz4 (for lz4, xz) (default)
|
2015-06-03 12:28:38 +00:00
|
|
|
* xbps>=0.45
|
2014-05-22 20:00:31 +00:00
|
|
|
* qemu-user-static binaries (for mkrootfs)
|
2012-07-06 13:29:12 +00:00
|
|
|
|
2014-04-23 09:30:05 +00:00
|
|
|
#### Usage
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
|
|
|
$ make
|
|
|
|
|
|
|
|
and then see the usage output:
|
|
|
|
|
|
|
|
$ ./mklive.sh -h
|
|
|
|
$ ./mkrootfs.sh -h
|
|
|
|
$ ./mkimage.sh -h
|
2014-06-25 16:10:09 +00:00
|
|
|
|
|
|
|
#### Examples
|
|
|
|
|
2015-04-15 05:33:04 +00:00
|
|
|
Build a native live image with runit and keyboard set to 'fr':
|
2014-06-25 16:10:09 +00:00
|
|
|
|
2014-08-03 18:15:19 +00:00
|
|
|
# ./mklive.sh -k fr
|
2014-06-25 16:10:09 +00:00
|
|
|
|
2015-04-15 05:33:04 +00:00
|
|
|
Build an i686 (on x86\_64) live image with some additional packages:
|
2014-06-25 16:10:09 +00:00
|
|
|
|
2015-04-15 05:33:04 +00:00
|
|
|
# ./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
|
2014-06-25 16:10:09 +00:00
|
|
|
|
|
|
|
See the usage output for more information :-)
|
2017-08-23 05:11:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
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.
|