Skip to content

Commit 042c43f

Browse files
committed
Fix Alpine and musl release builds
Alpine containers have no bash; remove global shell: bash default so each job uses its own shell (sh for Alpine, bash for others). Alpine abuild requires gzipped man pages and rejects files under /lib. Install systemd unit to /usr/lib/systemd/system and gzip the man page in the APKBUILD.
1 parent c82b665 commit 042c43f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ env:
2020
DEBIAN_FRONTEND: noninteractive
2121
RPMBUILD_TOPDIR: /tmp/rpmbuild
2222

23-
defaults:
24-
run:
25-
shell: bash
26-
2723
jobs:
2824
detect-versions:
2925
name: Detect distro versions

alpine/APKBUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ check() {
1818
}
1919

2020
package() {
21-
make install DESTDIR="$pkgdir" PREFIX=/usr UNITDIR=/lib/systemd/system
21+
make install DESTDIR="$pkgdir" PREFIX=/usr UNITDIR=/usr/lib/systemd/system
22+
gzip "$pkgdir"/usr/share/man/man8/thinproxy.8
2223
}

0 commit comments

Comments
 (0)