From f3cb0541542b6e8682fca4b7a1f514dc06efc397 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 9 Jun 2023 17:44:17 +0200 Subject: [PATCH] Add header for index file Signed-off-by: Knut Ahlers --- Makefile | 3 ++- scripts/packages.hdr.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 scripts/packages.hdr.txt diff --git a/Makefile b/Makefile index 50e79f3..f86ed1f 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,8 @@ clear_database: rm -f $(REPO_DIR)/*.db* $(REPO_DIR)/*.files* 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 bash -euo pipefail -c 'for repo in $$(grep -v "^#" repo-urls); do script_level=1 ./scripts/update-repo.sh $${repo}; done' diff --git a/scripts/packages.hdr.txt b/scripts/packages.hdr.txt new file mode 100644 index 0000000..461e0af --- /dev/null +++ b/scripts/packages.hdr.txt @@ -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 # +### ### +