build: ensure just compatibility with ubuntu 24.04

This commit is contained in:
Alexandre Pujol 2025-07-23 00:59:12 +02:00 committed by Alex
parent cd15178c81
commit 2721cf6253
3 changed files with 19 additions and 6 deletions

View file

@ -11,8 +11,8 @@ jobs:
- name: Install linter dependencies
run: |
sudo apt-get update -q
sudo apt-get install -y just
pipx install rust-just
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Run basic profile linter check
run: |
@ -37,7 +37,9 @@ jobs:
sudo apt-get update -q
sudo apt-get install -y \
devscripts debhelper config-package-dev \
auditd apparmor-profiles apparmor-utils just
auditd apparmor-profiles apparmor-utils
pipx install rust-just
echo "$HOME/.local/bin" >> $GITHUB_PATH
sudo rm /etc/apparmor.d/usr.lib.snapd.snap-confine.real
- name: Build the apparmor.d package
@ -100,7 +102,9 @@ jobs:
sudo apt-get update -q
sudo apt-get install -y \
apparmor-profiles apparmor-utils \
bats bats-support just
bats bats-support
pipx install rust-just
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install apparmor.d
run: |

View file

@ -146,7 +146,7 @@ preprocess-archlinux:
preprocess-debian:
stage: preprocess
image: debian
image: debian:trixie
dependencies:
- debian
script:

View file

@ -37,7 +37,7 @@ The following desktop environments are supported:
**Build dependency**
* Go >= 1.23
* [just](https://github.com/casey/just)
* [just](https://github.com/casey/just) >= 1.40.0
## Configure AppArmor
@ -88,6 +88,15 @@ echo 'Optimize=compress-fast' | sudo tee -a /etc/apparmor/parser.conf
just dpkg
```
!!! note
**Ubuntu 24.04 user will need to:**
Install [just](https://github.com/casey/just). E.g:
```sh
pipx install rust-just
```
!!! warning
**Beware**: do not install a `.deb` made for Debian on Ubuntu as the packages are different.