diff options
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index 5aad60f97d..24b4666ad7 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -62,3 +62,8 @@ if [ -n "$IMAGE_VERSION" ] ; then -e "\$aIMAGE_VERSION=$IMAGE_VERSION" \ /usr/lib/os-release fi + +# Install a default ignore preset on Debian until it is shipped by Debian itself. +if grep -q -e "ID=debian" -e "ID_LIKE=debian" /etc/os-release; then + echo "ignore *" >/usr/lib/systemd/system-preset/99-ignore.preset +fi |