-
Beta Was this translation helpful? Give feedback.
Answered by
PVNagel
Feb 5, 2026
Replies: 1 comment 1 reply
-
|
Do you have the interpreter for your postinst script installed in the container? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Finally found a fix for it (classic, right after asking for help!):
dnf install -y dos2unix
dos2unix mkosi.postinst.chroot
so from what I understand
the interpreter was there, but the script had CRLF line endings from Windows, so the kernel was looking for 'sh\r' instead of 'sh'. Running dos2unix fixed the path resolution.
Thank you for your time.