Bug#357689: initrd-tools: mkinitrd fails to create the initrd image
Package: initrd-tools
Version: 0.1.81.1
Symptom:
/usr/sbin/mkinitrd fails to create the initrd image
Cause:
When mkinitrd calls for mkcramfs (at line 1413 in this version) his
working directory appears to be set to
"/tmp/mkinitrd.[randomstring]/initrd" instead of ".". The newly
created image is deleted as soon as the mkinitrd scripts ends and
removes the tmp direcory.
Solution:
Backup the working directory in a shell variable and then call
mkcramfs with the correct path for the output file
Reply to: