Skip to content

Commit

Permalink
try-pipx
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaly Chikunov <[email protected]>
  • Loading branch information
vt-alt committed Aug 6, 2024
1 parent 40794c8 commit 8d11b53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mkosi-boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update
- run: sudo apt-get install -y debootstrap qemu-system-x86 systemd-container expect
- run: sudo apt-get install -y debootstrap qemu-system-x86 systemd-container expect pipx
- name: Install mkosi from git
# Native focal package seems to be too old (v5) and not even
# able to build images properly.
run: |
sudo python3 -m pip install git+https://github.com/systemd/mkosi.git
pipx install git+https://github.com/systemd/mkosi.git
sudo rm -f /dev/kvm
echo /usr/local/bin >> $GITHUB_PATH
echo ==$PATH==
echo $HOME/.local/bin >> $GITHUB_PATH
- name: Create bootable image using mkosi
run: sudo mkosi -r ${{ matrix.release }} --cache=mkosi.cache
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/mkosi-mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update
- run: sudo apt-get install -y debootstrap qemu-system-x86 systemd-container expect sysvbanner
- run: sudo apt-get install -y debootstrap qemu-system-x86 systemd-container expect sysvbanner pipx
- name: Install mkosi from git
# Native focal package seems to be too old (v5) and not even
# able to build images properly.
run: |
sudo python3 -m pip install git+https://github.com/systemd/mkosi.git
pipx install git+https://github.com/systemd/mkosi.git
sudo rm -f /dev/kvm
echo /usr/local/bin >> $GITHUB_PATH
echo ==$PATH==
echo $HOME/.local/bin >> $GITHUB_PATH
- name: Install debootstrap from Ubuntu git
run: |
Expand Down

0 comments on commit 8d11b53

Please sign in to comment.