Skip to content
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

Generated target files #12

Open
ggiamarchi opened this issue Apr 6, 2017 · 0 comments
Open

Generated target files #12

ggiamarchi opened this issue Apr 6, 2017 · 0 comments
Assignees
Labels

Comments

@ggiamarchi
Copy link
Owner

Currently, templates are useful to generate text files in the target filesystem. It would be great to have a similar concept to generate binary file (or arbitrary file).

The idea is to introduce a new concept, let's call it a "generator" at the module level (like files, templates and scripts). Basically, it would contain scripts that generate files. One script generate one file.

Generator would be organised in a tree (exactly like templates). For instance the script generator generator/var/lib/data.bin.sh would generated a file /var/lib/data.bin

@ggiamarchi ggiamarchi self-assigned this Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant