mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Work around Ubuntu 24.04 bubblewrap bug
This commit is contained in:
parent
302bd4c3db
commit
9237fa6fbc
3 changed files with 379 additions and 0 deletions
13
.github/workflows/bwrap.apparmor
vendored
Normal file
13
.github/workflows/bwrap.apparmor
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# SPDX-FileCopyrightText: 2024 Russell Coker <russell@coker.com.au>
|
||||
# SPDX-License-Identifier: CC-BY-NC-SA-3.0
|
||||
# source: https://etbe.coker.com.au/2024/04/24/ubuntu-24-04-bubblewrap/
|
||||
|
||||
abi <abi/4.0>,
|
||||
include <tunables/global>
|
||||
|
||||
profile bwrap /usr/bin/bwrap flags=(unconfined) {
|
||||
userns,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/bwrap>
|
||||
}
|
||||
6
.github/workflows/bwrap.yml
vendored
6
.github/workflows/bwrap.yml
vendored
|
|
@ -25,6 +25,8 @@ jobs:
|
|||
# There is a strange bug(?) in nongnu, when you clone a git repository
|
||||
# against a commit != HEAD with depth=1, it errors out.
|
||||
fetch-depth: 0
|
||||
- name: Work around Ubuntu 24.04 bubblewrap bug
|
||||
run: sudo cp .github/workflows/bwrap.apparmor /etc/apparmor.d/bwrap && sudo systemctl reload apparmor
|
||||
- name: Query cache for sources
|
||||
id: cache
|
||||
uses: actions/cache/restore@v4
|
||||
|
|
@ -72,6 +74,8 @@ jobs:
|
|||
# There is a strange bug(?) in nongnu, when you clone a git repository
|
||||
# against a commit != HEAD with depth=1, it errors out.
|
||||
fetch-depth: 0
|
||||
- name: Work around Ubuntu 24.04 bubblewrap bug
|
||||
run: sudo cp .github/workflows/bwrap.apparmor /etc/apparmor.d/bwrap && sudo systemctl reload apparmor
|
||||
- name: Get pass1_image
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
|
@ -125,6 +129,8 @@ jobs:
|
|||
# There is a strange bug(?) in nongnu, when you clone a git repository
|
||||
# against a commit != HEAD with depth=1, it errors out.
|
||||
fetch-depth: 0
|
||||
- name: Work around Ubuntu 24.04 bubblewrap bug
|
||||
run: sudo cp .github/workflows/bwrap.apparmor /etc/apparmor.d/bwrap && sudo systemctl reload apparmor
|
||||
- name: Get pass2_image
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue