Commit Graph

554 Commits

Author SHA1 Message Date
620883f9b2 installer: fixed multiple random issues.
- there's no need to check if $SYSTEMD_INIT==1, just test if it's set.
- set TIMEZONE correctly to /etc/rc.conf.
- Set fstab(5) fs_passno correctly for the rootfs and additional filesystems.
- Disable fsck if rootfs is f2fs, it does not work correctly.
2014-08-29 15:59:56 +02:00
9883c5eae6 installer: ignore partitions that are part of LVM. 2014-08-29 15:13:23 +02:00
945dc94fe8 installer: detect LUKS and LVM LVs correctly. 2014-08-29 13:30:38 +02:00
70f268cc29 installer: remove unnecessary quoting. 2014-08-29 08:50:37 +02:00
c97e10480c installer: remove last ref to parted. 2014-08-25 11:19:13 +02:00
ad34e8f792 installer: drop parted and switch to cfdisk. 2014-08-25 11:18:22 +02:00
29340d664e dracut/adduser.sh: repair autologin with the latest agetty runit service. 2014-08-08 13:06:02 +02:00
27ab1fc5d5 README: update. 2014-08-03 20:15:19 +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
e4434c5d51 dracut/adduser.sh: do not add user to the systemd-journal group. 2014-08-02 07:48:18 +02:00
f898ef96e3 installer: mount /tmp as tmpfs. 2014-07-31 16:17:56 +02:00
194c1cdd89 mkrootfs: update for base-system as runit. 2014-07-29 08:33:04 +02:00
6d7fa74d74 installer: fix network install. 2014-07-28 22:48:22 +02:00
ca3a146bbb mklive.sh: run grub-mkstandalone via xbps-uchroot(8) to avoid host issues. 2014-06-29 17:57:32 +02:00
ef81fb90f8 dracut/copy-initramfs.sh: only run this with systemd. 2014-06-29 12:36:51 +02:00
204277a8a8 README: add some examples. 2014-06-25 18:10:09 +02:00
f2e9e4f27a mkrootfs: use built-in void pubkey; assign default void repo if -r unset. 2014-06-25 08:23:37 +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
b54cdb22e7 dracut/adduser.sh: no need to remove pam_systemd with runit anymore. 2014-06-20 10:29:06 +02:00
1fcbe4e2e9 mkrootfs: added c option correctly. 2014-06-01 12:34:08 +02:00
e056d3944c mkrootfs: added -b, -c and -r options to set system pkg, cachedir and repos respectively. 2014-06-01 12:29:55 +02:00
1980b64954 installer: fixed some issues found with base-system-runit. 2014-05-31 13:02:49 +02:00
c121f9ea1e dracut/display-manager-autologin.sh: if enlightenment and lxdm are installed, autostart it. 2014-05-31 13:02:28 +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
1e28a7ae4d Add global systemd var 2014-05-30 12:40:46 +02:00
df8e66316f Enable runit images 2014-05-30 12:00:02 +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
03a215e616 Merge pull request #7 from Gottox/master
Don't show plain password in Settings screen.
2014-05-16 10:42:08 +02:00
ba9801c183 installer: for btrfs filesystems use -f to force creation. 2014-05-11 10:38:00 +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
92be3725d8 Don't show plain password in Settings screen 2014-05-07 18:57:25 +02:00
30c13a8fb4 mklive: redirect to logfile when reconfiguring locales; load loop kmod too. 2014-04-28 11:01:00 +02:00
a9ea9ea750 README.md: sync with reality. 2014-04-23 11:30:05 +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
22d319346d installer: add a network option in main menu. 2014-02-03 23:16:28 +01:00
08db3c6cb3 installer: added basic wifi setup via dhcpcd (only WEP and WPA/PSK for now). 2014-02-03 23:11:54 +01:00
c3c67ad641 installer: copy host void rsa pubkey to the target rootfs. 2014-02-03 21:10:25 +01:00
1f55bbb29d README: update. 2014-01-28 17:08:04 +01:00
20f2340387 mkimage: guess platform automatically, add new options to set fstype and boot fssize. 2014-01-28 17:04:15 +01:00