diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/make-boot-splash-raw | 6 |
1 files changed, 3 insertions, 3 deletions
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 |