Skip to content

Commit c68bef3

Browse files
committed
build: ensure arch based build always works.
1 parent 6d7996a commit c68bef3

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ build() {
3030
export CGO_CXXFLAGS="${CXXFLAGS}"
3131
export CGO_LDFLAGS="${LDFLAGS}"
3232
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
33-
make
33+
make DISTRIBUTION=arch
3434
}
3535

3636
package() {

docs/install.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,9 @@ cd apparmor.d-git
4343
makepkg -si
4444
```
4545

46-
!!! note
47-
48-
If your Archlinux based distribution is not recognized, force it with:
49-
```sh
50-
DISTRIBUTION=arch makepkg -si
51-
```
52-
53-
5446

5547
## :material-ubuntu: Ubuntu & :material-debian: Debian
5648

57-
5849
Build the package from sources:
5950
```sh
6051
sudo apt install apparmor-profiles build-essential config-package-dev debhelper golang-go rsync git

0 commit comments

Comments
 (0)