Re: Staging and /var
- In reply to: Stephen Roznowski : "Staging and /var"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Dec 2022 19:12:53 UTC
> On 27 Dec 2022, at 18:54, Stephen Roznowski <sjrbulk@verizon.net> wrote: > > I'm in the process of creating a new port that requires the installation of some files in /var. > > I notice that the file /usr/ports/Templates/BSD.local.dist doesn't have any of the /var tree in it, is there a particular reason why that is missing? (I could see where a small subset of /var would be useful to autocreate in the stage directory.) > > I realize that I can just do: > > pre-install: > > @${MKDIR} ${STAGEDIR}/var/xxx > > for the directories that I need. You really want to use pkg-plist for this. jaap