universalize!

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2021-03-06 07:06:47 +03:00
parent ca73f5eeaf
commit d42669565c
4 changed files with 5 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
FROM localhost/spark
RUN pacman -Suy --noconfirm base-devel git
RUN pacman -Suy --noconfirm base-devel
COPY locale.gen /etc/locale.gen
RUN locale-gen

View File

@@ -3,7 +3,6 @@
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export LC_ALL=en_US.UTF-8
export PKG_URL=$1
# Upgrade
pacman -Suy --noconfirm
@@ -18,4 +17,4 @@ printf '%s ALL=(ALL) NOPASSWD: /usr/bin/pacman\n' "$BUILDUSER" > /etc/sudoers.d/
cd /buildroot
# Build the damn thing
sudo -u "$BUILDUSER" GNUPGHOME="/.gnupg" makepkg -s --noconfirm -L
sudo -u "$BUILDUSER" GNUPGHOME="/.gnupg" makepkg "$@"