update README.md

This commit is contained in:
Daniel Langbein 2021-07-01 12:42:16 +02:00
parent 3527fd610f
commit dd3a64de87
12 changed files with 29 additions and 19 deletions

View File

@ -2,17 +2,14 @@
## Submodules - Initialization and Updating
There are several AUR packages added as submodules inside [pkg](pkg).
There are several [AUR](https://aur.archlinux.org/) packages added as submodules inside [pkg](pkg).
See [build-pkg/pkglist-AUR.txt](build-pkg/pkglist-AUR.txt) for a full list.
They were added in the following manner:
```shell
AUR=(xorg-meta riseup-vpn nordic-kde-git ...)
for pkg in "${AUR[@]}"; do
git submodule add "https://aur.archlinux.org/${pkg}.git" pkg/"${pkg}"
done
AUR_PKG=xorg-meta
git submodule add "https://aur.archlinux.org/${AUR_PKG}.git" pkg/"${AUR_PKG}"
```
To initialize the submodules, run
@ -25,10 +22,9 @@ To update all submodules and add those who received an update to
[build-pkg/pkglist.tmp](build-pkg/pkglist.tmp), run
```shell
git submodule foreach 'if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
./git-pull
```
## Build packages from source
Fork this repository.
@ -44,8 +40,7 @@ Then and adjust the following files:
Build [de-p1st-repo](pkg/de-p1st-repo):
```shell
cd build-pkg
sudo docker-compose run --rm makepkg de-p1st-repo
sudo docker-compose -f build-pkg/docker-compose.yml run --rm makepkg de-p1st-repo
```
Install it on your build-machine and your mirror-server:
@ -60,9 +55,14 @@ sudo pacman -U out/de-p1st-repo*.pkg.tar.*
Then you can start building all packages and adding them to your mirror-server:
```shell
./build-all.sh
./build-pkg/build-all
```
## Build outdated AUR packages
```shell
./build-pkg/pull-and-build-outdated
```
## Install Arch Linux
@ -71,4 +71,4 @@ See [pkg/de-p1st-installer/README.md](pkg/de-p1st-installer/README.md)
## Notes and TODOs
See [notes.md](notes.md)
See [notes.md](notes.md)

View File

@ -2,6 +2,7 @@
echo "Please consider using ./build-all.sh instead. This script is outdated."
function build-with-aurutils() {
aur build -c
}

View File

@ -0,0 +1,5 @@
#!/bin/bash
../git-pull || exit $?
./build-all pkglist.tmp || exit $?
rm pkglist.tmp

4
git-pull Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
git pull || exit $?
git submodule foreach 'if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'

@ -1 +1 @@
Subproject commit 88b7549c433a7a2fbc9c6a3a17387f76e0e7bf98
Subproject commit cde6f0683a9af9011f68e232f6f1cadf97ff8897

@ -1 +1 @@
Subproject commit 8ba41d7f37c4eaf756da834ef8560b07f36020f9
Subproject commit 00dce7e1c33439e78bbdc751efe0dfcfacd8570d

@ -1 +1 @@
Subproject commit 2a3babdd387bc3c187b21718428859134fc03e70
Subproject commit e092ee7eb5e8cf496256c70177bd6c07f2a059c0

@ -1 +1 @@
Subproject commit 2a5cca3011d570a631271735d24d8c3939fa00b1
Subproject commit 665a46d9cebf40d563b9cf090a42f2d0083a86cd

@ -1 +1 @@
Subproject commit 4d6600b719ff69ca4715445853f37cd5a2a9d859
Subproject commit db2e1e91fca61cd3258c45bfa38e361624a76a94

@ -1 +1 @@
Subproject commit 88d820ceb7b8029761842ef03000fa76a704f5c8
Subproject commit 5d064a8d97669174898f21764bd738285fd340b2

@ -1 +1 @@
Subproject commit 3779bcb7ad101ed8b9bebff0f14b4500ab17443a
Subproject commit 760c9b944464f4a8d4a9d013650a9ad24f95cf73