mirror of
https://github.com/Luzifer/archrepo.git
synced 2024-11-10 02:20:02 +00:00
Add header for index file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3344dbf103
commit
f3cb054154
2 changed files with 28 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -48,7 +48,8 @@ clear_database:
|
||||||
rm -f $(REPO_DIR)/*.db* $(REPO_DIR)/*.files*
|
rm -f $(REPO_DIR)/*.db* $(REPO_DIR)/*.files*
|
||||||
|
|
||||||
list_packages:
|
list_packages:
|
||||||
tar -tf $(DATABASE) | grep -v '/desc' | sed -E 's/(.*)-([^-]+-[0-9]+)\//\1\t\2/' | sort | column -t >$(REPO_DIR)/packages.txt
|
cp ./scripts/packages.hdr.txt $(REPO_DIR)/packages.txt
|
||||||
|
tar -tf $(DATABASE) | grep -v '/desc' | sed -E 's/(.*)-([^-]+-[0-9]+)\//\1\t\2/' | sort | column -t >>$(REPO_DIR)/packages.txt
|
||||||
|
|
||||||
repo_update: check_tools load_ssh_key
|
repo_update: check_tools load_ssh_key
|
||||||
bash -euo pipefail -c 'for repo in $$(grep -v "^#" repo-urls); do script_level=1 ./scripts/update-repo.sh $${repo}; done'
|
bash -euo pipefail -c 'for repo in $$(grep -v "^#" repo-urls); do script_level=1 ./scripts/update-repo.sh $${repo}; done'
|
||||||
|
|
26
scripts/packages.hdr.txt
Normal file
26
scripts/packages.hdr.txt
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
### ###
|
||||||
|
# Luzifer.io - ArchRepo #
|
||||||
|
### ###
|
||||||
|
|
||||||
|
Pay attention: This is NOT an official Archlinux repository! You probably
|
||||||
|
should neither trust nor use the packages contained in this repository.
|
||||||
|
|
||||||
|
This is a private repo for my own systems to pull pre-built packages from,
|
||||||
|
therefore packages can and will vanish, get modified or added. Basically
|
||||||
|
don't rely on anything in here!
|
||||||
|
|
||||||
|
If you want to setup your own repository refer to these resources:
|
||||||
|
|
||||||
|
- https://wiki.archlinux.org/title/Category:Package_management
|
||||||
|
- https://github.com/Luzifer/archrepo
|
||||||
|
|
||||||
|
Copy & Paste usage:
|
||||||
|
|
||||||
|
[luzifer]
|
||||||
|
SigLevel = Required
|
||||||
|
Server = https://archrepo.hub.luzifer.io/$arch
|
||||||
|
|
||||||
|
### ###
|
||||||
|
# Packages #
|
||||||
|
### ###
|
||||||
|
|
Loading…
Reference in a new issue