+ add-dependency-on-kernelrelease-to-the-package-targets.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Add dependency on kernel.release to the package targets

has been added to the -mm tree.  Its filename is

     add-dependency-on-kernelrelease-to-the-package-targets.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Zach Brown <zach.brown@xxxxxxxxxx>

The binrpm-pkg target uses KERNELRELEASE when generated its .spec file. 
When binrpm-pkg was the first build target run in a tree it generated the
.spec before kernel.release so the Version: tag in the .spec was empty.

I don't know if this is the best fix, but binrpm-pkg works when we
explicitly build kernel.release before descending into package-dir.

Signed-off-by: Zach Brown <zach.brown@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN Makefile~add-dependency-on-kernelrelease-to-the-package-targets Makefile
--- Makefile~add-dependency-on-kernelrelease-to-the-package-targets	2006-05-13 00:13:46.000000000 -0700
+++ devel-akpm/Makefile	2006-05-13 00:13:46.000000000 -0700
@@ -994,9 +994,9 @@ distclean: mrproper
 # rpm target kept for backward compatibility
 package-dir	:= $(srctree)/scripts/package
 
-%pkg: FORCE
+%pkg: include/config/kernel.release FORCE
 	$(Q)$(MAKE) $(build)=$(package-dir) $@
-rpm: FORCE
+rpm: include/config/kernel.release FORCE
 	$(Q)$(MAKE) $(build)=$(package-dir) $@
 
 
_

Patches currently in -mm which might be from zach.brown@xxxxxxxxxx are

add-dependency-on-kernelrelease-to-the-package-targets.patch
git-ocfs2.patch
aop_truncated_page-victims-in-read_pages-belong-in-the-lru.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux