Package: plymouth Version: 0.7.2-3 Severity: normal Tags: patch Hi, plymouth --ask-password ... currently doesn't work since the initramfs is lacking the pango/fontconfig files. Attached patch fixes this.
This allows one to use: plymouth ask-for-password --command="/sbin/cryptsetup luksOpen ..." so plymouth can also work with encrypted disks. For this to work out of the box we need proper support in the cryptfs package though. Cheers, -- Guido
>From 8125e4b2979a8165a6ae981cb956cc0eb2d4cb7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <a...@sigxcpu.org> Date: Sun, 21 Mar 2010 14:44:21 +0100 Subject: [PATCH] Add pango/fontconfig files so we can render text. This makes plymouth --ask-question work. --- debian/local/plymouth.hook | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/debian/local/plymouth.hook b/debian/local/plymouth.hook index 96ba2f1..8472860 100644 --- a/debian/local/plymouth.hook +++ b/debian/local/plymouth.hook @@ -50,3 +50,18 @@ cp -rL "${DEFAULT}" "${DESTDIR}/${THEMES}" cp -a "${THEMES}/details" "${DESTDIR}/${THEMES}" cp -a "${THEMES}/text" "${DESTDIR}/${THEMES}" cp /usr/share/plymouth/debian-logo.png "${DESTDIR}/usr/share/plymouth" + +# font rendering: +mkdir -p ${DESTDIR}/usr/share/fonts/truetype/ttf-dejavu/ +mkdir -p ${DESTDIR}/usr/lib/pango/1.6.0/modules/ +mkdir -p ${DESTDIR}/etc/fonts/conf.d/ +mkdir -p ${DESTDIR}/var/cache/fontconfig/ +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 /etc/fonts/fonts.conf ${DESTDIR}/etc/fonts/ +cp -rL /etc/fonts/conf.d/60-latin.conf ${DESTDIR}/etc/fonts/conf.d/ +copy_exec /usr/lib/pango/1.6.0/modules/pango-basic-fc.so +copy_exec /usr/lib/pango/1.6.0/module-files.d/libpango1.0-0.modules +copy_exec /usr/lib/libpango-1.0.so.0 +copy_exec /usr/lib/libpangoft2-1.0.so.0 +copy_exec /usr/lib/libpangocairo-1.0.so.0 -- 1.7.0