Re: build.sh ... install overwrites /etc

2014-10-25 Thread Alan Barrett

On Fri, 24 Oct 2014, John D. Baker wrote:

On Fri, 24 Oct 2014, John D. Baker wrote:

As a result, all the sets seem to be archives of the entire DESTDIR with
most files being zero-length, differing primarily by containing a non-
zero-length instance of their own ./etc/mtree/set.foo file.  They all
contain the files that should only be in the etc.tgz set.


The various set.foo files looked very close in size (as are all of the
set archives themselves).  All of the set.foo files differ from one
another only in which set.foo file has an entry in it and that some
otherwise identical entries differ only by the word optional at the
end.  They are otherwise line-by-line identical.


This is consequence of a bug in src/distrib/sets/join.awk revision 
1.5.  join.awk revision 1.6 reverts the problematic change, so if 
you have join.awk revision 1.4 or 1.6, then you should be OK, but 
if you have revision 1.5 then you will have this problem.


--apb (Alan Barrett)


Re: build.sh ... install overwrites /etc

2014-10-24 Thread John D. Baker
On Fri, 24 Oct 2014, John D. Baker wrote:

 As a result, all the sets seem to be archives of the entire DESTDIR with
 most files being zero-length, differing primarily by containing a non-
 zero-length instance of their own ./etc/mtree/set.foo file.  They all
 contain the files that should only be in the etc.tgz set.

The various set.foo files looked very close in size (as are all of the
set archives themselves).  All of the set.foo files differ from one
another only in which set.foo file has an entry in it and that some
otherwise identical entries differ only by the word optional at the
end.  They are otherwise line-by-line identical.

-- 
|/\ John D. Baker, KN5UKS   NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]comOpenBSDFreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645