On Tue, Aug 25, 2015 at 11:04:37PM +0200, Pawel Jakub Dawidek wrote:
> On Sun, Aug 23, 2015 at 03:29:01PM -0700, Xin Li wrote:
> > 
> > 
> > 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/@@TYPE@@/${TYPE}/g;  s/@@REVISION@@/${REVISION}/g;  
> > > s/@@BRANCH@@/${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?
> 
> I saw it twice, but cannot reproduce it anymore. This is 10.2-RELEASE,
> I've send it to current@ by mistake. All in all my expectation is that
> we shouldn't modify obj/ during installworld.

Now that I think of it, it might have been that I did
buildworld/buildkernel before -p1. Then freebsd-update updated
newvers.sh and then I was trying to do installworld.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to