mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix
This commit is contained in:
parent
6600d5c1a1
commit
9ed434ffef
@ -8,7 +8,7 @@ See [build-pkg/pkglist-AUR.txt](build-pkg/pkglist-AUR.txt) for a full list.
|
|||||||
They were added in the following manner:
|
They were added in the following manner:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
AUR_PKG=amdgpu-pro-installer
|
AUR_PKG=plib
|
||||||
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
|
# echo " ${AUR_PKG}" >> build-pkg/pkglist-AUR.txt
|
||||||
```
|
```
|
||||||
|
@ -9,10 +9,10 @@ FROM archlinux:base-devel
|
|||||||
# 2. Enable parallel downloads
|
# 2. Enable parallel downloads
|
||||||
# TODO: Wait until next baseimage update
|
# TODO: Wait until next baseimage update
|
||||||
# && sed --in-place 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' /etc/pacman.conf \
|
# && sed --in-place 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' /etc/pacman.conf \
|
||||||
# 3. Update mirrors + packages
|
# 3. Update mirrors + packages; install svn for makepkg to handle svn sources
|
||||||
RUN printf '\n[options]\nDisableDownloadTimeout\n' >> /etc/pacman.conf && \
|
RUN printf '\n[options]\nDisableDownloadTimeout\n' >> /etc/pacman.conf && \
|
||||||
printf '\n[de-p1st]\nSigLevel = Optional TrustAll\nServer = https://arch.p1st.de\n' >> /etc/pacman.conf && \
|
printf '\n[de-p1st]\nSigLevel = Optional TrustAll\nServer = https://arch.p1st.de\n' >> /etc/pacman.conf && \
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm && pacman -S --needed --noconfirm svn
|
||||||
|
|
||||||
# 1. Set packager
|
# 1. Set packager
|
||||||
# 2. Store built packages in /out/
|
# 2. Store built packages in /out/
|
||||||
|
@ -9,6 +9,9 @@ function main(){
|
|||||||
# Write-permission for user "build"
|
# Write-permission for user "build"
|
||||||
sudo chown "build:wheel" /out
|
sudo chown "build:wheel" /out
|
||||||
|
|
||||||
|
# Refresh mirrors, e.g. to fetch packages that were built in the previous build stage
|
||||||
|
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