Michael Scherer <[EMAIL PROTECTED]> writes:
> On Thursday 17 July 2003 11:45, Han Boetes wrote:
> > Michael Scherer <[EMAIL PROTECTED]> wrote:
> > > Not to add the good old old '/usr/ mounted via NFS' setup.
> > >
> > > Each package in / should not depend on /usr.
> > >
> > > Guess a test should be added in rpmlint or distlint. But i don't
> > > see how to do it, since ldd resolve the dependancy at runtime.
> >
> > Sounds like a tight plan.
> >
> > > Maybe checking that a each package owning a binary in /bin should
> > > only depend on /lib, and so on ?
> >
> > for i in /bin/* /sbin/* ;do echo $i; ldd $i|grep usr;done
>
> yes, and just add :
>
> for i in ` ( urpmf '/bin/' | grep ':/bin/' ;urpmf '/sbin/' | grep
> ':/sbin/' ; ) | awk -F : '{print $1}' | uniq `; do urpmi $i ; done;
for i in `urpmf ':/bin/' -o ':/sbin/' | awk -F ...
doesn't run ?
Fran�ois.