From c68bef3f16e731aa26a9902790eba7cb3c957003 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 8 Jul 2023 22:59:54 +0100 Subject: [PATCH] build: ensure arch based build always works. --- PKGBUILD | 2 +- docs/install.md | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 6d39f88e..5bac1483 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -30,7 +30,7 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - make + make DISTRIBUTION=arch } package() { diff --git a/docs/install.md b/docs/install.md index 9e99a519..aa03f591 100644 --- a/docs/install.md +++ b/docs/install.md @@ -43,18 +43,9 @@ cd apparmor.d-git makepkg -si ``` -!!! note - - If your Archlinux based distribution is not recognized, force it with: - ```sh - DISTRIBUTION=arch makepkg -si - ``` - - ## :material-ubuntu: Ubuntu & :material-debian: Debian - Build the package from sources: ```sh sudo apt install apparmor-profiles build-essential config-package-dev debhelper golang-go rsync git