Commit Graph

129 Commits

Author SHA1 Message Date
Juan RP fc3ba9eaf7
Merge pull request #60 from Noah-Huppert/mklive-kver-opt
mklive: added -v kerver option
2019-10-27 07:00:48 +01:00
human f19733f80f mklive: fix bashism 2019-10-23 23:58:30 -07:00
Cameron Nemo 53b58fef3f Remove defunct systemd support
Closes: #70 [via git-merge-pr]
2019-05-25 13:36:49 -07:00
Noah Huppert cd127e8320 mklive: fixed -o option so it could take an absolute path
Closes: #56 [via git-merge-pr]
2019-05-25 13:33:29 -07:00
Noah Huppert 7ca1cbc168 mklive: added -v kerver option
Signed-off-by: Noah Huppert <contact@noahh.io>
2019-04-01 16:12:18 -04:00
Unknown 8d364654ed Missing parenthesis.
Closes: #14 [via git-merge-pr]
2019-02-27 18:58:37 -08:00
mobinmob 77442599ce mklive.sh: Remove $ROOTFS_FREESIZE 2019-02-27 18:58:37 -08:00
mobinmob f5ee7f420e mklive.sh: Use overlayfs for live image writable overlay. 2019-02-27 18:58:37 -08:00
mobinmob 08173eb25f mklive.sh: remove unused ISO_VOLUME variable. 2019-02-18 14:51:42 -08:00
Noah Huppert 1ffa7e4900 mklive.sh: fixed syslinux datadir value after pkg update 2019-01-16 20:17:27 -08:00
Unknown d1d2a18783 mklive.sh: Change repo urls. 2018-09-09 13:07:18 -07:00
mobinmob 40027cd5a6 mklive.sh: double-quote vars to make building an iso on a path
that has spaces in directory names possible.
2018-08-13 22:51:58 -07:00
mobinmob 49a0cbf98b mklive.sh: mksquashfs does not support bzip2 compression, but is supports lzo. 2018-08-13 22:41:13 -07:00
mobinmob 48f7b70759 mklive.sh: Handle unknown switch by displaying usage info. 2018-08-13 22:41:13 -07:00
mobinmob 4567280b7a mklive.sh: Default cachedir is not /var/cache/xbps. 2018-08-13 22:41:13 -07:00
mobinmob dfef5449c5 mklive.sh: Default initramfs compression has been xz for some time. 2018-08-13 22:41:13 -07:00
Michael Aldridge dbac38c0f7 Revert "mklive.sh.in: add custom scripts to init"
This reverts commit 3c68cc4158.

This commit was not adequately reviewed and introduces unintentional
errors to the mklive system as well as unfavorable directory contents
in every published ISO.
2017-08-07 18:27:07 -07:00
edr 3c68cc4158 mklive.sh.in: add custom scripts to init
The added option -H <hooksdir> allows the user to specify a directory
that contains hook scripts which should be run directly after the live
system's init sequence.
This can be used to customize the system (such as e.g. setting a
different default shell)
2017-08-06 21:10:40 -07:00
Michael Aldridge 414ebf318f Add netboot generator script 2017-08-06 21:03:55 -07:00
Michael Aldridge 76ea7500b2 Add an automatic install option to the initramfs. 2017-08-06 21:02:55 -07:00
masato9000 a4b3dd36c9 Improve support for 32-bit EFI firmware in ISOs and installer
mklive:
- include support for booting both 32- and 64-bit UEFI firmware with
  32- and 64-bit images.
- require grub packages for both firmware bitness types
  (build-x86-images)

Installer:
- include support for installing both 32- and 64-bit UEFI grub loaders
- detect UEFI platform (firmware) bitness at install time

Closes: #102 [via git-merge-pr]
2017-08-02 22:25:09 -07:00
M. Dietrich fe57bb4b06 set umask 022 2017-08-02 16:31:15 -07:00
M. Dietrich fbe5b8dccb fix error_out (line/errno handling)
Closes: #84 [via git-merge-pr]
2017-06-23 13:05:11 -07:00
Michael Aldridge 79adf63842 Correctly detect musl host architecture
This resolves #106
2017-06-23 12:46:49 -07:00
Juan RP f5a75aeb13 mklive: fix print_step()... 2016-02-07 09:41:40 +01:00
Enguerrand de Rochefort f11d98ae3c mklive: add -I directory inclusion option 2016-01-31 22:45:01 +01:00
Toyam Cox a25ec4a9b0 Switch to truncate to allocate storage for images
Works in low memory situations
2016-01-14 08:48:43 -05:00
Juan RP 6653bb6057 mklive: make this work with grub-2.02. 2015-12-19 08:43:16 +01:00
Juan RP 0bab24258a mklive: make this work on musl hosts. 2015-12-12 09:50:20 +01:00
Juan RP 97ce376755 Merge pull request #47 from the-maldridge/grub32
Add support for proper 32 bit grub
2015-11-05 11:16:18 +01:00
Michael Aldridge d6a20ce1c8 Add support for proper 32 bit grub 2015-11-05 03:54:19 -06:00
Juan RP 669ce503fc mklive: make sure -r is preferred over defaults. 2015-11-02 17:16:01 +01:00
Juan RP 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
Juan RP 0bdf5c6c36 mklive: fix guessing linux kernel pkgname. 2015-10-09 09:04:47 +02:00
Juan RP 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
Juan RP 52c027ad0c mklive: use $BASE_ARCH where it's required. 2015-06-04 09:13:30 +02:00
Juan RP 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
Juan RP 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
Juan RP 00dda59b0b mklive: remove modesetting workaround for musl, intel(4) works again. 2015-05-27 16:49:33 +02:00
Juan RP 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
Christian Neukirchen 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
Juan RP bc72a0b4cf mklive: use $BASE_ARCH if set for the image filename. 2015-04-15 07:30:18 +02:00
Juan RP 8ee6fd344b mklive: reconfigure base-files for the kvm group. 2015-04-07 10:23:19 +02:00
Juan RP 69bcb88aa1 mklive: add libgcc to required pkgs; glibc's pthread_cancel needs it :/ 2015-02-21 18:25:14 +01:00
Juan RP a7ed58c4fb mklive: force C locale to install base pkgs to silence dracut. 2015-02-11 08:34:35 +01:00
Juan RP 690ffec05c mklive: unbreak setting multiple repos via -r (close #17) 2015-01-31 10:00:05 +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