mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
minor
This commit is contained in:
parent
783d622fe9
commit
6600d5c1a1
@ -10,6 +10,7 @@ They were added in the following manner:
|
|||||||
```shell
|
```shell
|
||||||
AUR_PKG=amdgpu-pro-installer
|
AUR_PKG=amdgpu-pro-installer
|
||||||
git submodule add "https://aur.archlinux.org/${AUR_PKG}.git" pkg/"${AUR_PKG}"
|
git submodule add "https://aur.archlinux.org/${AUR_PKG}.git" pkg/"${AUR_PKG}"
|
||||||
|
# echo " ${AUR_PKG}" >> build-pkg/pkglist-AUR.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
And can be removed with:
|
And can be removed with:
|
||||||
|
@ -26,6 +26,10 @@ function start-docker() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update-build-image() {
|
||||||
|
sudo docker-compose build --pull
|
||||||
|
}
|
||||||
|
|
||||||
function build-pkg() {
|
function build-pkg() {
|
||||||
# $1: package-name
|
# $1: package-name
|
||||||
# $2, $3, ...: makepkg-args
|
# $2, $3, ...: makepkg-args
|
||||||
@ -87,6 +91,8 @@ before continuing with the next line.";
|
|||||||
is-installed "docker-compose" || return $?
|
is-installed "docker-compose" || return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update-build-image || return $?
|
||||||
|
|
||||||
|
|
||||||
# Read content of PKGLIST file to an array
|
# Read content of PKGLIST file to an array
|
||||||
# For each line: build and push all space separated packages
|
# For each line: build and push all space separated packages
|
||||||
|
@ -9,10 +9,6 @@ function main(){
|
|||||||
# Write-permission for user "build"
|
# Write-permission for user "build"
|
||||||
sudo chown "build:wheel" /out
|
sudo chown "build:wheel" /out
|
||||||
|
|
||||||
# Refresh mirrors
|
|
||||||
# TODO: Move this to the Dockerfile?
|
|
||||||
sudo pacman -Sy
|
|
||||||
|
|
||||||
PKG=/pkg/"${1}"
|
PKG=/pkg/"${1}"
|
||||||
shift; # remove first arg
|
shift; # remove first arg
|
||||||
echo "Looking for PKGBUILD in ${PKG} ..."
|
echo "Looking for PKGBUILD in ${PKG} ..."
|
||||||
|
Loading…
Reference in New Issue
Block a user