From ee46bc7bbddea0ec57b8d1c5ea7db605e599333b Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Fri, 6 Feb 2009 17:06:25 +0000 Subject: - Release 3.2.18 : - fix location of splashy themes --- Makefile | 2 +- scripts/make-boot-splash-raw | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6a7da33..14cb85b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME=bootsplash -VERSION := 3.2.17 +VERSION := 3.2.18 SUBDIRS=scripts fb fbmngplay fbtruetype splash po FILES=$(SUBDIRS) Makefile ChangeLog README diff --git a/scripts/make-boot-splash-raw b/scripts/make-boot-splash-raw index 9c201c0..eb99109 100755 --- a/scripts/make-boot-splash-raw +++ b/scripts/make-boot-splash-raw @@ -28,10 +28,10 @@ fi if `/bin/zcat $initrd_file 2> /dev/null | /bin/cpio -t &> /dev/null`; then tmp_dir=`mktemp -d` - /bin/zcat $initrd_file | cpio-filter --exclude 'bootsplash|etc/splashy' > $tmp_dir/initrd + /bin/zcat $initrd_file | cpio-filter --exclude 'bootsplash|etc/splashy|usr/share/splashy/themes' > $tmp_dir/initrd if [ -x /sbin/splashy ]; then (echo /etc/splashy/themes; /usr/sbin/splashy_find_files) \ - | perl -MFile::Basename -ne 'm,^/(etc/splashy/.*), and print $1 . "\n" . dirname($1) . "\n"' \ + | perl -MFile::Basename -ne 'm,^/(etc/splashy/.*|usr/share/splashy/themes/.*), and print $1 . "\n" . dirname($1) . "\n"' \ | sort -u | (cd / ; cpio -o -c -L --quiet -O $tmp_dir/initrd --append) elif [[ -x /sbin/splash ]]; then /sbin/splash -s -f $config > $tmp_dir/bootsplash @@ -48,7 +48,7 @@ else gzip -dc $initrd_file > $tmp_initrd mount -o loop $tmp_initrd $tmp_dir rm -rf $tmp_dir/etc/splashy - for f in `/usr/sbin/splashy_find_files | grep ^/etc/splashy`; do + for f in `/usr/sbin/splashy_find_files | egrep ^/etc/splashy\|/usr/share/splashy/themes`; do d=`dirname $f` mkdir -p $tmp_dir$d cp -aL $f $tmp_dir$d -- cgit v1.2.1