-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Running the ./generate.sh script as a super-user, with --remove-orphans removed, podman exits with the following error:
Generating image...0:00:16
[03:19:46] /home/imagegen/rpi-image-gen/image[post-image.sh] /home/imagegen/rpi-image-gen/work/rpi_uniclogs/deploy
[03:19:46] Deploying image and SBOM
*** Zstandard CLI (64-bit) v1.5.4, by Yann Collet ***
/home/imagegen/rpi-image-gen/work/rpi_uniclogs/artefacts/rpi_uniclogs.img : 35.45% ( 577 MiB => 205 MiB, /home/imagegen/rpi-image-gen/work/rpi_uniclogs/deploy/rpi_uniclogs.img.zst)
*** Zstandard CLI (64-bit) v1.5.4, by Yann Collet ***
/home/imagegen/rpi-image-gen/work/rpi_uniclogs/artefacts/rpi_uniclogs.img.sparse : 40.03% ( 504 MiB => 202 MiB, /home/imagegen/rpi-image-gen/work/rpi_uniclogs/deploy/rpi_uniclogs.img.sparse.zst)
*** Zstandard CLI (64-bit) v1.5.4, by Yann Collet ***
/home/imagegen/rpi-image-gen/work/rpi_uniclogs/artefacts/rpi_uniclogs.sbom : 11.24% ( 11.1 MiB => 1.25 MiB, /home/imagegen/rpi-image-gen/work/rpi_uniclogs/deploy/rpi_uniclogs.sbom.zst)
[SUCCESS] Image build completed successfully!
cp: cannot create regular file './rpi_uniclogs.img.sparse.zst': Permission denied
cp: cannot create regular file './rpi_uniclogs.img.zst': Permission denied
cp: cannot create regular file './rpi_uniclogs.sbom.zst': Permission denied
Error: executing /usr/bin/podman-compose run --build rpi_imagegen bash -c
/home/imagegen/scripts/generate-image.sh
: exit status 1Entering the container using sudo podman run -it localhost/rpi-imagegen:latest and running ./build.sh, another error can be found:
Module binfmt_misc not loaded in host
Please run:
sudo modprobe binfmt_miscThere is no kernel module available to me as binfmt_misc on Arch Linux, but binfmt seems to be configured properly on my system, the output of running mount | grep "binfmt" is
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=42,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=9982)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)And the status of each systemd service (proc-sys-fs-binfmt_misc.mount, systemd-binfmt.service, and proc-sys-fs-binfmt_misc.automount) are all active and seem normal.
Let me know if anymore information is needed.
System info:
OS: Arch Linux x86_64
Kernel: Linux 6.12.51-1-lts
Metadata
Metadata
Assignees
Labels
No labels