Continuing the discussion from The current state of the Librem 5 is… actually pretty good?:
When I read that, I got a bit jealous and thought I’d try out PureOS in QEMU, too, while waiting for my phone to arrive.
I started out at PureOS’s documentation but quickly got stuck there. Looks like the build jobs for the QEMU image have been failing for a while.
Where I got stuck
I then checked out Image Builder myself, hoping it’d let me build the QEMU image on my own machine. But it says:
$ ./build-image -b qemu-x86_64 -d byzantium Building qemu-x86_64.img (arch: x86_64, byzantium) […] ERROR: command failed: ['debootstrap', '--arch=amd64', '--include=acpid,linux-image-amd64,grub-pc,sudo', 'byzantium', '/tmp/tmpog7x89sj', 'https://repo.pureos.net/pureos'] b"W: Cannot check Release signature; keyring file not available /usr/share/keyrings/pureos-archive-keyring.gpg\nI: Retrieving InRelease \nI: Retrieving Packages \nI: Validating Packages \nI: Resolving dependencies of required packages...\nI: Resolving dependencies of base packages...\nI: Checking component main on https://repo.pureos.net/pureos...\nE: Couldn't find these debs: ca-certificates pureos-archive-keyring\n"
The error message is here:
Couldn’t find these debs: ca-certificates pureos-archive-keyring
I’m not quite sure where (host? guest?) and how I’m supposed to install those.
Steps to reproduce
shunit2from the AUR.
distro-info-datafrom the AUR (patched to latest version 0.58).
distro-infofrom the AUR (patched to latest version 1.5).
debootstrap-pureosfrom the AUR. (I uploaded that PKGBUILD myself, derived from
vmdebootstrap-pureosfrom the AUR. (Uploaded that myself, too, derived from
- Check out Image Builder from source.puri.sm.
./build-image -b qemu-x86_64 -d byzantiumas suggested in
I think I might figure out a way to get my hands on the missing
pureos-archive-keyring packages (example).
But where and how do I install those in order to make Image Builder actually use them?
Pinging @dos, who might know one thing or two about Arch and the Image Builder.