diff options
author | Christian Hesse <mail@eworm.de> | 2017-04-28 23:12:29 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-04-28 23:12:29 +0200 |
commit | 3f39d0e11b54d025d47eea298a08fc744d1b8974 (patch) | |
tree | e3b9fc4fa5e625dc31449280e668a36d1286a99d | |
parent | fb49e5fdd62e4aec03bbf24a677e7bb6dcddc5ca (diff) | |
download | pacredir-3f39d0e11b54d025d47eea298a08fc744d1b8974.tar.gz pacredir-3f39d0e11b54d025d47eea298a08fc744d1b8974.tar.zst |
rename files to 'pacredir'
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | initcpio/hooks/pacredir (renamed from initcpio/hooks/paccache) | 0 | ||||
-rw-r--r-- | initcpio/install/paccache | 9 | ||||
-rw-r--r-- | initcpio/install/pacredir | 11 | ||||
-rw-r--r-- | pacman/pacredir (renamed from pacman/paccache) | 0 |
6 files changed, 15 insertions, 13 deletions
@@ -54,14 +54,14 @@ install-bin: pacredir $(LN) -s darkhttpd $(DESTDIR)$(PREFIX)/bin/pacserve $(LN) -s darkhttpd $(DESTDIR)$(PREFIX)/bin/pacdbserve $(INSTALL) -D -m0644 pacredir.conf $(DESTDIR)/etc/pacredir.conf - $(INSTALL) -D -m0644 pacman/paccache $(DESTDIR)/etc/pacman.d/paccache + $(INSTALL) -D -m0644 pacman/pacredir $(DESTDIR)/etc/pacman.d/pacredir $(INSTALL) -D -m0644 avahi/pacserve.service $(DESTDIR)/etc/avahi/services/pacserve.service $(INSTALL) -D -m0644 avahi/pacdbserve.service $(DESTDIR)/etc/avahi/services/pacdbserve.service $(INSTALL) -D -m0644 systemd/pacdbserve.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacdbserve.service $(INSTALL) -D -m0644 systemd/pacredir.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacredir.service $(INSTALL) -D -m0644 systemd/pacserve.service $(DESTDIR)$(PREFIX)/lib/systemd/system/pacserve.service - $(INSTALL) -D -m0644 initcpio/hooks/paccache $(DESTDIR)$(PREFIX)/lib/initcpio/hooks/paccache - $(INSTALL) -D -m0644 initcpio/install/paccache $(DESTDIR)$(PREFIX)/lib/initcpio/install/paccache + $(INSTALL) -D -m0644 initcpio/hooks/pacredir $(DESTDIR)$(PREFIX)/lib/initcpio/hooks/pacredir + $(INSTALL) -D -m0644 initcpio/install/pacredir $(DESTDIR)$(PREFIX)/lib/initcpio/install/pacredir $(INSTALL) -D -m0644 dhcpcd/80-pacredir $(DESTDIR)$(PREFIX)/lib/dhcpcd/dhcpcd-hooks/80-pacredir $(INSTALL) -D -m0755 networkmanager/80-pacredir $(DESTDIR)/etc/NetworkManager/dispatcher.d/80-pacredir @@ -55,7 +55,7 @@ works. Then enable systemd services `pacserve`, `pacdbserve` and `pacredir`, open TCP ports 7078 and 7079 and add the following line to your repository definitions in `pacman.conf`: -> Include = /etc/pacman.d/paccache +> Include = /etc/pacman.d/pacredir Do not worry if `pacman` reports: diff --git a/initcpio/hooks/paccache b/initcpio/hooks/pacredir index 5f8d560..5f8d560 100644 --- a/initcpio/hooks/paccache +++ b/initcpio/hooks/pacredir diff --git a/initcpio/install/paccache b/initcpio/install/paccache deleted file mode 100644 index 1cb06a4..0000000 --- a/initcpio/install/paccache +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -build() { - add_runscript -} - -help() { - echo "This hook adds Server to pacredir.conf from inside initramfs." -} diff --git a/initcpio/install/pacredir b/initcpio/install/pacredir new file mode 100644 index 0000000..f9663af --- /dev/null +++ b/initcpio/install/pacredir @@ -0,0 +1,11 @@ +#!/bin/sh + +build() { + add_runscript +} + +help() { + echo 'This hook adds servers to pacredir.conf from inside initramfs.' + echo 'Useless for installed systems, but can be handy with' + echo 'no-persistent configurations.' +} diff --git a/pacman/paccache b/pacman/pacredir index a1de680..a1de680 100644 --- a/pacman/paccache +++ b/pacman/pacredir |