[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sparc: binary cd 1 created with 0 bytes



On Fri, Apr 07, 2000 at 05:13:32PM -0400, Ben Collins wrote:
> On Fri, Apr 07, 2000 at 10:20:08PM +0200, J.A. Bezemer wrote:
> > 
> > On Fri, 7 Apr 2000, Ben Collins wrote:
> > 
> > > On Fri, Apr 07, 2000 at 09:20:34AM +0200, Andreas Jellinghaus wrote:
> > > > something is going wrong with the boot stuff.
> > > > 
> > > > any idea why debian-cd ignores this error and continues
> > > > with the rest ?
> > > 
> > > Because it doesn't check return codes, and it should. I'll submit a quick
> > > patch for it today, since the problem occurs because right now, sparc
> > > needs root to a) untar root.tar.gz (it contains some dev nodes and such)
> > > and b) to then create CD 1 (since the de nodes are masked to 077 to make
> > > it not create a temporary security problem on the system it is building
> > > on).
> > 
> > Hmm. If only devices are the problem, fakeroot(1) should do the trick.
> 
> Interesting. I never knew fakeroot could handle that. Question now is,
> will mkhybrid grok it when also executed under fakeroot..../me goes to
> test

And the answer is yes! Means that the entire build (well atleast the boot
and the mkhybrid command) will need to be done under fakeroot.

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`     bcollins@debian.org  --  bcollins@openldap.org  --  bmc@visi.net     '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Reply to: