Re: replace bsdtar with python3 -m zipfile
Pierre Labastie ([email protected] via alfs-discuss Mailing List) <[email protected]> Tue, 21 Jul 2026 13:55:12 +0200
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format...
------------=_1784634921-1024790-4945
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Tue, 2026-07-21 at 15:14 +0800, Xi Ruoyao wrote:
> On Tue, 2026-07-21 at 08:56 +0200, Pierre Labastie wrote:
> > On Sun, 2026-07-19 at 03:02 +0800, Zhang Wen wrote:
> > > commit d458ad22ddbd91a8153eed18dc564b8a47793787 removes
> > > libarchives
> > > from DocBook package, as a result when building blfs tools with
> > > jhalfs
> > > DocBook is built before libarchives where the bsdtar command is
> > > installed.
> >=20
> > Good catch! I have to study the zipfile module, because we need a
> > listing of the files as well as the extraction.
>=20
> python3 -m zipfile -l ${filename} should work.
>=20
Yes it does, thanks. Testing now, but it takes more time because the
"base" system for blfs needs git, that needs llvm and rust!
I think I'll have to change my work path to not use git early...
Pierre
------------=_1784634921-1024790-4945
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
------------=_1784634921-1024790-4945--