Skip to content

Commit

Permalink
mkosi: work around jammy's debootstrap issue
Browse files Browse the repository at this point in the history
testing/sid is merged-usr via base-files now, so debootstrap fails.
Update the option on the fly.
  • Loading branch information
bluca committed Jul 3, 2024
1 parent c8cc84f commit 7ca567c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ jobs:
if: ${{ matrix.release == '9-stream' }}
run: sudo sed -i '/add_packages/s/systemd-boot/systemd/g' /usr/local/lib/python3.10/dist-packages/mkosi/__init__.py

# FIXME: temporary workaround for debootstrap issue of Debian testing/sid on Jammy
- name: Fix Debian testing/sid
if: ${{ matrix.distro == 'debian' && matrix.release == 'testing' }}
run: sudo sed -i 's/merged-usr/no-merged-usr/g' /usr/local/lib/python3.10/dist-packages/mkosi/__init__.py

- name: Install
run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2

Expand Down

0 comments on commit 7ca567c

Please sign in to comment.