6021525630618db8508e064040df7c57bc1dcab2 build.sh: Use fakemachine when loop devices needed; allow UML backend ╔═══════════════════════════════════════════════════════════════════════════╗ ║ PureOS (WIP) IMG image build for crimson librem-5r4 [flash-plain] ║ ╚═══════════════════════════════════════════════════════════════════════════╝ Using cached container image `crimson-mkimage-img-librem-5r4-flash-plain` ┌─────────────────────────────┐ │ Preparing container │ └─────────────────────────────┘ Get:1 https://repo.pureos.net/pureos crimson InRelease [9641 B] Get:2 https://repo.pureos.net/pureos crimson-updates InRelease [8746 B] Get:3 https://repo.pureos.net/pureos crimson-security InRelease [4753 B] Fetched 23.1 kB in 1s (20.0 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ┌──────────────────────┐ │ Running Task │ └──────────────────────┘ /!\ Access to KVM requested, but /dev/kvm does not exist on the host. Is virtualization supported? + export DEBIAN_FRONTEND=noninteractive + export IB_SUITE=crimson + export IB_ENVIRONMENT=librem-5r4 + export IB_IMAGE_STYLE=flash-plain + export IB_TARGET_ARCH=arm64 + systemd-machine-id-setup + cd /srv/build + exec ./build.sh ==== PureOS Image Build ==== Building for environment: librem-5r4 Building for suite: crimson Building for architecture: arm64 Building image variant: flash-plain Saving results in: /srv/artifacts 2025/06/11 11:51:56 Recipe '/srv/build/pureos-isohybrid.yaml': 2025/06/11 11:51:56 Architecture: arm64 2025/06/11 11:51:56 Actions: 2025/06/11 11:51:56 - Action: debootstrap, Description: 2025/06/11 11:51:56 Suite: crimson 2025/06/11 11:51:56 Mirror: https://repo.pureos.net/pureos 2025/06/11 11:51:56 Variant: 2025/06/11 11:51:56 KeyringPackage: pureos-archive-keyring 2025/06/11 11:51:56 KeyringFile: /usr/share/keyrings/pureos-archive-keyring.gpg 2025/06/11 11:51:56 Certificate: 2025/06/11 11:51:56 PrivateKey: 2025/06/11 11:51:56 Components: [main] 2025/06/11 11:51:56 MergedUsr: true 2025/06/11 11:51:56 CheckGpg: true 2025/06/11 11:51:56 - Action: run, Description: Set up APT sources 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/setup-apt-sources.sh https://repo.pureos.net/pureos crimson 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: apt, Description: 2025/06/11 11:51:56 Recommends: true 2025/06/11 11:51:56 Unauthenticated: false 2025/06/11 11:51:56 Update: true 2025/06/11 11:51:56 Packages: [usr-is-merged] 2025/06/11 11:51:56 - Action: apt, Description: 2025/06/11 11:51:56 Recommends: true 2025/06/11 11:51:56 Unauthenticated: false 2025/06/11 11:51:56 Update: true 2025/06/11 11:51:56 Packages: [librem5-gnome phosh-phone phog sudo] 2025/06/11 11:51:56 - Action: apt, Description: 2025/06/11 11:51:56 Recommends: true 2025/06/11 11:51:56 Unauthenticated: false 2025/06/11 11:51:56 Update: true 2025/06/11 11:51:56 Packages: [systemd-sysv squashfs-tools] 2025/06/11 11:51:56 - Action: apt, Description: 2025/06/11 11:51:56 Recommends: true 2025/06/11 11:51:56 Unauthenticated: false 2025/06/11 11:51:56 Update: true 2025/06/11 11:51:56 Packages: [linux-image-librem5] 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: 2025/06/11 11:51:56 Command: apt clean 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: 2025/06/11 11:51:56 Command: echo pureos > /etc/hostname 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/01-set-locale.sh 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/02-plymouth-theme.sh 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/03-command-not-found.sh 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/04-apt-appstream.sh 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/flash/01-setup-flash.sh 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/05-package-hacks.sh 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: recipe, Description: 2025/06/11 11:51:56 Recipe: customize.yaml 2025/06/11 11:51:56 Variables: map[arch:arm64 environment:librem-5 imagestyle:flash-plain suite:crimson version:11] 2025/06/11 11:51:56 - Action: run, Description: Collect infos & logs 2025/06/11 11:51:56 Chroot: true 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/os/collect-logs.sh 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: collect-logs 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: false 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: 2025/06/11 11:51:56 Command: mkdir -p "/srv/build/results-prep" 2025/06/11 11:51:56 Label: 2025/06/11 11:51:56 - Action: run, Description: 2025/06/11 11:51:56 Chroot: false 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/img/mkimg.sh --img "/srv/build/results-prep/pureos-11-librem-5r4-flash-plain-20250611_arm64.img" --rootdir "$ROOTDIR" --artifactdir "$ARTIFACTDIR" --boot-size-mib 512 --partition-table msdos --bootloader uboot 2>&1 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: Create disk image 2025/06/11 11:51:56 - Action: run, Description: Make zsync file 2025/06/11 11:51:56 Chroot: false 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: 2025/06/11 11:51:56 Command: cd "/srv/build/results-prep" && zsyncmake -C -b 2048 -u pureos-11-librem-5r4-flash-plain-20250611_arm64.img "/srv/build/results-prep/pureos-11-librem-5r4-flash-plain-20250611_arm64.img" 2025/06/11 11:51:56 Label: zsync 2025/06/11 11:51:56 - Action: run, Description: Copy package list 2025/06/11 11:51:56 Chroot: false 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: 2025/06/11 11:51:56 Command: cp $ROOTDIR/build-info/packages.manifest "/srv/build/results-prep/pureos-11-librem-5r4-flash-plain-20250611_arm64.packages" 2025/06/11 11:51:56 Label: copy-package-list 2025/06/11 11:51:56 - Action: run, Description: Write checksums 2025/06/11 11:51:56 Chroot: false 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: scripts/finish/make-checksums.sh "pureos-11-librem-5r4-flash-plain-20250611_arm64" "/srv/build/results-prep" 2025/06/11 11:51:56 Command: 2025/06/11 11:51:56 Label: checksums 2025/06/11 11:51:56 - Action: run, Description: Cleanup 2025/06/11 11:51:56 Chroot: false 2025/06/11 11:51:56 PostProcess: false 2025/06/11 11:51:56 Script: 2025/06/11 11:51:56 Command: rm -rf "$ARTIFACTDIR/disk-ws-tmp/" 2025/06/11 11:51:56 Label: cleanup 2025/06/11 11:51:56 error creating fakemachine: uml backend not supported: user-mode-linux not installed Command debspawn run --external-command --arch=amd64 --artifacts-out /var/lib/lkspark/workspaces/ae3c1eb8-e608-4376-bc65-32b1f9df0a10/artifacts --build-dir /var/lib/lkspark/workspaces/ae3c1eb8-e608-4376-bc65-32b1f9df0a10/ib --allow=kvm,read-kmods --cachekey crimson-mkimage-img-librem-5r4-flash-plain --init-command /tmp/ae3c1eb8-e608-4376-bc65-32b1f9df0a10-15vme4ze.sh --header=PureOS (WIP) IMG image build for crimson librem-5r4 [flash-plain] crimson /tmp/ae3c1eb8-e608-4376-bc65-32b1f9df0a10-lmqh1dvv.sh failed with error code 2