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.
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)
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]
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.
- 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
- 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.
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
- 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.