mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5148] [MERGED] ci: print version after install & fix apparmor support on build_apparmor #5381
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5381
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5148
Author: @kmk3
Created: 5/17/2022
Status: ✅ Merged
Merged: 5/18/2022
Merged by: @kmk3
Base:
master← Head:ci-fix-build-apparmor📝 Commits (3)
6a89ab0ci: run firejail --version after build/install428e068gitlab-ci: check for apparmor support on build_apparmor1f671abgitlab-ci: actually link libapparmor on build_apparmor📊 Changes
3 files changed (+14 additions, -1 deletions)
View changed files
📝
.github/workflows/build-extra.yml(+4 -0)📝
.github/workflows/build.yml(+2 -0)📝
.gitlab-ci.yml(+8 -1)📄 Description
The "build_apparmor" job was added on commit
342e71cd8("Adddeb-apparmor build to Gitlab CI", 2019-01-26). It would call
./mkdeb-apparmor.sh, which would run./configure --enable-apparmordirectly, adding
-lapparmortoEXTRA_LDFLAGSand thus passing it tothe linker.
Later, commit
87e7b3139("Configure Debian package with AA and SELinuxoptions", 2020-05-13) / PR #3414 merged mkdeb.sh and mkdeb-apparmor.sh
into mkdeb.sh.in, which does not always pass
--enable-apparmorto./configure directly. Instead, it adds
--enable-apparmordepending onwhether the
$HAVE_APPARMORenvironment variable is set, which would bedone by a previous run of ./configure with
--enable-apparmor. Sinceon "build_apparmor" ./configure is not run the first time with
--enable-apparmor, neither is it on the second time and thus-lapparmoris never passed to the linker. This commit adds--enable-apparmorto the first ./configure run on the ci job, so thatit gets passed to the one being executed on mkdeb.sh as well.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.