IBT-FMI / gebuilder

Gentoo System and Image Builder
GNU General Public License v3.0
11 stars 0 forks source link

Parametrise installation #33

Closed Doeme closed 4 years ago

Doeme commented 5 years ago

It would be neat to have the installed files parametrised, s.t. the scripts and buildroots can be installed into an arbitrary directory. Maybe a Makefile would be a neat way to do this, which preprocesses e.g. gebuild.m4 with the m4 macro expander.

TheChymera commented 5 years ago

That's a good idea, do you think this could be used to allow unprivileged users to create subsystems (also addressing this concern)?

Doeme commented 4 years ago

Even though we said we'd concentrate on other things, since the manpages will be generated during install time by looking at the docstrings in the scripts/**.sh, we will need a makefile anyways.

This has been added in https://github.com/IBT-FMI/gebuilder/commit/424d741ddd1637c8e15e53520a2d0f3e616c8c8d, hence I am closing this commit.

@TheChymera You will need to update your personal -9999.ebuild, look into the .gentoo-directory for guidance (you should probably just copy the file, minus the src_unpack and plus some inherit git-r3)