Skip to content

Commit

Permalink
Bump to Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
valtzu committed Sep 23, 2024
1 parent 2f27789 commit 454bc30
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,11 @@ permissions:

jobs:
build-and-release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install mkosi dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
python3 python3-pip python-is-python3 python3-pyelftools python3-pefile pipx \
qemu-user-static binfmt-support bubblewrap dosfstools mtools uidmap debian-archive-keyring \
binutils-aarch64-linux-gnu jq rename
- name: Install mkosi
run: |
pipx ensurepath
pipx install git+https://github.com/systemd/[email protected]
- name: Setup mkosi
uses: systemd/[email protected]
- name: Setup mkosi cache
id: mkosi-cache
uses: actions/cache/restore@v4
Expand Down
6 changes: 5 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Vagrant.configure("2") do |config|
v.cpus = 2
end
config.vm.define "vagrant"
config.vm.box = "ubuntu/jammy64"
config.vm.box = "bento/ubuntu-24.04"
config.vm.provision:shell, privileged: false, reboot: true, inline: <<-SETUP
sudo apt-get update
sudo apt-get install -y --no-install-recommends python3 python3-pip python-is-python3 python3-pyelftools python3-pefile pipx \
Expand All @@ -22,4 +22,8 @@ Vagrant.configure("2") do |config|
pipx ensurepath
pipx install git+https://github.com/systemd/[email protected]
SETUP
config.vm.provision:shell, privileged: true, always: true, inline: <<-SETUP
sysctl --ignore --write kernel.apparmor_restrict_unprivileged_unconfined=0
sysctl --ignore --write kernel.apparmor_restrict_unprivileged_userns=0
SETUP
end

0 comments on commit 454bc30

Please sign in to comment.