Moderators, translator
455
edits
(fixed prompts) |
(amend pkg extension to .zst) |
||
Line 72: | Line 72: | ||
/var/cache/manjaro-tools/pkg/stable/x86_64 | /var/cache/manjaro-tools/pkg/stable/x86_64 | ||
You should see compressed package files. The file name should end with <code>.pkg.tar. | You should see compressed package files. The file name should end with <code>.pkg.tar.zst</code>. | ||
Copy or move your package files to your online repository: | Copy or move your package files to your online repository: | ||
Line 80: | Line 80: | ||
==Build a .db file== | ==Build a .db file== | ||
To keep track of available packages the ''pacman'' package manager uses database files which is downloaded and kept on your computer. You need to create such a database file for your repo. It is crucial that your database filename is the same as your repo name. If your repo is named '''online-repo''' then your database name must be '''online-repo.db.tar.gz'''. | To keep track of available packages the ''pacman'' package manager uses database files which is downloaded and kept on your computer. You need to create such a database file for your repo. It is crucial that your database filename is the same as your repo name. If your repo is named '''online-repo''' then your database name must be '''online-repo.db.tar.gz'''. | ||
Use the command <code>repo-add</code> to build a database file | Use the command <code>repo-add</code> to build a database file | ||
Line 87: | Line 87: | ||
~/online-repo/x86_64 $ repo-add online-repo.db.tar.gz *.pkg.tar.* | ~/online-repo/x86_64 $ repo-add online-repo.db.tar.gz *.pkg.tar.* | ||
~/online-repo/x86_64 $ ls | ~/online-repo/x86_64 $ ls | ||
kickshaw-0.5-2-x86_64.pkg.tar. | kickshaw-0.5-2-x86_64.pkg.tar.zst online-repo.db online-repo.db.tar.gz online-repo.files online-repo.files.tar.gz | ||
Every time you change the content of your online repository, the database must be rebuild! Otherwise, ''buildiso'' will complain later about missing packages in your online repository. | Every time you change the content of your online repository, the database must be rebuild! Otherwise, ''buildiso'' will complain later about missing packages in your online repository. |