From: Simon McVittie Date: Fri, 23 Aug 2019 08:57:18 +0000 (+0100) Subject: d/ostree-boot.postinst: Trigger an update of the initramfs X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~124 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=784abb792c5c5f4dbddb1853f9ffd143a45f0a07;p=ostree.git d/ostree-boot.postinst: Trigger an update of the initramfs Otherwise the dracut initramfs won't be rebuilt to include ostree-boot. --- diff --git a/debian/changelog b/debian/changelog index fe67cc87..4073a0e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,14 +1,16 @@ ostree (2019.3-2) UNRELEASED; urgency=medium - [ Simon McVittie ] - * Switch packaging branch to debian/experimental - [ Felix Krull ] * Enable ostree-boot package (Closes: #824650) * ostree-boot: Weaken dracut Depends to Recommends. The systemd parts of the package could also be used for integration with e.g. initramfs-tools. + [ Simon McVittie ] + * Switch packaging branch to debian/experimental + * d/ostree-boot.postinst: Trigger an update of the initramfs. + Otherwise the dracut initramfs won't be rebuilt to include ostree-boot. + -- Simon McVittie Fri, 23 Aug 2019 09:03:04 +0100 ostree (2019.3-1) unstable; urgency=medium diff --git a/debian/ostree-boot.postinst b/debian/ostree-boot.postinst new file mode 100644 index 00000000..d3d7efc5 --- /dev/null +++ b/debian/ostree-boot.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +case "$1" in + (configure) + dpkg-trigger --no-await update-initramfs + ;; +esac + +#DEBHELPER#