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

Re: Moving default module/package lists out of kernel-wedge



On Thu, 2011-12-01 at 13:35 -0400, Joey Hess wrote:
> Ben Hutchings wrote:
[...]
> > I was considering changing kernel-wedge to support a KW_DEFCONFIG_DIR
> > variable, similar to the KW_CONFIG_DIR variable, that would affect where
> > all of these files are looked for.  The (untested) change is pretty
> > small:
> > 
> > diff --git a/README b/README
> > index 6bf5b87..df52199 100644
> > --- a/README
> > +++ b/README
> > @@ -84,7 +84,12 @@ Suppose we want a different set of modules in the speakup flavored kernel.
> >  Then create a modules/<arch>-<flavor>/nic-modules instead, it will be used
> >  by preference. One udeb will be created for each modules list file,
> >  containing the listed modules. The names of the files should match the
> > -names of the various modules listed in /usr/share/kernel-wedge/package-list.
> > +names of the various modules listed in the package-list file in the
> > +default-configuration directory.
> > +
> > +The default-configuration directory is either specified by the
> > +environment variable $KW_DEFCONFIG_DIR or else defaults to
> > +/usr/share/kernel-wedge.
> 
> I don't see why this is necessary. If
> /usr/share/kernel-wedge/package-list does not exist or is empty,
> kernel-wedge should still use the package-list file from the linux-2.6
> source package, and that's the right place to list all the module udebs.

There is no such thing as 'the package-list file'; there is one per
architecture.  That's why we also need to be able to specify where to
find the default package-list.

Ben.

-- 
Ben Hutchings
Reality is just a crutch for people who can't handle science fiction.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: