build: ensure just compatibility with ubuntu 24.04
This commit is contained in:
parent
cd15178c81
commit
2721cf6253
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
|
- name: Install linter dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -q
|
pipx install rust-just
|
||||||
sudo apt-get install -y just
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Run basic profile linter check
|
- name: Run basic profile linter check
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -37,7 +37,9 @@ jobs:
|
||||||
sudo apt-get update -q
|
sudo apt-get update -q
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
devscripts debhelper config-package-dev \
|
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
|
sudo rm /etc/apparmor.d/usr.lib.snapd.snap-confine.real
|
||||||
|
|
||||||
- name: Build the apparmor.d package
|
- name: Build the apparmor.d package
|
||||||
|
|
@ -100,7 +102,9 @@ jobs:
|
||||||
sudo apt-get update -q
|
sudo apt-get update -q
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
apparmor-profiles apparmor-utils \
|
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
|
- name: Install apparmor.d
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ preprocess-archlinux:
|
||||||
|
|
||||||
preprocess-debian:
|
preprocess-debian:
|
||||||
stage: preprocess
|
stage: preprocess
|
||||||
image: debian
|
image: debian:trixie
|
||||||
dependencies:
|
dependencies:
|
||||||
- debian
|
- debian
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ The following desktop environments are supported:
|
||||||
**Build dependency**
|
**Build dependency**
|
||||||
|
|
||||||
* Go >= 1.23
|
* Go >= 1.23
|
||||||
* [just](https://github.com/casey/just)
|
* [just](https://github.com/casey/just) >= 1.40.0
|
||||||
|
|
||||||
|
|
||||||
## Configure AppArmor
|
## Configure AppArmor
|
||||||
|
|
@ -88,6 +88,15 @@ echo 'Optimize=compress-fast' | sudo tee -a /etc/apparmor/parser.conf
|
||||||
just dpkg
|
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
|
!!! warning
|
||||||
|
|
||||||
**Beware**: do not install a `.deb` made for Debian on Ubuntu as the packages are different.
|
**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