• S
    kbuild: rebuild initramfs if content of initramfs changes · d39a206b
    Sam Ravnborg 提交于
    initramfs.cpio.gz being build in usr/ and included in the
    kernel was not rebuild when the included files changed.
    
    To fix this the following was done:
    - let gen_initramfs.sh generate a list of files and directories included
      in the initramfs
    - gen_initramfs generate the gzipped cpio archive so we could simplify
      the kbuild file (Makefile)
    - utilising the kbuild infrastructure so when uid/gid root mapping changes
      the initramfs will be rebuild
    
    With this change we have a much more robust initramfs generation.
    Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
    d39a206b
Makefile 1.7 KB