serpent-os / boulder-d-legacy

Replaced by Rust tooling
https://serpentos.com
21 stars 7 forks source link

%tmpfiles_file and %sysusers_file macros #24

Open ReillyBrogan opened 2 years ago

ReillyBrogan commented 2 years ago

The %tmpfiles macro doesn't really seem as ergonomic as being able to have the contents of the tmpfile in a separate file entirely. Perhaps we could have the %tmpfiles_file and %sysusers_file which take a path instead (and otherwise do the current append behavior of the current macros)?

sunnyflunk commented 2 years ago

The design is for the stone.yml to include as much of the build as possible within reason (and why there won't be a separate patches file). The macro is the preferred and best option to do that.

One line in the stone.yml vs one line in a separate file and the former is always better.

sunnyflunk commented 2 years ago

If the file approach is preferred, then there are a few requirements (I don't think we will bother having both):