Mailinglist Archive: opensuse-kernel (87 mails)

< Previous Next >
Re: [opensuse-kernel] building kernel-vanilla with one extra patch.
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Fri, 20 Aug 2010 00:22:55 +1000
  • Message-id: <dcbf033700ee7969b1d7e78111fe1e96@xxxxxxxxxxxxxxxxxxxxxxx>
On Wed, 18 Aug 2010 13:35:21 -0400, Jeff Mahoney <jeffm@xxxxxxxx> wrote:
Jeff Mahoney
SUSE Labs
Thanks for the info Jeff
Next steps I did -

# tar -cvf patches.addon.tar /patches.rpmify
tar: Removing leading `/' from member names
/patches.rpmify/
/patches.rpmify/reiser4-for-2.6.35.patch

# bzip2 -v patches.addon.tar
patches.addon.tar: 5.319:1, 1.504 bits/byte, 81.20% saved, 2396160
in,
450449 out.

- added file patches.addon.tar to project
- Edited series.conf added in last line
[patches.suse/reiser4-for-2.6.35.patch]


########################################################
# Reiserfs Patches
########################################################
patches.suse/reiserfs-barrier-default
patches.fixes/reiserfs-remove-2-tb-file-size-limit
patches.suse/reiser4-for-2.6.35.patch

No. It needs to be the actual location of the patch. So,
patches.rpmify/reiser4-for-2.6.35.patch.

Changes made [1] to series.conf

########################################################
# Reiserfs Patches
########################################################
patches.suse/reiserfs-barrier-default
patches.fixes/reiserfs-remove-2-tb-file-size-limit
patches.rpmify/reiser4-for-2.6.35.patch

Next the .config changes for compilation

- I seleted these changes for the .config and I made a file of changes
the first 15 lines shown
# make menuconfig
File systems --->
<M> Reiser4

# diff .config .configReiser4 > .configReiser4.diff
# head -15 .configReiser4.diff
2a3,4
# Linux kernel version: 2.6.35.2
# Thu Aug 19 23:36:12 2010
7a10
CONFIG_INSTRUCTION_DECODER=y
20a24
CONFIG_NEED_SG_DMA_LENGTH=y
56a61
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi
-fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9
-fcall-saved-r10 -fcall-saved-r11"
58,61d62
< CONFIG_SUSE_KERNEL=y
< # CONFIG_ENTERPRISE_SUPPORT is not set
< CONFIG_SPLIT_PACKAGE=y
< # CONFIG_KERNEL_DESKTOP is not set
70a72


Question: What is the .spec file command to apply the .configReiser4.diff
changes file to the original unpacked .config file
so it generates a reiser4 enabled .config ready for compilation and what
section of the spec file does that go in. Spec file listing [3]

Also any news on getting the
%changelog not in descending chronological order fixed see [4]
for Kernel HEAD

[1]
https://build.opensuse.org/package/view_file?file=series.conf&package=kernel-vanilla&project=home%3Adoiggl
[2]
https://build.opensuse.org/package/files?package=kernel-vanilla&project=home%3Adoiggl
[3]
https://build.opensuse.org/package/view_file?file=kernel-vanilla.spec&package=kernel-vanilla&project=home%3Adoiggl
[4] http://lists.opensuse.org/opensuse-kernel/2010-08/msg00037.html

Cheers Glenn
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups