cvs commit: src Makefile.inc1 src/etc Makefile

Matthew Dillon dillon at
Sun Jan 13 12:34:59 PST 2008

:Matthew Dillon wrote:
:>     Looks good, though I have a question:  Why install the file anywhere?
:>     Why not have make upgrade simply access the file directly from
:>     /usr/src/etc ?
:Hmm, the original idea was to ensure that the list of files fits the 
:most recently installed world (to not accidentally break things if 
:upgrade is run before installworld).
:Not sure if the 'installcheck' target is the best place to install the 
:file, tho.

    The /etc/.release idea was to store the release id of the last
    installworld and have make upgrade check it and bail if it isn't
    the latest release.

    I'd rather release info be stored in the more read-only-like /etc
    then a file list in the read-write /var/db.  /var/db gets messed around
    with by the boot code, it's not a good place to store a semi-static
    file needed for upgrading.

					Matthew Dillon 
					<dillon at>

More information about the Commits mailing list