diff options
author | Colin Guthrie <colin@mageia.org> | 2012-04-14 12:55:08 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-04-14 12:55:08 +0000 |
commit | 4b1d2e118920158d4352ec6329e18bc74c8dd1fd (patch) | |
tree | 123b082452b7f4c9b789e8e97a2493aba9a2a2bd /scripts | |
parent | b647a425128859b68995e1db295b436a7fdaefcd (diff) | |
download | bootsplash-4b1d2e118920158d4352ec6329e18bc74c8dd1fd.tar bootsplash-4b1d2e118920158d4352ec6329e18bc74c8dd1fd.tar.gz bootsplash-4b1d2e118920158d4352ec6329e18bc74c8dd1fd.tar.bz2 bootsplash-4b1d2e118920158d4352ec6329e18bc74c8dd1fd.tar.xz bootsplash-4b1d2e118920158d4352ec6329e18bc74c8dd1fd.zip |
Remove a poinless line.
The initrd was extracted with plymouth files filtered out,
but then re-extracted a few lines below overwriting this file.
The second extraction should exclude plymouth files too.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/make-boot-splash-raw | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/make-boot-splash-raw b/scripts/make-boot-splash-raw index c71d24c..1b1e393 100755 --- a/scripts/make-boot-splash-raw +++ b/scripts/make-boot-splash-raw @@ -36,7 +36,6 @@ if `/bin/zcat $initrd_file 2> /dev/null | /bin/cpio -t &> /dev/null`; then if [ -x /usr/libexec/plymouth/plymouth-populate-initrd ]; then tmp_dir=`mktemp -d` [ -n "$tmp_dir" ] || clean_and_fail - /bin/zcat $initrd_file 2> /dev/null | cpio-filter --exclude 'usr/share/plymouth|usr/lib/plymouth|usr/lib64/plymouth|bin/plymouth|lib/libply|usr/lib/libply|lib64/libply|usr/lib64/libply' > $tmp_dir/initrd || clean_and_fail mkdir $tmp_dir/plymouth /usr/libexec/plymouth/plymouth-populate-initrd -t $tmp_dir/plymouth || clean_and_fail cd $tmp_dir/plymouth || clean_and_fail @@ -44,8 +43,8 @@ if `/bin/zcat $initrd_file 2> /dev/null | /bin/cpio -t &> /dev/null`; then # Avoid duplicate files, adding another copy of glibc each time makes # initrd grow fast /bin/zcat $initrd_file 2> /dev/null | \ - cpio-filter --exclude `/bin/find . -type f -print | sed -e 's,\./,,g' | \ - sed -e 's,^\.$,,' | tr '\n' '|' | sed -e 's/|$//'` > $tmp_dir/initrd || clean_and_fail + cpio-filter --exclude `/bin/find . -type f -print | sed -e 's,\./,,g' | \ + sed -e 's,^\.$,,' | tr '\n' '|' | sed -e 's/|$//'` > $tmp_dir/initrd || clean_and_fail /bin/find . -print | sed -e 's,\./,,g' | sed -e 's,^\.$,,' | \ sort -u | cpio -o -c --quiet -O $tmp_dir/initrd --append 2>/dev/null || clean_and_fail |