6021525630618db8508e064040df7c57bc1dcab2 build.sh: Use fakemachine when loop devices needed; allow UML backend ╔══════════════════════════════════════════════════════════════════════════╗ ║ PureOS (WIP) IMG image build for crimson librem-11 [flash-plain] ║ ╚══════════════════════════════════════════════════════════════════════════╝ Using cached container image `crimson-mkimage-img-librem-11-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 (16.6 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-11 + export IB_IMAGE_STYLE=flash-plain + export IB_TARGET_ARCH=amd64 + systemd-machine-id-setup + cd /srv/build + exec ./build.sh ==== PureOS Image Build ==== Building for environment: librem-11 Building for suite: crimson Building for architecture: amd64 Building image variant: flash-plain Saving results in: /srv/artifacts 2025/06/11 11:51:31 Recipe '/srv/build/pureos-isohybrid.yaml': 2025/06/11 11:51:31 Architecture: amd64 2025/06/11 11:51:31 Actions: 2025/06/11 11:51:31 - Action: debootstrap, Description: 2025/06/11 11:51:31 Suite: crimson 2025/06/11 11:51:31 Mirror: https://repo.pureos.net/pureos 2025/06/11 11:51:31 Variant: 2025/06/11 11:51:31 KeyringPackage: pureos-archive-keyring 2025/06/11 11:51:31 KeyringFile: /usr/share/keyrings/pureos-archive-keyring.gpg 2025/06/11 11:51:31 Certificate: 2025/06/11 11:51:31 PrivateKey: 2025/06/11 11:51:31 Components: [main] 2025/06/11 11:51:31 MergedUsr: true 2025/06/11 11:51:31 CheckGpg: true 2025/06/11 11:51:31 - Action: run, Description: Set up APT sources 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/setup-apt-sources.sh https://repo.pureos.net/pureos crimson 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: apt, Description: 2025/06/11 11:51:31 Recommends: true 2025/06/11 11:51:31 Unauthenticated: false 2025/06/11 11:51:31 Update: true 2025/06/11 11:51:31 Packages: [usr-is-merged] 2025/06/11 11:51:31 - Action: apt, Description: 2025/06/11 11:51:31 Recommends: true 2025/06/11 11:51:31 Unauthenticated: false 2025/06/11 11:51:31 Update: true 2025/06/11 11:51:31 Packages: [librem11-gnome phosh-tablet] 2025/06/11 11:51:31 - Action: apt, Description: 2025/06/11 11:51:31 Recommends: true 2025/06/11 11:51:31 Unauthenticated: false 2025/06/11 11:51:31 Update: true 2025/06/11 11:51:31 Packages: [systemd-sysv squashfs-tools] 2025/06/11 11:51:31 - Action: apt, Description: 2025/06/11 11:51:31 Recommends: true 2025/06/11 11:51:31 Unauthenticated: false 2025/06/11 11:51:31 Update: true 2025/06/11 11:51:31 Packages: [isolinux syslinux-efi grub-pc-bin grub-efi-amd64-bin grub2-common grub-gfxpayload-lists linux-image-amd64 memtest86+] 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: 2025/06/11 11:51:31 Command: apt clean 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: 2025/06/11 11:51:31 Command: echo pureos > /etc/hostname 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/01-set-locale.sh 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/02-plymouth-theme.sh 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/03-command-not-found.sh 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/04-apt-appstream.sh 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/flash/01-setup-flash.sh 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: 2025/06/11 11:51:31 Command: apt-get purge -y phosh-tour librem5-fw-jail 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/05-package-hacks.sh 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: recipe, Description: 2025/06/11 11:51:31 Recipe: customize.yaml 2025/06/11 11:51:31 Variables: map[arch:amd64 environment:librem-11 imagestyle:flash-plain suite:crimson version:11] 2025/06/11 11:51:31 - Action: run, Description: Collect infos & logs 2025/06/11 11:51:31 Chroot: true 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/os/collect-logs.sh 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: collect-logs 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: false 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: 2025/06/11 11:51:31 Command: mkdir -p "/srv/build/results-prep" 2025/06/11 11:51:31 Label: 2025/06/11 11:51:31 - Action: run, Description: 2025/06/11 11:51:31 Chroot: false 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/img/mkimg.sh --img "/srv/build/results-prep/pureos-11-librem-11-flash-plain-20250611_amd64.img" --rootdir "$ROOTDIR" --artifactdir "$ARTIFACTDIR" --boot-size-mib 1024 --partition-table gpt --bootloader grub --hibernate 2>&1 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: Create disk image 2025/06/11 11:51:31 - Action: run, Description: Make zsync file 2025/06/11 11:51:31 Chroot: false 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: 2025/06/11 11:51:31 Command: cd "/srv/build/results-prep" && zsyncmake -C -b 2048 -u pureos-11-librem-11-flash-plain-20250611_amd64.img "/srv/build/results-prep/pureos-11-librem-11-flash-plain-20250611_amd64.img" 2025/06/11 11:51:31 Label: zsync 2025/06/11 11:51:31 - Action: run, Description: Copy package list 2025/06/11 11:51:31 Chroot: false 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: 2025/06/11 11:51:31 Command: cp $ROOTDIR/build-info/packages.manifest "/srv/build/results-prep/pureos-11-librem-11-flash-plain-20250611_amd64.packages" 2025/06/11 11:51:31 Label: copy-package-list 2025/06/11 11:51:31 - Action: run, Description: Write checksums 2025/06/11 11:51:31 Chroot: false 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: scripts/finish/make-checksums.sh "pureos-11-librem-11-flash-plain-20250611_amd64" "/srv/build/results-prep" 2025/06/11 11:51:31 Command: 2025/06/11 11:51:31 Label: checksums 2025/06/11 11:51:31 - Action: run, Description: Cleanup 2025/06/11 11:51:31 Chroot: false 2025/06/11 11:51:31 PostProcess: false 2025/06/11 11:51:31 Script: 2025/06/11 11:51:31 Command: rm -rf "$ARTIFACTDIR/disk-ws-tmp/" 2025/06/11 11:51:31 Label: cleanup 2025/06/11 11:51:31 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/e5507a06-0420-410b-ba51-a2ae479871a1/artifacts --build-dir /var/lib/lkspark/workspaces/e5507a06-0420-410b-ba51-a2ae479871a1/ib --allow=kvm,read-kmods --cachekey crimson-mkimage-img-librem-11-flash-plain --init-command /tmp/e5507a06-0420-410b-ba51-a2ae479871a1-3egw7_to.sh --header=PureOS (WIP) IMG image build for crimson librem-11 [flash-plain] crimson /tmp/e5507a06-0420-410b-ba51-a2ae479871a1-vuy2j2zh.sh failed with error code 2