Hopefully fixes intermittant segfaults during builds which I think are
the fault of lbzip2, but for good measure update the whole lot.
Packages updated:
app-arch/bzip2
app-arch/lbzip2
app-arch/tar
This code is not applicable to us, it predates CoreOS and is a weird
thing for common.sh to be doing as well. Instead always define
CHROOT_TRUNK_DIR to /mnt/host/source, create ~/trunk in make_chroot.
One user had the misfortune of having two keyboards, both of which have
special HID drivers but neither of which we enable. (Apple and Logitech)
The generic HID driver ignores devices with special drivers even if the
drivers are not built. This patch enables all of the likely keyboard
related drivers that are normally selected by CONFIG_EXPERT. Hopefully
that covers everything that is usually expected to "Just Work".
My primary use case for this flag is to fix booting with UEFI firmware
which can have problems when mixed with KVM, adding kexec into the mix
doesn't help matters either. The current version of OVMF can boot from
virtio drives just fine so that is now enabled and KVM is disabled.
So the -s option can also mean sloooooooow but boots!
The new grub install script must be called after the image is unmounted
and the old bootloaders script doesn't need to touch grub at all. For
now we will continue to use the existing syslinux configs but
interpreted by grub. Beyond the grub menu flashing by during boot
everything should still be functionally equivalent.
This script replaces the standard grub-install tool to give us some more
control over what is going and ensure grub-install's auto-detection
magic doesn't make any incorrect choices. Also this script sets up a
loopback device and mounts the EFI partition in just the right way for
grub-bios-setup's auto-detection magic to work correctly.
I've chosen not to adapt disk_util to use partitioned loop devices to
make grub happy because ensuring loop devices get cleaned up properly
for the general case gets tricky and less robust.
The passing ROOT= as an environment variable to board wrapper scripts
doesn't work, the script unconditionally overrides it. This means so far
our packages.txt files have listed the contents of /build/amd64-usr
instead of the image. Fix this by calling equery directly instead.
Installing the syslinux package is only required for re-installing
syslinux which has never really been needed and we will be moving to
grub soon anyway. This saves a 5-10MB in our final images.
previously check_etag.sh would not create a blank file if it did
not exist. The result was that the first time check_etag.sh was
run it would always exit non-zero.
Our Xen boot failure appears to be related to enabling KASLR and
helpuflly the 'nokaslr' command line option does not help. Disable the
feature entirely until the bugs are shaken out.