NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/52394: eval: cannot open /usr/src/etc/motd: no such file
The following reply was made to PR install/52394; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: install/52394: eval: cannot open /usr/src/etc/motd: no such file
Date: Tue, 11 Jul 2017 14:50:05 +0200
Good catch!
This only should happen if installing from source (i.e. sets should
provide the proper etc/motd file).
postinstall(8) has not been updated to varying motd sources depending
on beta/current/... state of the source.
Maybe if "${SRC_DIR}/etc/motd" does not exist, assume we have a full source
environment and proper tools available and do
cd "${SRC_DIR}/etc/" && ${MAKE} -v MOTD_SOURCE
to get the proper name?
Martin
Home |
Main Index |
Thread Index |
Old Index