On Thu, 10 May 2018 11:53:37 +1200 Ben Caradoc-Davies <b...@transient.nz> wrote:
> Fixes:
> Bug#897572: getrandom hang in early boot prevents plymouth passphrase entry
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572
>
> Signed-off-by: Ben Caradoc-Davies <b...@transient.nz>
> ---
> debian/local/plymouth.hook | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/debian/local/plymouth.hook b/debian/local/plymouth.hook
> index fe44511..bde2d2c 100644
> --- a/debian/local/plymouth.hook
> +++ b/debian/local/plymouth.hook
> @@ -99,12 +99,16 @@ case "${THEME_NAME}" in
> mkdir -p "${DESTDIR}/usr/share/fonts/truetype/dejavu"
> cp -a /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/truetype/dejavu" > cp -a /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf "${DESTDIR}/usr/share/fonts/truetype/dejavu" > + cp -a /usr/share/fonts/truetype/dejavu/.uuid "${DESTDIR}/usr/share/fonts/truetype/dejavu"
> else
> # wheezy
> mkdir -p "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
> cp -a /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu" > cp -a /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu" > + cp -a /usr/share/fonts/truetype/ttf-dejavu/.uuid "${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu"
> fi
> + cp -a /usr/share/fonts/truetype/.uuid "${DESTDIR}/usr/share/fonts/truetype"
> + cp -a /usr/share/fonts/.uuid "${DESTDIR}/usr/share/fonts"
>
> # pango
> if ls /usr/lib/@DEB_HOST_MULTIARCH@/pango/1* > /dev/null 2>&1

Thanks for the patch.

I was more thinking about regenerating the cache with fc-cache in the initramfs (or using uuidgen to generate the .uuid files) instead of copying them from the live system, I'll try to figure that out.

Reply via email to