Opened 7 years ago

Closed 5 years ago

#1713 closed enhancement (fixed)

Use sect1info tags to get tarball names and versions in LFS

Reported by: Pierre Labastie Owned by: Pierre Labastie
Priority: normal Milestone: 3.0
Component: jhalfs Version: SVN
Severity: normal Keywords:
Cc:

Description

Presently, tarball names and versions are guessed from the <?dbhtml?> processing instruction. Sect1info tags have a much more accurate information and should be used instead.

Change History (3)

comment:1 by Pierre Labastie, 5 years ago

Owner: changed from alfs-log@… to Pierre Labastie
Status: newassigned

comment:2 by Pierre Labastie, 5 years ago

It is slightly more complicated... The url and package names are taken from the adequate pages (chapter 3 for LFS, chapter 4 for HLFS, chapter materials/${ARCH}-chapter for CLFS), and put in respective files urls.lst and pkg_tarball_list.

On the other hand, scripts are generated with names taken from the <?dbhtml filename=""?> processing instructions. Then, when creating the Makefile, the name of the tarball has to be guessed from the script name. This is because unpacking and changing to the build directory is done in the Makefile. Things could be much simpler if unpacking and changing to the build directory were done in the scriptlet itself. Then the sect1info tags could be used when generating the scriptlet, and no guess would be needed...

But this entails some drastic change in Makefile generation. Note that those changes have to be done only in master.sh and lfs.xsl, since CLFS is not supposed to be touched by those changes, at least ATM.

comment:3 by Pierre Labastie, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r4090

Note: See TracTickets for help on using tickets.