Commit Graph

105 Commits

Author SHA1 Message Date
f5a75aeb13 mklive: fix print_step()... 2016-02-07 09:41:40 +01:00
f11d98ae3c mklive: add -I directory inclusion option 2016-01-31 22:45:01 +01:00
a25ec4a9b0 Switch to truncate to allocate storage for images
Works in low memory situations
2016-01-14 08:48:43 -05:00
6653bb6057 mklive: make this work with grub-2.02. 2015-12-19 08:43:16 +01:00
0bab24258a mklive: make this work on musl hosts. 2015-12-12 09:50:20 +01:00
97ce376755 Merge pull request #47 from the-maldridge/grub32
Add support for proper 32 bit grub
2015-11-05 11:16:18 +01:00
d6a20ce1c8 Add support for proper 32 bit grub 2015-11-05 03:54:19 -06:00
669ce503fc mklive: make sure -r is preferred over defaults. 2015-11-02 17:16:01 +01:00
d0f0910b67 mklive: make -r append repo to the head rather than replacing.
This allows you to use local repos with higher priority than the
official remote ones.
2015-10-16 08:14:01 +02:00
0bdf5c6c36 mklive: fix guessing linux kernel pkgname. 2015-10-09 09:04:47 +02:00
e514350f88 mklive: install GRUB EFI loader as EFI/BOOT/BOOTX64.EFI.
There are some EFI firmwares that expect the loader to be in that
location and being uppercase, so that there more chances to make this
boot on more systems.
2015-07-12 08:48:08 +02:00
52c027ad0c mklive: use $BASE_ARCH where it's required. 2015-06-04 09:13:30 +02:00
77ff6c34c9 mklive: require xbps>=0.45 for two phase installation.
- The target pkgs are unpacked with -U, and then reconfiguration happens
within the chroot, so that there's no need for host dependencies.
- Use chroot where possible to make sure that euid==0, not xbps-uchroot.

Close #32 and #33
2015-06-03 14:28:38 +02:00
8824220321 mklive: misc changes to allow building images for musl.
- The required host utilities (grub, squashfs-tools and xorriso) are now
installed for the host os, this way we don't have to make tricks for
dsos to work.

- The cachedir is now by default set to $PWD/xbps-cachedir-$arch, this way
packages for the host and the target don't conflict.

- Due to the changes above it's now possible to build musl images without
having musl-bootstrap installed, previously it was necessary.
2015-05-29 09:21:11 +02:00
00dda59b0b mklive: remove modesetting workaround for musl, intel(4) works again. 2015-05-27 16:49:33 +02:00
af2fcf925a mklive: force modesetting on musl for now.
intel and radeon drivers are currently broken with musl (segmentation fault
in OsLookupColor()).
2015-05-24 08:35:56 +02:00
929175a025 Support for MEMDISK
The .iso can now be booted using Grub (memdisk from Syslinux package):

	linux16 /memdisk
	initrd16 /path/to/iso

As well as from Syslinux:

	LINUX memdisk
	INITRD path/to/iso
2015-05-02 12:16:21 +02:00
bc72a0b4cf mklive: use $BASE_ARCH if set for the image filename. 2015-04-15 07:30:18 +02:00
8ee6fd344b mklive: reconfigure base-files for the kvm group. 2015-04-07 10:23:19 +02:00
69bcb88aa1 mklive: add libgcc to required pkgs; glibc's pthread_cancel needs it :/ 2015-02-21 18:25:14 +01:00
a7ed58c4fb mklive: force C locale to install base pkgs to silence dracut. 2015-02-11 08:34:35 +01:00
690ffec05c mklive: unbreak setting multiple repos via -r (close #17) 2015-01-31 10:00:05 +01:00
da528e772f mklive: declare vpkgs unversioned and update path for xbps>=0.43. 2015-01-05 17:55:52 +01:00
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
653f1d2ad9 mklive: misc fixes to generate successful musl images. 2014-12-29 09:50:29 +01:00
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
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
f5af7c32bd mklive.sh: dont error out if loop module cannot be loaded. 2014-12-05 12:45:43 +01:00
8f2cc01d18 mklive: force reconfiguration of util-linux to make sure uuidd is created. 2014-12-03 14:13:42 +01:00
644890069c mklive: install vpkg conf file to the system virtualpkg directory instead. 2014-11-05 09:45:29 +01:00
4e5adc6f04 mklive: use a default void vpkg configuration file for base-system. 2014-11-04 16:36:33 +01:00
c39051a72b mklive: switch back to xz initramfs now that we have the prereqs. 2014-10-25 11:47:16 +02:00
308882fd87 mklive: use gzip compression for the initramfs by default; lz4 is optional. 2014-10-25 11:17:22 +02:00
3201721196 mklive: do not use the busybox dracut module, will fail. 2014-10-25 10:44:54 +02:00
70fc86365c mklive: use lz4 compression for the initramfs by default, to match our pkgs. 2014-10-23 09:32:29 +02:00
7d89972c57 mklive: added -S opt to set a custom rootfs free size in MB. 2014-09-21 12:48:32 +02:00
0245d934c5 mklive: do not add dialog to the pkg list inconditionally; it's optional. 2014-09-21 09:41:57 +02:00
4b559d86c9 mklive: remove unnecessary line. 2014-09-21 09:35:07 +02:00
914e193724 mklive: add -a opt to set XBPS_ARCH (for musl); misc changes for dracut/adduser. 2014-09-21 09:31:43 +02:00
ab3a398875 mklive: set live user shell to /bin/sh; use /etc/issue; disable autologin. 2014-09-20 11:14:29 +02:00
bb8d32e2c2 mklive: always omit dracut systemd module if base-system-systemd is not used. 2014-09-20 09:44:36 +02:00
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
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