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

Re: yaboot-installer needs additional files



On Wed, Jul 23, 2003 at 11:23:42AM +0200, Gaudenz Steinlin wrote:
> Hi 
> 
> Additionaly to the problems I just reporte via the BTS there is another
> problem in yaboot-installer. It calls yabootconfig and ybin which in
> turn needs several executables for correct operation. Namely these files
> are needed in the installer root:
> from yaboot: /usr/sbin/ofpath, /usr/sbin/mkofboot, /usr/lib/yaboot
> from hfsutils: /usr/bin/hmount, /usr/bin/humount, /usr/bin/hcopy,
> /usr/bin/hattrib, /usr/bin/hformat
> from debianutils: /bin/mktemp
> from powerpc-utils: /sbin/nvsetenv
> 
> I see 3 possible solutions:
> 
> 1. In yaboot-installer's postinst make symlinks to these files from the
> installer disk to the files in /target (they are all there). Rather
> hackish solution, but it works, I tested it.
> 2. call yabootconfig and ybin in a chroot environment. to make this work
> we need to also mount /proc inside the chroot (needed by yabootconfig
> and ybin). 

yabootconfig has a -t switch which will make it operate as if in a chroot.
Strangely, ybin does not; but yabootconfig runs mkofboot which does the
same thing.

-- 
Debian GNU/Linux Operating System
  By the People, For the People
Chris Tillman (a people instance)
   toff one at cox dot net



Reply to: