"remote" packaging is definitely broken
i'm sure you're excited to hear from me again, but i've found a few
more bugs in the packaging targets. one appears to be fairly obvious -- from scripts/package/Makefile:
...
rpm-pkg rpm: $(objtree)/kernel.spec FORCE
$(MAKE) clean
$(PREV) ln -sf $(srctree) $(KERNELPATH)
$(PREV) tar -cz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(KERNELPATH)/.
$(PREV) rm $(KERNELPATH)...
if you're packaging remotely (that is, using "make O=..."), you can
see how the kernel.spec file is created in the obj dir, but it's the src dir that's bundled up with tar. pretty sure that's not going to work, but i haven't looked closely enough to know if a simple textual change there is going to fix it -- i'm currently fighting off a wicked cold and am only marginally coherent.
there's one more flaw in packaging, but i'll flesh it out more
completely before i post it.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================