summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-22 15:19:59 -0400
committerRay Strode <rstrode@redhat.com>2008-05-22 15:19:59 -0400
commit4335d4352eaa73fdaf40cdc97c9375cb5995cb9a (patch)
treeb1862f6cb226c70420284406cc80a5c734daba43 /scripts
parentc8a5e1d318b3eb86dd75574ddb585efe6d836b91 (diff)
downloadplymouth-4335d4352eaa73fdaf40cdc97c9375cb5995cb9a.tar.gz
plymouth-4335d4352eaa73fdaf40cdc97c9375cb5995cb9a.tar.xz
plymouth-4335d4352eaa73fdaf40cdc97c9375cb5995cb9a.zip
Add preliminary password support to fedora-fade-in
We should really move a lot of the duplicate code between the various splash plugins to the window code. We also need line editing support.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plymouth-update-initrd5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/plymouth-update-initrd b/scripts/plymouth-update-initrd
index 2615f54..e94ee88 100755
--- a/scripts/plymouth-update-initrd
+++ b/scripts/plymouth-update-initrd
@@ -31,7 +31,7 @@ TMPDIR="$(mktemp -d $PWD/initrd.XXXXXXXXXX)"
(cd $TMPDIR
zcat $INITRD | cpio --quiet -Hnewc -i --make-directories
sed -i -e 's@^#!\(.*\)@#!/bin/plymouthd \1\n@' init
- sed -i -e 's@setquiet@&\n/bin/plymouth --show-splash\n/bin/plymouth --ask-for-password@' init
+ sed -i -e 's@setquiet@&\n/bin/plymouth --show-splash\n/bin/plymouth --ask-for-password\n@' init
(cd $LIBDIR
DEPS=$(get_lib_deps ${LIBEXECDIR}/plymouth/plymouth ${LIBDIR}/plymouth/fedora-fade-in.so ${LIBDIR}/plymouth/text.so ${LIBDIR}/plymouth/details.so)
for dep in $DEPS; do
@@ -48,6 +48,9 @@ TMPDIR="$(mktemp -d $PWD/initrd.XXXXXXXXXX)"
install -m644 ${DATADIR}/pixmaps/fedora-logo.png ${TMPDIR}${DATADIR}/plymouth
install -m644 ${DATADIR}/plymouth/star.png ${TMPDIR}${DATADIR}/plymouth
+ install -m644 ${DATADIR}/plymouth/lock.png ${TMPDIR}${DATADIR}/plymouth
+ install -m644 ${DATADIR}/plymouth/entry.png ${TMPDIR}${DATADIR}/plymouth
+ install -m644 ${DATADIR}/plymouth/bullet.png ${TMPDIR}${DATADIR}/plymouth
mkdir -p ${TMPDIR}${LIBDIR}/plymouth
install -m755 ${LIBDIR}/plymouth/fedora-fade-in.so ${TMPDIR}${LIBDIR}/plymouth