Pierre Labastie wrote:
On 10/11/2015 18:53, Bruce Dubbs wrote:
Pierre Labastie wrote:

Remember when I told I had a version comparison template in xsl language I
was not proud about? It is implemented for that, and up to know (2-year
testing), it has been working OK, although it looks like a piece of junk.
The dependency generator checks whether a package is already installed
(and then does not list it in the deps, unless there is a newer version
available in the book source).

Shouldn't that be in the BLFS stylesheets?  If it's there, I don't see it.  I
suggest you commit it and let me take a look.


It is in jhalfs trunk in BLFS/xsl (file dependencies.xsl). It is not usable
alone, though. You need a file "packages.xml" as source, and a file
$TRACKING_DIR/instpkg.xml for recording installed packages. there is a small
dtd (packdesc.dtd) for those 2 files. Excerpt of packages.xml:
   <list id="postlfs">
     <name>Post LFS Configuration and Extra Software</name>
     <sublist id="postlfs-config">
       <name>After LFS Configuration Issues</name>
       <package>
         <name>lsb-release</name>
         <version>1.4</version>
       </package>
     </sublist>
     <sublist id="postlfs-security">
       <name>Security</name>
       <package>
         <name>consolekit</name>
         <version>1.0.0</version>
         <dependency status="required" name="dbus-glib" type="ref"/>
         <dependency status="required" name="xtrans" type="ref"/>
<!--other X libraries -->
         <dependency status="recommended" name="linux-pam" type="ref"/>
         <dependency status="recommended" name="polkit" type="ref"/>
         <dependency status="optional" name="xmlto" type="ref"/>
       </package>


Packages.xml is generated from the book using BLFS/xsl/gen_pkg_list.xsl

The whole system can be installed as explained in the fifth message of this
thread.

OK, I see those files. I'll try to take a look tomorrow.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to