mirror of
https://github.com/openwall/lkrg.git
synced 2023-12-13 21:30:29 +01:00
CI: mkosi-mainline: Workaround 'dpkg: error: dpkg frontend lock'
Mkosi's own dracut hook, which is triggered from `dpkg -i`, calls `dpkg-reconfigure` causing dpkg frontend lock conflict. But `initrd.img` is generated correctly. Workaround by ignoring `dpkg-reconfigure` errors in the hook. dpkg: error: dpkg frontend lock was locked by another process with pid 5 Note: removing the lock file is always wrong, can damage the locked area and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>. run-parts: /etc/kernel/postinst.d/zz-systemd-boot exited with return code 2 Link: https://github.com/lkrg-org/lkrg/issues/283 Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
This commit is contained in:
parent
55d28c9f23
commit
47191f9b29
1 changed files with 1 additions and 0 deletions
1
.github/workflows/mkosi-mainline.yml
vendored
1
.github/workflows/mkosi-mainline.yml
vendored
|
@ -20,6 +20,7 @@ jobs:
|
|||
run: |
|
||||
sudo python3 -m pip install git+https://github.com/systemd/mkosi.git@v14
|
||||
sudo sed -i 's/linux-generic/linux-virtual/' /usr/local/lib/python*/dist-packages/mkosi/__init__.py
|
||||
sudo sed -i 's/dpkg-reconfigure dracut/&||:/' /usr/local/lib/python*/dist-packages/mkosi/resources/dpkg-reconfigure-dracut.install
|
||||
sudo rm -f /dev/kvm
|
||||
echo /usr/local/bin >> $GITHUB_PATH
|
||||
|
||||
|
|
Loading…
Reference in a new issue