[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170414215450.18307-3-sthemmin@microsoft.com>
Date: Fri, 14 Apr 2017 14:54:50 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: yamada.masahiro@...ionext.com, mmarek@...e.com
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Stephen Hemminger <sthemmin@...rosoft.com>
Subject: [PATCH 2/2] kbuild: remove initramfs cpio with mrproper
When 'make mrproper' is done, it should also remove the initramfs cpio
file. I ran into this while doing test build on one machine, followed
by make mrproper and rsync to a target machine. The build on the target
machine would succeed but be unbootable because of the bad initramfs.
Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 04ca211552f7..954292695bf6 100644
--- a/Makefile
+++ b/Makefile
@@ -1276,7 +1276,8 @@ MRPROPER_FILES += .config .config.old .version .old_version \
Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
certs/signing_key.pem certs/signing_key.priv certs/signing_key.x509 \
certs/x509.genkey certs/extra_certificates certs/signing_key.x509.keyid \
- certs/signing_key.x509.signer vmlinux-gdb.py
+ certs/signing_key.x509.signer vmlinux-gdb.py \
+ usr/initramfs_data.cpio.gz
# clean - Delete most, but leave enough to build external modules
#
--
2.11.0
Powered by blists - more mailing lists