[opensuse] How create ARCHIVES.gz and INDEX.gz?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Till 42.2 at <http://download.opensuse.org/distribution/leap/42.2/repo/oss/> there were some interesting list of files: [ ] ARCHIVES.gz 09-Nov-2016 11:25 44M Details [ ] INDEX.gz 09-Nov-2016 11:25 361K Details [ ] ls-lR.gz 09-Nov-2016 11:25 438K Details It is obvious how ls-lR.gz was created. How about INDEX.gz and ARCHIVES.gz? INDEX.gz goes like this: ./ChangeLog ./content ./license.tar.gz ./gpg-pubkey-3dbdc284-53674dd4.asc ./gpg-pubkey-307e3d54-4be01a65.asc ./docu/RELEASE-NOTES.zh_TW.txt ./docu/RELEASE-NOTES.zh_TW.rtf ./docu/RELEASE-NOTES.uk.txt ./docu/RELEASE-NOTES.uk.rtf ... But ARCHIVES.gz is more complex, it looks inside: - --------------------------------------------------------------------- - --------------------------------------------------------------------- - --------------- Here comes contents of all files: ------------------- - ------ *.rpm *.tar.gz *.tar.Z *.tgz *.taz *.tar.z *.tar *.deb ------- - ------------------ found in any subdirectory ------------------------ - --------------------------------------------------------------------- - --------------------------------------------------------------------- - ----------------------------------------------------------------- - ---> ./boot/x86_64/yast2-trans-zu.rpm - ----------------------------------------------------------------- ./boot/x86_64/yast2-trans-zu.rpm: Name : yast2-trans-zu ./boot/x86_64/yast2-trans-zu.rpm: Version : 84.87.20161108.95adeff ./boot/x86_64/yast2-trans-zu.rpm: Release : 1.1 ./boot/x86_64/yast2-trans-zu.rpm: Architecture: noarch ./boot/x86_64/yast2-trans-zu.rpm: Install Date: (not installed) ./boot/x86_64/yast2-trans-zu.rpm: Group : System/YaST ./boot/x86_64/yast2-trans-zu.rpm: Size : 778570 Thats rpm -ql of every rpm. It must be a script. Is that script available? I have a disk with a mirror copy and I want to create an ARCHIVES.gz and INDEX.gz of it. By the way, ARCHIVES.gz for 42.3 non-oss is missing. I found <https://tr.opensuse.org/CD_creation> but doesn't say. - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlsarzoACgkQtTMYHG2NR9Vf/QCfXuY8S3OyM4NVLs0ObKTLdmzO es8An2ZEX+PARAeKPkZ9L/+3mUUhilvF =13Zc -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-06-08 18:30, Carlos E. R. wrote:
INDEX.gz goes like this:
./ChangeLog ./content ./license.tar.gz ./gpg-pubkey-3dbdc284-53674dd4.asc ./gpg-pubkey-307e3d54-4be01a65.asc ./docu/RELEASE-NOTES.zh_TW.txt ./docu/RELEASE-NOTES.zh_TW.rtf ./docu/RELEASE-NOTES.uk.txt ./docu/RELEASE-NOTES.uk.rtf ...
This one seems: tree -afi -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
08.06.2018 19:30, Carlos E. R. пишет:
But ARCHIVES.gz is more complex, it looks inside:
...
Thats rpm -ql of every rpm. It must be a script. Is that script available?
https://github.com/openSUSE/inst-source-utils/blob/master/usr/bin/mk_listing...
On 2018-06-08 19:11, Andrei Borzenkov wrote:
08.06.2018 19:30, Carlos E. R. пишет:
But ARCHIVES.gz is more complex, it looks inside:
...
Thats rpm -ql of every rpm. It must be a script. Is that script available?
https://github.com/openSUSE/inst-source-utils/blob/master/usr/bin/mk_listing...
Thanks :-)) -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (2)
-
Andrei Borzenkov
-
Carlos E. R.