Juan RP
11e39d0fbc
mklive: switch to xz initramfs; misc tweaks.
2014-05-23 10:55:03 +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
b8062c9b45
mklive: correctly set path to store the iso image.
2014-05-11 09:43:12 +02:00
Juan RP
340c8107ee
mklive: load loop kmod in the grub stage instead.
2014-05-11 09:35:39 +02:00
Juan RP
3b660f9290
mklive: generatate image in cwd.
2014-05-07 21:04:46 +02:00
Juan RP
30c13a8fb4
mklive: redirect to logfile when reconfiguring locales; load loop kmod too.
2014-04-28 11:01:00 +02:00
Juan RP
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
Juan RP
2e3f01f4fa
mklive: remove unnecessary steps.
2014-04-22 12:23:09 +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
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
Juan RP
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
Juan RP
ad4c7ec381
mklive.sh.in: install local installer if available, otherwise the host one.
2014-01-11 18:51:02 +01:00
Juan RP
de357fbda9
mklive.sh: make it work with xbps>=0.27.
2014-01-11 18:40:16 +01:00
Juan RP
e12311d655
mklive: always use base-system and dialog pkgs to generate the live image.
2013-11-14 11:52:30 +01:00
Juan RP
e267fde82f
Make this work with xbps >= 0.26.
2013-09-29 10:26:53 +02:00
Juan RP
2fdc8b11cc
mklive: update conf file with an uptodate pkglist.
2013-09-14 15:17:40 +02:00
Juan RP
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
Juan RP
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
Juan RP
d17210fb5b
mklive.sh.in: if REPOSITORY_CACHE not set use system default cachedir.
2013-07-12 11:12:40 +02:00
Juan RP
0fc1050790
mklive.sh.in: use -S while installing pkgs for the initramfs.
2013-07-12 10:53:29 +02:00
Juan RP
c36acf400c
mklive.sh.in: repair support for remote repos.
2013-07-12 10:34:45 +02:00
Juan RP
0d79e3980b
mklive.sh.in: add -S to XBPS_ARGS, to make this work with remote repos.
2013-07-12 10:22:21 +02:00
Juan RP
90c2d5fa06
mklive.sh: fix the xorriso efi args (needs -no-emul-boot).
2013-06-12 05:08:58 +02:00
Juan RP
7251a70079
Use Fedora way to generate the images with xorriso (-e and -isohybrid-gpt-basdat).
2013-06-11 10:42:31 +02:00
Juan RP
699937efca
mklive: force-add vmklive dracut module and generate a polkit rules file to bypass auth.
2013-06-02 12:08:27 +02:00
Juan RP
e7bb9ad803
After installing pkgs reconfigure them with systemd-nspawn.
2013-05-22 08:08:29 +02:00
Juan RP
d188c1fe71
mklive: copy kmods from temp rootfs to the final rootfs; remove redundant stuff.
2013-05-21 21:51:47 +02:00
Juan RP
46f0398357
mklive: disable drm dracut module in the initramfs.
2013-05-21 18:15:56 +02:00
Juan RP
2ce7cd8251
mklive: disable dash in the live initramfs; this really sucks for interactive use.
2013-05-20 16:31:19 +02:00
Juan RP
a5d3e1fc9f
mklive: copy chain.c32 from syslinux to boot from harddisk.
2013-05-20 13:11:32 +02:00
Juan RP
7bfd9bc601
Copy network kernel modules for network install; misc tweaks.
2013-05-20 11:24:47 +02:00
Juan RP
2517265510
Misc tweaks to the generated initramfs in the live image.
2013-05-19 12:38:26 +02:00
Juan RP
44423c3700
Start integration of void-installer and start conversion to non-busybox utils.
2013-05-19 09:39:56 +02:00
Juan RP
9378eed058
Modernize and make this work with current packages.
2013-05-17 11:05:00 +02:00
Juan RP
f58d6cd5e5
Remove unneeded workaround for dracut<027.
2013-04-28 09:35:44 +02:00
Juan RP
0c32961490
Fix umount_kernel_fs().
2013-03-12 09:17:27 +01:00
Juan RP
b7aa53a6c6
Multiple updates and fixes; needs bash and xbps>=0.21.
2013-03-11 23:52:40 +01:00
Juan RP
b1655acba5
mklive.sh.in: detect xbps>=0.20 correctly.
2013-01-16 20:53:32 +01:00
Juan RP
c9821add5c
mklive.sh.in: use LD_LIBRARY_PATH to generate the local repo index.
2012-12-10 14:34:18 +01:00
Juan RP
1f2372b35b
mklive.sh.in: fix generation of local repo; use target xbps utils; indent
2012-12-10 10:05:31 +01:00
Juan RP
3d7b517071
Do not install xbps-git in the img, use stable release.
2012-11-23 10:32:37 +01:00
Juan RP
9f3da16fad
mklive.sh: install stdbuf(1) from coreutils for the installer.
2012-11-23 00:23:12 +01:00
Juan RP
183ef04078
mklive: typo fix.
2012-11-22 17:02:05 +01:00
Juan RP
8783414cc7
Update for 0.18; new options -l (generates a local repo) and -r to set rootdir.
...
-l "pkg pkg1 ..." If set generates a local repository (/packages)
in the live image with the package list.
-r rootdir To specify an alternative rootdir to build the image.
2012-11-22 14:35:37 +01:00
Juan RP
0afde3876f
Update for xbps>=0.17, support new login with pam.
2012-08-29 16:48:08 +02:00
Juan RP
6f65afafa5
mklive.sh: added support for xbps >= 0.16.6.
2012-07-18 09:46:32 +02:00
Juan RP
2446cf7dc5
mklive.sh.in: copy lsblk, blkid and mount cmds to /usr/{bin,sbin}.
2012-07-11 01:12:29 +02:00
Juan RP
ffda98791c
mklive.sh.in: add grub-x86_64-efi to local repo.
2012-07-06 15:56:29 +02:00
Juan RP
08418a0762
mklive.sh.in: tyop fix.
2012-07-06 15:43:39 +02:00
Juan RP
c50879d93a
mklive.sh.in: replace @@ARCH@@.
2012-07-06 15:38:26 +02:00