Merge remote-tracking branch 'xnox/fix-misisng-systemd-detect-virt' into ubuntu/master

raspi-settings-hack
Dimitri John Ledkov 4 years ago
commit 82aca610dc
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

@ -417,7 +417,9 @@ undivert_grub() {
--divert /etc/grub.d/30_os-prober.dpkg-divert \
--rename /etc/grub.d/30_os-prober
rm "$CHROOT_ROOT"/usr/bin/systemd-detect-virt
if grep -q "^exit 1$" "$CHROOT_ROOT"/usr/bin/systemd-detect-virt; then
rm "$CHROOT_ROOT"/usr/bin/systemd-detect-virt
fi
chroot "$CHROOT_ROOT" dpkg-divert --remove --local \
--rename /usr/bin/systemd-detect-virt
}

Loading…
Cancel
Save