Commit Graph
100 Commits
Author SHA1 Message Date
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
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 22d319346d installer: add a network option in main menu. 2014-02-03 23:16:28 +01:00
Juan RP 08db3c6cb3 installer: added basic wifi setup via dhcpcd (only WEP and WPA/PSK for now). 2014-02-03 23:11:54 +01:00
Juan RP c3c67ad641 installer: copy host void rsa pubkey to the target rootfs. 2014-02-03 21:10:25 +01:00
Juan RP 1f55bbb29d README: update. 2014-01-28 17:08:04 +01:00
Juan RP 20f2340387 mkimage: guess platform automatically, add new options to set fstype and boot fssize. 2014-01-28 17:04:15 +01:00
Juan RP 531d38dc73 mkrootfs: make platform argument mandatory, install <platform>-base pkg automatically. 2014-01-28 16:35:45 +01:00
Juan RP 1d5a5195a8 Merge pull request #6 from Gottox/master
install bootloader on -p udroid-u2
2014-01-28 07:12:10 -08:00
Juan RP e20720b93b Merge pull request #5 from jan-schreib/master
Fixed typo.
2014-01-27 11:32:43 -08:00
Juan RP aedb3ea05c mkimage: use conv=sparse if dd supports it; added -p to set platform. 2014-01-26 20:32:54 +01:00
Juan RP d728ef5f4a mkrootfs: accept -p cubieboard. 2014-01-26 12:12:30 +01:00
Juan RP 1da8db0c36 Merge pull request #4 from Gottox/master
Typo fix
2014-01-22 09:28:06 -08:00
Juan RP eb14a02029 mkrootfs: fix xbps-query -R PKGBASE 2014-01-22 11:06:05 +01:00
Juan RP e5df5f03d1 mkrootfs: typofix in previous. 2014-01-22 10:43:28 +01:00
Juan RP 89fd4983d5 mkrootfs: replace -R with -C to specify xbps.conf. 2014-01-22 10:36:24 +01:00
Juan RP adc326d0d4 mkrootfs: remove std{err,out} redirs to see cmd output. 2014-01-22 10:31:28 +01:00
Juan RP e20cebf5c9 mkrootfs: fix previous. 2014-01-22 10:22:57 +01:00
Juan RP 5077411bd0 mkrootfs: fix xbps-query with remote repos. 2014-01-22 10:21:57 +01:00
Juan RP 9fd80621ad mkrootfs: added -R to set the xbps repository. 2014-01-22 10:15:17 +01:00
Juan RP 1ee561f98d mkimage: create /boot partition at 4096 sectors. 2014-01-21 23:27:52 +01:00
Juan RP 0756604fb0 mkrootfs: added new flags: -k <xbps-keys-dir> and -m <platform> (rpi|odroid*). 2014-01-21 23:13:26 +01:00
Juan RP be13cabb84 Makefile: generate executable scripts. 2014-01-11 18:51:47 +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 2554f93ba4 installer: after successfull installation only remove dialog pkg. 2013-11-14 11:55: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 c80eee86f9 vmklive: drop locale.LANG from kernel cmdline, it's always set to en_US.UTF-8. 2013-11-14 11:52:00 +01:00
Juan RP 86297ed6c0 mkrootfs: drop systemd dependency; misc tweaks. 2013-11-12 16:48:59 +01:00
Juan RP ede54ad439 mkimage: check for losetup existence too. 2013-11-12 16:48:55 +01:00
Juan RP adf32efa6b mkimage: check for mkfs.xxx after setting defaults. 2013-11-11 10:09:00 +01:00
Juan RP 2c846d9f4c mkimage: make sure to update rootfstype on /boot/cmdline.txt for Raspberry Pi. 2013-11-11 09:06:03 +01:00
Juan RP 81378ab3c6 mkimage: allow -r f2fs or any other fs and check we have required cmds. 2013-11-10 08:42:04 +01:00
Juan RP d4cd939375 mkrootfs: added -p option to add extra pkgs to the rootfs. 2013-11-10 08:41:43 +01:00
Juan RP 64ffdff00c installer: repair local installations. 2013-10-16 11:03:48 +02:00
Juan RP e267fde82f Make this work with xbps >= 0.26. 2013-09-29 10:26:53 +02:00
Juan RP ecf9674d14 mkimage: do not force FAT32 for the /boot filesystem.
If the FAT partition does not have enough clusters for FAT32, the Raspberry Pi
will fail to boot.

Fix: let mkfs.vfat choose the FAT type automatically.
2013-09-21 12:30:38 +02:00
Juan RP 0fbbcbd740 installer: use an infobox when copying live image to target; misc tweaks. 2013-09-16 11:44:45 +02:00
Juan RP 78c31161df installer: two more infoboxes after copying image to target; remove useless dir. 2013-09-14 15:17:44 +02:00
Juan RP 2fdc8b11cc mklive: update conf file with an uptodate pkglist. 2013-09-14 15:17:40 +02:00
Juan RP 63dbda3e43 COPYING: sync with reality. 2013-09-14 15:17:16 +02:00
Juan RP 670f476709 installer: remove temporary pkgs from target after copying live image. 2013-08-26 17:03:43 +02:00
Juan RP 3061aa72cd Makefile: use short git tag; bump to v21. 2013-08-23 11:14:18 +02:00
Juan RP d36f33b76c README -> README.md 2013-08-22 17:35:40 +02:00
Juan RP b4140a3b2e README: update. 2013-08-22 17:35:31 +02:00
Juan RP 07f4bb7b17 installer: repair network install. 2013-08-22 16:36:37 +02:00
Juan RP 011fc24068 Makefile: bump to v20. 2013-08-22 16:15:39 +02:00
Juan RP dc08114bec installer: after copying live image also generate a new initramfs. 2013-08-22 16:14:57 +02:00
Juan RP c193f1ce75 installer.sh: literally copy live rootfs to the targetdir and cleanup. 2013-08-22 13:20:57 +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 c15dd6d8d5 README: update. 2013-08-11 12:20:10 +02:00
Juan RP a75903c0b2 Makefile: install void-mkimage. 2013-08-11 12:18:47 +02:00
Juan RP feabec2e7e Bump version to v19. 2013-08-11 12:17:53 +02:00
Juan RP 065b000f4f New void-mkimage script to generate working images with a provided rootfs tarball. 2013-08-11 12:17:18 +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 b877a74a49 .gitignore: ignore all .sh files. 2013-08-11 12:09:07 +02:00
Juan RP 7c42cf3fe8 installer: detect xen native domU disks (xvd devices). 2013-08-10 09:55:39 +02:00
Juan RP 43a3b4085b Bump to v18. 2013-07-29 11:38:53 +02:00
Juan RP 2dea9a40bf installer: use lsblk(8) to find fs{size,type}; use blkid(8) -o value to find UUID. 2013-07-26 09:14:34 +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 1b33c72840 Bump version to 17. 2013-07-12 10:36:49 +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 b6ae26ddf2 installer: tyop fix. 2013-07-01 15:54:06 +02:00
Juan RP a4edc23bd6 installer: avoid creating a broken dhcpcd.conf. 2013-07-01 15:51:06 +02:00
Juan RP 3389b3d3de Bump version to v16. 2013-06-12 05:30:15 +02:00
Juan RP 65daf0eb35 dracut/adduser.sh: fix issue #1.
Make sure that systemd uses our getty service modified to autologin with the live user.
2013-06-12 05:28:43 +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 a66ddf9062 Bump to v15 for the recent EFI boot fix (tested by ojab). 2013-06-11 11:30:10 +02:00