-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/19/2010 10:22 AM, doiggl@velocitynet.com.au wrote:
On Wed, 18 Aug 2010 13:35:21 -0400, Jeff Mahoney
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]
There isn't one. As I've mentioned like three times now, just put: CONFIG_REISER4=m ... or whatever it is into config.addon/x86_64/vanilla, tar it up into config.addon.tar.bz2, and it will get pulled in automatically. - -Jeff
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
- -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxtSvMACgkQLPWxlyuTD7LjJgCfeOhUTLClXNHhsfJbeMg20O7B gzIAoJDSRw/rOkfONZD8Y4CgQjgTWHkr =FLs9 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org