Skip to content

Commit

Permalink
CI:network-manager: CAP_CHOWN workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Feb 19, 2025
1 parent 3e8a5d2 commit e44fc66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/network-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ jobs:
- name: Run autopkgtest
run: |
pull-lp-source network-manager noble
sed -i 's|CAP_SYS_CHROOT|CAP_SYS_CHROOT CAP_CHOWN|' network-manager-*/data/NetworkManager.service.in # https://github.com/canonical/netplan/pull/529
sudo autopkgtest -U \
--copy=debian/artifacts:/root/ --setup-commands='dpkg -i /root/*.deb' \
--env=DEB_BUILD_OPTIONS=nocheck \
--apt-pocket=proposed=src:network-manager \
network-manager_*.dsc -- lxd autopkgtest/ubuntu/noble/amd64 || test $? -eq 2 # allow for skipped tests (exit code = 2)
network-manager-*/ -- lxd autopkgtest/ubuntu/noble/amd64 || test $? -eq 2 # allow for skipped tests (exit code = 2)

0 comments on commit e44fc66

Please sign in to comment.