Skip to content

Commit

Permalink
Bump debian, upgrade os, support future pam
Browse files Browse the repository at this point in the history
  • Loading branch information
xenago committed Sep 6, 2022
1 parent 4730628 commit b573fde
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: build and release
runs-on: ubuntu-20.04 # Build on Debian-based distro
container:
image: debian:11.3
image: debian:11.4
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -20,22 +20,23 @@ jobs:
echo "deb-src http://deb.debian.org/debian-security/ bullseye-security main" >> /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian bullseye-updates main" >> /etc/apt/sources.list
apt update
apt upgrade -y
apt install dpkg-dev -y
mkdir pam_build
chown _apt:root pam_build
cd pam_build
apt source pam
apt build-dep pam -y
cd pam-1.4.0
cd pam-*
- name: Patch
run: |
cd pam_build/pam-1.4.0
cd pam_build/pam-*
sed -i "s/PAM_MAX_RESP_SIZE 512/PAM_MAX_RESP_SIZE 4096/g" libpam/include/security/_pam_types.h
- name: Build
run: |
cd pam_build/pam-1.4.0
cd pam_build/pam-*
dpkg-buildpackage -rfakeroot -b -uc -us
- name: Generate release tag
Expand Down

0 comments on commit b573fde

Please sign in to comment.