bzip2 doesn't work from initrd
Status: Alpha
Brought to you by:
corydodt
When my CD boots, it says that it can't run
bzip2 when it does:
bzip2 -dc /mnt/rd-base.img.bz2 > /dev/ram1
it says that it can't find libbz2.so.0 which is NOT
loaded into the initrd by the initrd.sh script.
I'm trying to do this on a RedHat system.
jack
Logged In: YES
user_id=212214
It appears that newer versions of bzip2 require this
library. I fixed it by adding
objcopy --strip-debug /usr/lib/libbz2.so.0
$stagedir/lib/libbz2.so.0
in initrd.sh