Re: Read-only /usr/obj/ no longer kosher?

From: Xin Li <delphij_at_delphij.net>
Date: Sun, 23 Aug 2015 15:29:01 -0700
On 8/23/15 14:55, Pawel Jakub Dawidek wrote:
> I used to build world and kernel on one machine and export both /usr/src/ and
> /usr/obj read-only to other machines. It doesn't work anymore (this is from
> 'make installworld'):
> 
> ===> bin/freebsd-version (install)
> eval $(egrep '^(TYPE|REVISION|BRANCH)=' /usr/src/bin/freebsd-version/../../sys/conf/newvers.sh) ;  if ! sed -e " s/_at__at_TYPE_at__at_/${TYPE}/g;  s/_at__at_REVISION_at__at_/${REVISION}/g;  s/_at__at_BRANCH_at__at_/${BRANCH}/g;  " /usr/src/bin/freebsd-version/freebsd-version.sh.in >freebsd-version.sh ; then  rm -f freebsd-version.sh ;  exit 1 ;  fi
> cannot create freebsd-version.sh: Permission denied
> rm: freebsd-version.sh: Read-only file system
> *** Error code 1

What's the modification times of
/usr/obj/usr/bin/freebsd-version/freebsd-version.sh,
/usr/src/bin/freebsd-version/freebsd-version.sh and
/usr/src/sys/conf/newvers.sh?

Cheers,


Received on Sun Aug 23 2015 - 20:29:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC