Skip to content
  • Andrew Morton's avatar
    revert "initramfs: cleanup incomplete rootfs" · a841c673
    Andrew Morton authored
    Revert ff1522bb ("initramfs: cleanup incomplete rootfs").
    
    Andy reports
    
    : This breaks my setup where I have U-boot provided more size of initramfs
    : than needed.  This allows a bit of flexibility to increase or decrease
    : initramfs compressed image without taking care of bootloader.  The proper
    : solution is to do this if we sure that we didn't get enough memory,
    : otherwise I can't consider the error fatal to clean up rootfs.
    
    Fixes: ff1522bb
    
     ("initramfs: cleanup incomplete rootfs")
    Reported-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
    Tested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
    Cc: David Engraf <david.engraf@sysgo.com>
    Cc: Dominik Brodowski <linux@dominikbrodowski.net>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Philippe Ombredanne <pombredanne@nexb.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Tor...
    a841c673