Errors when building in rootless podman

Mostly seems to work, but I do get these errors at the end of the runme.sh script, just after it calls parted:

  • parted --script /work/images/tmp/ubuntu-core.img mklabel msdos mkpart primary 64MiB 417MiB
    /dev/mem: No such file or directory
    sh: 1: udevadm: not found
    sh: 1: udevadm: not found
    sh: 1: udevadm: not found
    sh: 1: udevadm: not found

And then soon after I get these too:

  • parted --script /work/images/lx2160acex7_2000_700_3200_8_5_2-33cddb7.img mklabel msdos mkpart primary 64MiB 527MiB
    /dev/mem: No such file or directory
    sh: 1: udevadm: not found
    sh: 1: udevadm: not found
    sh: 1: udevadm: not found
    sh: 1: udevadm: not found

Otherwise runme.sh executes until the end.

Should I ignore the error lines?

Thanks

Try adding the udev package to the Docker config file, docker/Dockerfile