aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-04-10 17:44:17 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-04-10 17:44:17 +0000
commitb288acc138d72ccda7ec27967089ddc4c71ce978 (patch)
tree3302907680ba91bc51c1b80c590fdb34b8f1e2f1 /scripts
parent2b52430853c2c51a17bc8989643e047f0f0c729d (diff)
downloadbootsplash-b288acc138d72ccda7ec27967089ddc4c71ce978.tar
bootsplash-b288acc138d72ccda7ec27967089ddc4c71ce978.tar.gz
bootsplash-b288acc138d72ccda7ec27967089ddc4c71ce978.tar.bz2
bootsplash-b288acc138d72ccda7ec27967089ddc4c71ce978.tar.xz
bootsplash-b288acc138d72ccda7ec27967089ddc4c71ce978.zip
Fix initramfs support (use cpio -c)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-boot-splash2
-rw-r--r--scripts/remove-boot-splash2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/make-boot-splash b/scripts/make-boot-splash
index 9bf64a0..6a5a236 100755
--- a/scripts/make-boot-splash
+++ b/scripts/make-boot-splash
@@ -59,7 +59,7 @@ if `/bin/zcat $initrd_file 2> /dev/null | /bin/cpio -t &> /dev/null`; then
rm -f $tmp_dir/bootsplash
fi
fi
- /bin/find . -print | /bin/cpio -o 2> /dev/null | gzip -c > $initrd_file
+ /bin/find . -print | cpio --quiet -c -o 2> /dev/null | gzip -c > $initrd_file
popd &> /dev/null
rm -rf $tmp_dir
else
diff --git a/scripts/remove-boot-splash b/scripts/remove-boot-splash
index 3ab7425..f7e7b63 100644
--- a/scripts/remove-boot-splash
+++ b/scripts/remove-boot-splash
@@ -16,7 +16,7 @@ if (!system("/bin/zcat $initrd 2> /dev/null | /bin/cpio -t &> /dev/null")) {
if (-f "$tmp_dir/bootsplash") {
unlink "$tmp_dir/bootsplash" or die "FATAL: removing of $tmp_dir/bootsplash failed";
print STDERR "remove-boot-splash: removing bootsplash from initrd\n";
- system("/bin/find . -print | /bin/cpio -o 2> /dev/null | gzip -c > $initrd")
+ system("/bin/find . -print | /bin/cpio --quiet -c -o 2> /dev/null | gzip -c > $initrd")
} else {
print STDERR "ERROR remove-boot-splash: bootsplash image not found in $initrd\n"
}