Commit Graph

113 Commits

Author SHA1 Message Date
bedab03a6e Move splash image and motd to data/; this way those can be overrided easily.
Close #9
2014-09-18 16:52:28 +02:00
d09421cfe1 mklive: remove a check that is no longer necessary. 2014-08-02 09:14:22 +02:00
5c49a31161 mklive: add systemd dracut module for systemd images. 2014-08-02 08:56:39 +02:00
2c3fb819ee mklive: fix regression introduced in ca3a146bb (UEFI boot not working).
The issue was that I forgot to copy the generated grubx64.efi into the
vfat image that is embedded into the ISO image, resulting in an unbootable
image on UEFI systems.

Thanks to pancake for reporting!
2014-08-02 08:53:38 +02:00
ca3a146bbb mklive.sh: run grub-mkstandalone via xbps-uchroot(8) to avoid host issues. 2014-06-29 17:57:32 +02:00
ddbf495c4c mklive: two fixes to generate images on any linux distro.
- Store and use default void rsa pubkey for the xbps repos.
- If -r is unset, use default void main http repo.
2014-06-25 06:53:30 +02:00
82681e718b mklive: added -b option to specify an alternative base-system pkg.
Use -b base-system-runit to generate an image with eudev+runit.
2014-05-31 12:02:36 +02:00
07ce345ba6 mklive: misc tweaks to generate a proper image with runit. 2014-05-23 15:05:31 +02:00
3b5b9cba6a mklive: do not assume glibc and/or systemd (might use musl and runit instead :-). 2014-05-23 11:30:24 +02:00
11e39d0fbc mklive: switch to xz initramfs; misc tweaks. 2014-05-23 10:55:03 +02:00
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
b8062c9b45 mklive: correctly set path to store the iso image. 2014-05-11 09:43:12 +02:00
340c8107ee mklive: load loop kmod in the grub stage instead. 2014-05-11 09:35:39 +02:00
3b660f9290 mklive: generatate image in cwd. 2014-05-07 21:04:46 +02:00
30c13a8fb4 mklive: redirect to logfile when reconfiguring locales; load loop kmod too. 2014-04-28 11:01:00 +02:00
844f9e4607 mklive: avoid void-{artwork,mklive} dependencies on system.
I'm starting to make the scripts distro independent; this is just
the first step.
2014-04-23 11:18:34 +02:00
2e3f01f4fa mklive: remove unnecessary steps. 2014-04-22 12:23:09 +02:00
6694adcef9 mklive: switch to xbps-uchroot(8); bye bye systemd-nspawn. 2014-04-22 12:11:34 +02:00
0d81294fcc Revert "installer/mklive: make sure to install dcron rather than cronie."
This reverts commit 1ccbe86051.

I'll fix this properly via base-system.
2014-02-03 23:43:48 +01:00
1ccbe86051 installer/mklive: make sure to install dcron rather than cronie.
dcron is smaller and only has a libc dependency.

cronie is selected because it appears alphabetically before in the repo index.
2014-02-03 23:31:13 +01:00
ad4c7ec381 mklive.sh.in: install local installer if available, otherwise the host one. 2014-01-11 18:51:02 +01:00
de357fbda9 mklive.sh: make it work with xbps>=0.27. 2014-01-11 18:40:16 +01:00
e12311d655 mklive: always use base-system and dialog pkgs to generate the live image. 2013-11-14 11:52:30 +01:00
e267fde82f Make this work with xbps >= 0.26. 2013-09-29 10:26:53 +02:00
2fdc8b11cc mklive: update conf file with an uptodate pkglist. 2013-09-14 15:17:40 +02:00
783a25e632 Misc changes to reduce image size.
1- Stop generating locale via dracut; generate choosen locale at build time.
2- Stop generating a local repository (/packages) to the rootfs.
3- Drop support for -l option.
4- There's no need to copy kernel modules manually anymore.
5- Switch to base-system and some more additional packages to drop base-system-live
   requirement.

WIP! the installer must be updated to copy rootfs files to the targetdir.
2013-08-22 11:52:07 +02:00
112a6a7775 Add -V option to show version to void-mk{live,rootfs} and installer in the title. 2013-08-11 12:16:29 +02:00
d17210fb5b mklive.sh.in: if REPOSITORY_CACHE not set use system default cachedir. 2013-07-12 11:12:40 +02:00
0fc1050790 mklive.sh.in: use -S while installing pkgs for the initramfs. 2013-07-12 10:53:29 +02:00
c36acf400c mklive.sh.in: repair support for remote repos. 2013-07-12 10:34:45 +02:00
0d79e3980b mklive.sh.in: add -S to XBPS_ARGS, to make this work with remote repos. 2013-07-12 10:22:21 +02:00
90c2d5fa06 mklive.sh: fix the xorriso efi args (needs -no-emul-boot). 2013-06-12 05:08:58 +02:00
7251a70079 Use Fedora way to generate the images with xorriso (-e and -isohybrid-gpt-basdat). 2013-06-11 10:42:31 +02:00
699937efca mklive: force-add vmklive dracut module and generate a polkit rules file to bypass auth. 2013-06-02 12:08:27 +02:00
e7bb9ad803 After installing pkgs reconfigure them with systemd-nspawn. 2013-05-22 08:08:29 +02:00
d188c1fe71 mklive: copy kmods from temp rootfs to the final rootfs; remove redundant stuff. 2013-05-21 21:51:47 +02:00
46f0398357 mklive: disable drm dracut module in the initramfs. 2013-05-21 18:15:56 +02:00
2ce7cd8251 mklive: disable dash in the live initramfs; this really sucks for interactive use. 2013-05-20 16:31:19 +02:00
a5d3e1fc9f mklive: copy chain.c32 from syslinux to boot from harddisk. 2013-05-20 13:11:32 +02:00
7bfd9bc601 Copy network kernel modules for network install; misc tweaks. 2013-05-20 11:24:47 +02:00
2517265510 Misc tweaks to the generated initramfs in the live image. 2013-05-19 12:38:26 +02:00
44423c3700 Start integration of void-installer and start conversion to non-busybox utils. 2013-05-19 09:39:56 +02:00
9378eed058 Modernize and make this work with current packages. 2013-05-17 11:05:00 +02:00
f58d6cd5e5 Remove unneeded workaround for dracut<027. 2013-04-28 09:35:44 +02:00
0c32961490 Fix umount_kernel_fs(). 2013-03-12 09:17:27 +01:00
b7aa53a6c6 Multiple updates and fixes; needs bash and xbps>=0.21. 2013-03-11 23:52:40 +01:00
b1655acba5 mklive.sh.in: detect xbps>=0.20 correctly. 2013-01-16 20:53:32 +01:00
c9821add5c mklive.sh.in: use LD_LIBRARY_PATH to generate the local repo index. 2012-12-10 14:34:18 +01:00
1f2372b35b mklive.sh.in: fix generation of local repo; use target xbps utils; indent 2012-12-10 10:05:31 +01:00
3d7b517071 Do not install xbps-git in the img, use stable release. 2012-11-23 10:32:37 +01:00