You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I've been trying to replace the default kernel on a Fedora CoreOS-like image (rpm-ostree based) and I havent been able to do so. Dracut errors out with a invalid cross-device link (os error 18) issue when installing the kernel-fsync package from Sentry. Apparently the kernel package tries to generate the initramfs image and hardlinks it from /tmp over to /path/to/initramfs and fails because the filesystem the initramfs image is is different from the rootfs. A fix for this would be to generate all RUN statements without --mount=type=tmpfs,target=/tmp and with a rm -rf /tmp/* /var/tmp/* at the end of the statements.
Hello! I've been trying to replace the default kernel on a Fedora CoreOS-like image (rpm-ostree based) and I havent been able to do so. Dracut errors out with a
invalid cross-device link (os error 18)
issue when installing the kernel-fsync package from Sentry. Apparently the kernel package tries to generate the initramfs image and hardlinks it from/tmp
over to/path/to/initramfs
and fails because the filesystem the initramfs image is is different from the rootfs. A fix for this would be to generate allRUN
statements without--mount=type=tmpfs,target=/tmp
and with arm -rf /tmp/* /var/tmp/*
at the end of the statements.Minimal reproduction:
This issue is basically what #119 says, but with a bit more detailed info about what is happening.
The text was updated successfully, but these errors were encountered: