build: ensure just compatibility with ubuntu 24.04
This commit is contained in:
parent
42ba206c1c
commit
450baefb7f
3 changed files with 19 additions and 6 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ preprocess-archlinux:
|
|||
|
||||
preprocess-debian:
|
||||
stage: preprocess
|
||||
image: debian
|
||||
image: debian:trixie
|
||||
dependencies:
|
||||
- debian
|
||||
script:
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue