mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
build: minor fixes.
This commit is contained in:
parent
8686cc458f
commit
d64ef39bd1
@ -22,7 +22,7 @@ main() {
|
||||
dpkg)
|
||||
dch --newversion="$VERSION-1" --urgency=medium --distribution=stable --controlmaint "Release $VERSION-1"
|
||||
dpkg-buildpackage -b -d --no-sign
|
||||
mv ../"${PKGNAME}_${VERSION}-1"_*.deb "$OUTPUT"
|
||||
mv ../"${PKGNAME}_${VERSION}-1"_*.deb .
|
||||
;;
|
||||
|
||||
rpm)
|
||||
|
@ -79,7 +79,7 @@ build_in_docker_dpkg() {
|
||||
--env DEBIAN_FRONTEND=noninteractive --env DISTRIBUTION="$dist" \
|
||||
"$BASEIMAGE/$dist"
|
||||
docker exec "$img" sudo apt-get update -q
|
||||
docker exec "$img" sudo apt-get install -y config-package-dev rsync
|
||||
docker exec "$img" sudo apt-get install -y config-package-dev rsync
|
||||
[[ "$COMMAND" == debian ]] && aptopt=(-t bookworm-backports)
|
||||
docker exec "$img" sudo apt-get install -y "${aptopt[@]}" golang-go
|
||||
fi
|
||||
|
@ -13,7 +13,10 @@ DISTRIBUTION="$(_lsb_release)"
|
||||
cd "$HOME/Projects/apparmor.d"
|
||||
case "$DISTRIBUTION" in
|
||||
arch) make pkg ;;
|
||||
debian | ubuntu | whonix) make dpkg ;;
|
||||
debian | ubuntu | whonix)
|
||||
make dpkg
|
||||
sudo rm -rf debian/.debhelper/
|
||||
;;
|
||||
opensuse*) make rpm ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user