From: Kern Sibbald Date: Mon, 1 Jan 2007 10:17:20 +0000 (+0000) Subject: Fix -c / -H newc problem X-Git-Tag: Release-2.0.0~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=831bdbba38a09b37cb4c66b96260658e687a532a;p=bacula%2Frescue Fix -c / -H newc problem --- diff --git a/rescue/linux/cdrom/makeinitrd b/rescue/linux/cdrom/makeinitrd index ae939a9..f83e15e 100755 --- a/rescue/linux/cdrom/makeinitrd +++ b/rescue/linux/cdrom/makeinitrd @@ -57,8 +57,13 @@ if [ $cprtn != 0 ] ; then exit 1 fi -# This is a newer way of creating a ramfs, which we don't use -(cd roottree; find . | cpio --quiet -c -o) >root +# +# This is a newer way of creating a ramfs. Note, it +# overwrites the previous root ramdisk that we built. +# If you have an older kernel, you may want to comment +# this out. +# +(cd roottree; find . | cpio --quiet -H newc -o) >root echo "Building initial RAM disk done"