Skip to contentSkip to conversation

linux: update paths to compiled cpio files

PATCH New Mike Frysinger 3 participants 3 messages Nov 16, 2010 – Nov 17, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: update paths to compiled cpio files

Linux has been using "usr/initramfs_data.cpio" for a few releases as the generated cpio name, so the buildroot match of "...cpio.*" won't actually clean out the previous result.

---
 linux/linux.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
linux/linux.mk +1 -1
index 4c982f8..4a6025c 100644
@@ -151,7 +151,7 @@ $(LINUX26_DIR)/.stamp_initramfs_rebuilt: $(LINUX26_DIR)/.stamp_installed $(BINAR
 	@$(call MESSAGE,"Rebuilding kernel with initramfs")
 	# Remove the previously generated initramfs which was empty,
 	# to make sure the kernel will actually regenerate it.
-	$(RM) -f $(@D)/usr/initramfs_data.cpio.*
+	$(RM) -f $(@D)/usr/initramfs_data.cpio*
 	# Build the kernel.
 	$(TARGET_MAKE_ENV) $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(@D) $(LINUX26_IMAGE_NAME)
 	# Copy the kernel image to its final destination
Signature · 1 line
1.7.3.2
#1 lore raw

PATCH 1/1 linux: update paths to compiled cpio files

Quoted 5 lines · On Tue, 16 Nov 2010 09:39:10 -0500 Mike Frysinger <[email protected]> wrote:

Linux has been using "usr/initramfs_data.cpio" for a few releases as the generated cpio name, so the buildroot match of "...cpio.*" won't actually clean out the previous result.

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 linux: update paths to compiled cpio files

In reply to Mike Frysinger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mike" == Mike Frysinger <[email protected]> writes:

Mike> Linux has been using "usr/initramfs_data.cpio" for a few releases as the Mike> generated cpio name, so the buildroot match of "...cpio.*" won't actually Mike> clean out the previous result.

Mike> Signed-off-by: Mike Frysinger <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard