You are not logged in.

#1 2015-12-07 15:54:37

robcat
Member
From: Fermo
Registered: 2009-02-21
Posts: 19

How to rebuild the pacman database?

I'm experimenting with IPFS and I need the IPFS-style hash to be included in the pacman database along with MD5SUMs and SHA256SUMs.
I'm trying to rebuild the pacman database tarballs (e.g. core.db.tar.gz) including the new hash (of course, I have already downloaded all the packages).

I suppose I can uncompress the database, append my hash at the end of "desc" and recompress it.

But there should be a stardard tool that produces the package database, can someone point me to it?

Offline

#2 2015-12-07 16:04:53

Awebb
Member
Registered: 2010-05-06
Posts: 6,272

Re: How to rebuild the pacman database?

repo-add is used to generate repository archives. I'm not sure it supports IPFS at the moment.

Online

#3 2015-12-07 16:24:20

robcat
Member
From: Fermo
Registered: 2009-02-21
Posts: 19

Re: How to rebuild the pacman database?

Awebb wrote:

repo-add is used to generate repository archives. I'm not sure it supports IPFS at the moment.

Thank you!
At this point it doesn't support it, but I plan to write a patch for it.
Once I figure out how to create and distribute the IPFS-enhanced database, other people will be able to just use it with the standard pacman.

Offline

Board footer

Powered by FluxBB