Skip to content

Conversation

@omac777
Copy link

@omac777 omac777 commented Dec 6, 2023

containers/podman@8cb1af9

We cannot make nodes unless we are root. Tweaked to use fakeroot mknod. A few other fakeroot commands following that were needed as well.

containers/podman@8cb1af9

We cannot make nodes unless we are root.  Tweaked to use sudo mknod.
fakeroot mknod passes without error
needed fakeroot for the cpio and tar as well
Ensure the mknod, cpio, tar behave correctly by running everything entirely in this script in fakeroot.
This also ensures cpio.gz and the tar.xz preserve the root:root afterwards.
ensure the mknod, cpio, tar behave correctly by invoking this script differently with ./podman_shell.sh fakeroot /bin/bash build_rootfs.sh

The script itself has no sudo/fakeroot within it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant