-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass variables with host properties to scripts #3187
Comments
What is you use case - should this also apply to the tools tree distro? |
In https://github.com/davide125/arcadeos/blob/66435dd4328aa16fc8d58b98e379a7ef3640d975/mkosi.sync I'm building systemd inside |
And to elaborate, IMO |
Not quite sure why you need to build systemd for the host and the target but I assume you will have your reasons. For now a workaround could be to mount your host's |
mkosi commit the issue has been seen with
main
Used host distribution
Fedora Linux 41
Used target distribution
Fedora Linux 41
Linux kernel version used
No response
CPU architectures issue was seen on
None
Unexpected behaviour you saw
It would be useful to know the host distribution, release and architecture when inside scripts such as
mkosi.sync
; while detection is easy enough to reimplement, mkosi is already doing it and uses a consistent format (e.g. it always refers toaarch64
asarm64
). For these, I'd suggest adding$HOST_DISTRIBUTION
,$HOST_RELEASE
,$HOST_ARCHITECTURE
. It would also be useful to have a$MKOSI
variable pointing to the mkosi binary, so that if one needs to run mkosi from inside one of the scripts it'll be guaranteed to be the same version.Used mkosi config
No response
mkosi output
No response
The text was updated successfully, but these errors were encountered: