mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add readme to repo manager
This commit is contained in:
parent
d07bd3a603
commit
2564c833e2
32
pkg/de-p1st-repo/README.md
Normal file
32
pkg/de-p1st-repo/README.md
Normal file
@ -0,0 +1,32 @@
|
||||
# arch-repo manager
|
||||
|
||||
## setup
|
||||
|
||||
Install `de-p1st-repo` on your local machine as well as on
|
||||
a remote server.
|
||||
|
||||
Adjust `/etc/de-p1st-repo/*.conf` according to your needs.
|
||||
|
||||
Run a webserver on the server to serve static content:
|
||||
|
||||
* https://hub.docker.com/_/nginx/ -> Hosting some simple static content
|
||||
* `sudo docker run --name arch-repo -v /mnt/data/live/arch-repo:/usr/share/nginx/html:ro -d nginx`
|
||||
|
||||
Add the newly created mirror to your `/etc/pacman.conf`:
|
||||
|
||||
```
|
||||
[de-p1st]
|
||||
SigLevel = Optional TrustAll
|
||||
Server = https://arch.p1st.de
|
||||
```
|
||||
|
||||
## normal usage
|
||||
|
||||
1. Build packages on local machine
|
||||
|
||||
* `aur sync -c SOME_AUR_PACKAGE`
|
||||
* `aur sync -c -u`
|
||||
|
||||
2. Push new packages to remote repository
|
||||
|
||||
* `arch-repo-push-new`
|
Loading…
Reference in New Issue
Block a user