# Errors when building in rootless podman

**URL:** <https://community.solid-run.com/t/errors-when-building-in-rootless-podman/528>\
**Category:** NXP LX2160\
**Created:** [November 20, 2022, 2:09pm UTC](https://community.solid-run.com/t/errors-when-building-in-rootless-podman/528 "2022-11-20T14:09:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joema](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@joema](https://community.solid-run.com/u/joema)\
**Post date:** [November 20, 2022, 2:09pm UTC](https://community.solid-run.com/t/errors-when-building-in-rootless-podman/528/1 "2022-11-20T14:09:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [November 21, 2022, 6:47am UTC](https://community.solid-run.com/t/errors-when-building-in-rootless-podman/528/2 "2022-11-21T06:47:41Z")

</div>

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