NetBSD Wiki/projects/project/
Unify standard installation tasks
- Contact: tech-pkg
- Mentors: Thomas Klausner
- Duration estimate: 3 months
IMPORTANT: This project was completed by Johnny C. Lam. You may still contact the people above for details, but please do not submit an application for this project.
Instead of including install scripts from the infrastructure into every binary package, just include the necessary information and split the scripts off into a separate package that is installed first (right after bootstrap, as soon as the first package needs it). This affects user creation, installation of tex packages, ...
Milestones:
- identify example packages installing users, groups, and documentation
- demonstrate pkgsrc packages which add users, etc
- Also add support for actions that happen once after a big upgrade session, instead of once per package (e.g. ls-lR rebuild for tex).
- convert some existing packages to use this new framework
- allow options framework to configure these resources per-package
An intermediate step would be to replace various remaining INSTALL scripts by declarative statements and install script snippets using them.
This was implemented via the new pkgtasks framework that can be enabled by
setting in mk.conf
:
_USE_NEW_PKGINSTALL= yes
Add a comment