Commit Graph
100 Commits
Author SHA1 Message Date
Juan RP 289136e02e dracut/services: do not enable agetty-serial. 2015-01-25 08:38:18 +01:00
Juan RP 7dff7059c0 mkimage: added bananapi platform. 2015-01-19 15:49:59 +01:00
Juan RP c2a95e625f mkrootfs: add 'bananapi' platform. 2015-01-19 15:07:53 +01:00
Juan RP 1c1251c506 mkimage: disable fsck on rootfs if it's f2fs; it does not work in the rpi. 2015-01-17 11:31:10 +01:00
Juan RP 289592a0f6 installer: mount pseudofs to regenerate the initramfs.
This fixes the last issue with musl!
2015-01-15 14:40:35 +01:00
Juan RP 422bdf640c data/void-vpkgs.conf: add some more default pkgs. 2015-01-10 06:42:19 +01:00
Juan RP ce35908f35 installer: generate a non hostonly initramfs; force-add ahci just in case. 2015-01-05 17:56:21 +01:00
Juan RP da528e772f mklive: declare vpkgs unversioned and update path for xbps>=0.43. 2015-01-05 17:55:52 +01:00
Juan RP 8134257155 mklive: more fixes for musl images.
- Reconfigure util-linux only if it's installed in rootdir.
- dracut: force add the ahci kernel module and build a non hostonly image.
2014-12-29 11:26:55 +01:00
Juan RP 653f1d2ad9 mklive: misc fixes to generate successful musl images. 2014-12-29 09:50:29 +01:00
Juan RP 7f49ee579c mklive: only remove unnecessary pkgs if don't have revdeps.
... otherwise switch them to automatic installation mode.
2014-12-17 18:54:43 +01: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 c204ab1f5f installer: swap is not mandatory. 2014-12-16 15:24:06 +01:00
Juan RP 41cf1e06d0 New script to build ARM rootfs/images. 2014-12-15 19:28:57 +01:00
Juan RP 8e0080b720 installer: redirect debug msgs to /dev/tty8.
/dev/tty7 might be used by the X server.
2014-12-15 19:27:48 +01:00
Juan RP f3dea549e8 mkimage: simplify. 2014-12-06 09:42:17 +01:00
Juan RP 8939262303 mkimage: get rid of partx completely. 2014-12-06 09:41:49 +01:00
Juan RP a7c809c6b0 mkimage: use losetup --partscan rather than partx. 2014-12-05 15:31:27 +01:00
Juan RP a3675d092f mkimage: umount boot only in !beaglebone. 2014-12-05 12:58:19 +01:00
Juan RP f5af7c32bd mklive.sh: dont error out if loop module cannot be loaded. 2014-12-05 12:45:43 +01:00
Juan RP 3818e6d425 mk{image,rootfs}: misc tweaks for beaglebone. 2014-12-05 11:06:39 +01:00
Juan RP b7a3926c5b mkimage: remove unnecessary beaglebone workaround. 2014-12-05 07:09:36 +01:00
Juan RP b6ca6f8027 mkrootfs: put /boot/MLO at the head on beaglebone.
This file must be in the first sectors of the /boot FAT partition on the image.
2014-12-05 07:06:39 +01:00
Juan RP 4aaaa89d1c mkrootfs: mount binfmt_misc and use pixz if available. 2014-12-05 06:22:16 +01:00
Juan RP 2bb83b4c3a .gitignore: ignore .sh files in topdir. 2014-12-05 06:09:16 +01:00
Juan RP 1c603437d3 mk{image,rootfs}: add beaglebone platform support. 2014-12-05 05:46:31 +01:00
Juan RP bfd7188589 dracut/service: do not enable agetty-generic; misc tweaks. 2014-12-04 10:08:13 +01:00
Juan RP 8f2cc01d18 mklive: force reconfiguration of util-linux to make sure uuidd is created. 2014-12-03 14:13:42 +01:00
Juan RP 65f74724df build-x86-images: add xorg-input-drivers and firefox in all images. 2014-12-03 13:32:49 +01:00
Juan RP 1eefc4e505 New script to generate 4 x86 images: base, enlightenment, xfce and mate. 2014-12-03 11:32:01 +01:00
Juan RP ee37a611e9 dracut/display-manager-autologin: autostart mate via lxdm if mate-session exists. 2014-12-03 11:29:43 +01:00
Juan RP ef1c3e6766 dracut/display-manager-autologin: start xfce4 if startxfce4 exists. 2014-12-03 09:15:43 +01:00
Juan RP 32e9d6e04a dracut/services: do not auto enable ip{,6}tables. 2014-12-02 21:19:12 +01:00
Juan RP ca99f9f5bb New dracut module helper to enable runit services. 2014-12-02 21:03:58 +01:00
Juan RP 6847c606fb .gitignore: don't forbit *.sh, obviously :-) 2014-12-02 21:03:41 +01:00
Juan RP a30890cffc dracut/adduser: autologin if live.autologin is set in the kernel cmdline. 2014-12-02 19:53:04 +01:00
Juan RP c4efb3d95e mkimage: if root fstype is ext[34] disable the journal. 2014-11-29 18:16:50 +01:00
Juan RP 972734f802 Update copyright. 2014-11-14 18:27:26 +01:00
Juan RP 644890069c mklive: install vpkg conf file to the system virtualpkg directory instead. 2014-11-05 09:45:29 +01:00
Juan RP 4e5adc6f04 mklive: use a default void vpkg configuration file for base-system. 2014-11-04 16:36:33 +01:00
Juan RP c39051a72b mklive: switch back to xz initramfs now that we have the prereqs. 2014-10-25 11:47:16 +02:00
Juan RP 308882fd87 mklive: use gzip compression for the initramfs by default; lz4 is optional. 2014-10-25 11:17:22 +02:00
Juan RP 3201721196 mklive: do not use the busybox dracut module, will fail. 2014-10-25 10:44:54 +02:00
Juan RP 7fbf8a189d installer: run partx -u just to be sure to update its partition table. 2014-10-25 10:07:50 +02:00
Juan RP 70fc86365c mklive: use lz4 compression for the initramfs by default, to match our pkgs. 2014-10-23 09:32:29 +02:00
Juan RP 34a6142056 installer: re-add line accidentally removed in prev. 2014-09-24 17:14:38 +02:00
Juan RP 5eae360a23 installer: remove obsolete autologin code; remove /etc/issue from live image. 2014-09-24 17:06:33 +02:00
Juan RP 2e76fa65a6 data/issue: tyop 2014-09-24 08:33:38 +02:00
Juan RP f29fffd488 data/issue: misc improvements. 2014-09-24 08:29:24 +02:00
Juan RP 1a167e371a dracut/adduser.sh: set live.user shell to /bin/bash if exists. 2014-09-24 08:22:49 +02:00
Juan RP 7d89972c57 mklive: added -S opt to set a custom rootfs free size in MB. 2014-09-21 12:48:32 +02:00
Juan RP fde61a9d43 installer: exit if /bin/dialog is not there. 2014-09-21 12:20:45 +02:00
Juan RP 0245d934c5 mklive: do not add dialog to the pkg list inconditionally; it's optional. 2014-09-21 09:41:57 +02:00
Juan RP 4b559d86c9 mklive: remove unnecessary line. 2014-09-21 09:35:07 +02:00
Juan RP 914e193724 mklive: add -a opt to set XBPS_ARCH (for musl); misc changes for dracut/adduser. 2014-09-21 09:31:43 +02:00
Juan RP 14381901e4 mklive: accept live.shell kernel cmdline to switch user shell; from pancake. 2014-09-20 11:48:49 +02:00
Juan RP 6711fb5182 mklive: force-add init=/sbin/init to the kernel cmdline for now. 2014-09-20 11:42:37 +02:00
Juan RP ab3a398875 mklive: set live user shell to /bin/sh; use /etc/issue; disable autologin. 2014-09-20 11:14:29 +02:00
Juan RP bb8d32e2c2 mklive: always omit dracut systemd module if base-system-systemd is not used. 2014-09-20 09:44:36 +02:00
Juan RP 8c91dea923 mklive: added -C and -T to append kernel cmdline args and modify bootloader title.
Requested by pancake.
2014-09-18 17:17:17 +02:00
Juan RP 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
Juan RP 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
Juan RP 9883c5eae6 installer: ignore partitions that are part of LVM. 2014-08-29 15:13:23 +02:00
Juan RP 945dc94fe8 installer: detect LUKS and LVM LVs correctly. 2014-08-29 13:30:38 +02:00
Juan RP 70f268cc29 installer: remove unnecessary quoting. 2014-08-29 08:50:37 +02:00
Juan RP c97e10480c installer: remove last ref to parted. 2014-08-25 11:19:13 +02:00
Juan RP ad34e8f792 installer: drop parted and switch to cfdisk. 2014-08-25 11:18:22 +02:00
Juan RP 29340d664e dracut/adduser.sh: repair autologin with the latest agetty runit service. 2014-08-08 13:06:02 +02:00
Juan RP 27ab1fc5d5 README: update. 2014-08-03 20:15:19 +02:00
Juan RP d09421cfe1 mklive: remove a check that is no longer necessary. 2014-08-02 09:14:22 +02:00
Juan RP 5c49a31161 mklive: add systemd dracut module for systemd images. 2014-08-02 08:56:39 +02:00
Juan RP 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
Juan RP e4434c5d51 dracut/adduser.sh: do not add user to the systemd-journal group. 2014-08-02 07:48:18 +02:00
Juan RP f898ef96e3 installer: mount /tmp as tmpfs. 2014-07-31 16:17:56 +02:00
Juan RP 194c1cdd89 mkrootfs: update for base-system as runit. 2014-07-29 08:33:04 +02:00
Juan RP 6d7fa74d74 installer: fix network install. 2014-07-28 22:48:22 +02:00
Juan RP ca3a146bbb mklive.sh: run grub-mkstandalone via xbps-uchroot(8) to avoid host issues. 2014-06-29 17:57:32 +02:00
Juan RP ef81fb90f8 dracut/copy-initramfs.sh: only run this with systemd. 2014-06-29 12:36:51 +02:00
Juan RP 204277a8a8 README: add some examples. 2014-06-25 18:10:09 +02:00
Juan RP f2e9e4f27a mkrootfs: use built-in void pubkey; assign default void repo if -r unset. 2014-06-25 08:23:37 +02:00
Juan RP 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
Juan RP b54cdb22e7 dracut/adduser.sh: no need to remove pam_systemd with runit anymore. 2014-06-20 10:29:06 +02:00
Juan RP 1fcbe4e2e9 mkrootfs: added c option correctly. 2014-06-01 12:34:08 +02:00
Juan RP e056d3944c mkrootfs: added -b, -c and -r options to set system pkg, cachedir and repos respectively. 2014-06-01 12:29:55 +02:00
Juan RP 1980b64954 installer: fixed some issues found with base-system-runit. 2014-05-31 13:02:49 +02:00
Juan RP c121f9ea1e dracut/display-manager-autologin.sh: if enlightenment and lxdm are installed, autostart it. 2014-05-31 13:02:28 +02:00
Juan RP 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
Juan RP 07ce345ba6 mklive: misc tweaks to generate a proper image with runit. 2014-05-23 15:05:31 +02:00
Juan RP 3b5b9cba6a mklive: do not assume glibc and/or systemd (might use musl and runit instead :-). 2014-05-23 11:30:24 +02:00
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 03a215e616 Merge pull request #7 from Gottox/master
Don't show plain password in Settings screen.
2014-05-16 10:42:08 +02:00
Juan RP ba9801c183 installer: for btrfs filesystems use -f to force creation. 2014-05-11 10:38:00 +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 a9ea9ea750 README.md: sync with reality. 2014-04-23 11:30:05 +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