Description
What is happening?
I'm trying to build Linux Heads
locally but both build-scripts for either Debian
or Fedora
through an error at me. I'm using Qubes OS 4.1
on a Lenovo T440p (i7/16GB RAM) flashed with coreboot
, using Conor's Guide but have not flashed heads so far. I installed all dependencies necessary for a build mentioned under: General-Building
On a debian
vm the build fails, because of a checksum mismatch:
On the fedora
side of things, the cross-compiler fails the build step. There is no package available when typing sudo dnf install cross-gcc
as found in the circle-ci list of installed packages:
On Qubes OS
you cannot build the Archlinux-Template
either, since the build-script fails on building something with core-libvirt
needed.
Questions and Assumptions
- Is the
debian
checksum mismatch ofzlib
adebian
issue, aQubes
one, or oneheads
should take care of? - The
cross-gcc
package is not there anymore? Does the build-script need rewriting or do thefedora
folks have an issue here? - The
Archlinux template
failing gives me the same assumption than thefedora
one - script rewriting or their's?
Why all this?
I stumbled across those errors, since I bought two refurbished Lenovo T440p last months, to use them with Linux Heads, Coreboot and HOTP
. While I was able to install the latest heads build from circle-ci via CH341_a
flash-programmer, I encountered a problem booting .iso
files from a usb-drive
. The gpg-verification of Qubes OS
works, but I do not get any screen output, since i915 module
is not present. insmod
answers: No such file or directory
, when trying to load the module manually. Another user reported the same problem here: https://github.com/osresearch/heads/issues/702
It took me to building heads locally myself, with a t440p-hotp-maximized
.config yet to be edited, but I'm not getting the build-environment to build a default build in the first place.
The second approach was to build an Arch Linux Template
, build arch-linux
in a chroot environment and use the build artifacts from circle-ci, i.e. the initrd.cpio
provided. I am not sure how to build arch-linux
with a different initrd.img
in place, so help is greatly appreciated. If I am misled by the assumption to build an .iso
from the chroot environment and add a different initrd.img
would be a smart idea, feel free to stop me. But again, the build environment is stopping me from trying this in the first place.
I feel a little lost, which path to persuade from here. Is the approach of trying to build heads locally
and Debugging the t440p-hotp-maximized.config
and coreboot.config
the way to go? Or shall I try to build an archlinux.iso
with the initrd.cpio
from circle-ci included? Or is there any other way of handling this issue?