Browse Source

Improved mkinitramfs/mkinitramfs.sh to display the expanded size before creating the cpio.gz file

git-svn-id: svn://svn.opensde.net/opensde/package/branches/udev@21362 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 17 years ago
parent
commit
3bc2ea0b95
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      base/mkinitramfs/mkinitramfs.sh

+ 1
- 0
base/mkinitramfs/mkinitramfs.sh

@ -125,6 +125,7 @@ if [ $? -eq 0 ]; then
if [ $errno -eq 0 ]; then
initrd=boot/initrd-$kernelver.img
echo "Expanded size: $( du -sh . | cut -d' ' -f1 )"
echo "Repacking '$tmpdir' into \$root/$initrd"
find . | cpio -o -H newc | gzip -9 > "$root/$initrd.$$"

Loading…
Cancel
Save