Commit Graph

11 Commits

Author SHA1 Message Date
Juan RP 6372530837 mkimage: get rid of parted; use sfdisk(8). 2016-04-26 15:00:55 +02:00
Juan RP 77ff6c34c9 mklive: require xbps>=0.45 for two phase installation.
- The target pkgs are unpacked with -U, and then reconfiguration happens
within the chroot, so that there's no need for host dependencies.
- Use chroot where possible to make sure that euid==0, not xbps-uchroot.

Close #32 and #33
2015-06-03 14:28:38 +02:00
Juan RP ad1fb6c388 README: update mklive examples. 2015-04-15 07:33:04 +02:00
Juan RP 4ab914cdf7 mklive: multiple improvements and fixes.
- Does not need bash anymore, a POSIX shell is enough.
- Avoid installing base-system twice to generate the initramfs.
- Reconfigure some pkgs in the rootfs... otherwise some system users won't be created.
- Added -K opt to not remove builddir.
2014-12-17 18:26:28 +01:00
Juan RP 27ab1fc5d5 README: update. 2014-08-03 20:15:19 +02:00
Juan RP 204277a8a8 README: add some examples. 2014-06-25 18:10:09 +02:00
Juan RP 27aa44e0fd mklive: improved to avoid host deps; use our own pkgs to generate images.
That means that mklive just needs xbps to generate working images.

Usage: mklive.sh [options]

Options:
 -r <repo-url>      Use this XBPS repository (may be specified multiple times).
 -c <cachedir>      Use this XBPS cache directory (/var/cache/xbps if unset).
 -k <keymap>        Default keymap to use (us if unset)
 -l <locale>        Default locale to use (en_US.UTF-8 if unset).
 -i <gzip|bzip2|xz> Compression type for the initramfs image (gzip if unset).
 -s <gzip|bzip2|xz> Compression type for the squashfs image (xz if unset)
 -o <file>          Output file name for the ISO image (auto if unset).
 -p "pkg pkgN ..."  Install additional packages into the ISO image.

The mklive.sh script generates a live image of the Void Linux distribution.
This ISO image can be written to a CD/DVD-ROM or any USB stick.
2014-05-22 22:00:31 +02:00
Juan RP a9ea9ea750 README.md: sync with reality. 2014-04-23 11:30:05 +02:00
Juan RP 6694adcef9 mklive: switch to xbps-uchroot(8); bye bye systemd-nspawn. 2014-04-22 12:11:34 +02:00
Juan RP 1f55bbb29d README: update. 2014-01-28 17:08:04 +01:00
Juan RP d36f33b76c README -> README.md 2013-08-22 17:35:40 +02:00