On Thursday 2010-02-25 02:35, Jan Engelhardt wrote:
On Wednesday 2010-02-24 13:50, Michal Marek wrote:
Why are you creating a separate /usr/src/linux-src directory? Is it not possible to continue installing everything into /usr/src/linux and just split the files between kernel-source and kernel-devel? People usually expect that the full kernel source is in /usr/src/linux.
No. Putting the source into the same spot as devel packages is the root reason that people are able to trash their KMP building environment.
I see, people who compile their kernel as root in /usr/src/linux directly break the /usr/src/linux-obj/... builddirs. But I would argue that people who do the above and people who build KMPs are two almost distinct groups :)
Not quite. Let's say they just start compilation in /usr/src/linux, but then go on using the regular kernel and then decide to build some module. There it goes boom.
And I opted to leave the devel part in /usr/src/linux because more specfiles and Makefiles depend on it.
Yes, but then many people "depend" on the /usr/src/linux location to contain full sources of the kernel
Again, I see no reason for this dependence; it is a result of projects with flawed design. I thus urge you to pick all of the five patches to flag up these broken packages. The following changes since commit 91092a59187c5c673c6e70e19012dafc35f6074b: Tony Jones (1): - patches.trace/powerpc-rename-irq-tracing: should have been deleted by previous commit are available in the git repository at: git://dev.medozas.de/suse-kernel master Jan Engelhardt (5): misc: use proper tar options kernel-source: use more macros Add sparc64 configuration kernel-source: split source and devel into two packages kernel-source: split location of files config.conf | 2 + config/sparc64/default | 4250 +++++++++++++++++++++++++++++++++++++++++++ doc/README.SUSE | 4 +- kernel-source.changes | 30 + rpm/compute-PATCHVERSION.sh | 2 +- rpm/group-source-files.pl | 67 + rpm/kernel-binary.spec.in | 20 +- rpm/kernel-docs.spec.in | 6 +- rpm/kernel-source.spec.in | 71 +- rpm/kernel-syms.spec.in | 4 +- rpm/source-postdevel.sh | 13 + scripts/tar-up.sh | 2 +- 12 files changed, 4446 insertions(+), 25 deletions(-) create mode 100644 config/sparc64/default create mode 100755 rpm/group-source-files.pl create mode 100755 rpm/source-postdevel.sh -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org