On Mon, 09 Oct 2017 11:50:59 +0200, Matthias Brugger wrote:
On 10/07/2017 03:54 PM, doiggl@velocitynet.com.au wrote:
Hello.
What reiser4 parameters do I to append to .config to enable the reiser4-for-4.13.0.patch in kernel build process.
The reiser4-for-4.13.0.patch applies to kernel ok.
Build Log shows: + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.rpmify/reiser4-for-4.13.0.patch
I put 'reiser4' parameters in zreiser4parameters.txt and it gets appended that to .config I just trigger rebuild process.
I think the best way would be to change the needed config parameters in the configs you care from config.tar.bz2
Yes, either that or putting the new stuff into patches.addon.tar.bz2 and config.addon.tar.bz2. Takashi
Regards, Matthias
Thanks for your expertise. --Glenn
#
project info, patch and log urls:
:project # https://build.opensuse.org/package/show/home:doiggl/kernel-vanilla
spec: # https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/kern...
:apply reiser4 patch # https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/seri...
:reiser4 parameters used added to: zreiser4parameters.txt CONFIG_DEBUG_INFO_REDUCED=n CONFIG_DEBUG_INFO_SPLIT=n CONFIG_FRAME_POINTER_UNWINDER=n CONFIG_GDB_SCRIPTS=n CONFIG_REISER4_DEBUG=n CONFIG_REISER4_FS=m CONFIG_SUSE_KERNEL_SUPPORTED=y
#add reiser4 parameters to .config line , from spec file: /bin/cat `/usr/bin/find /home/abuild/rpmbuild/BUILD/. | grep -i zreiser4parameters.txt` >> .config
:build log # https://build.opensuse.org/public/build/home:doiggl/openSUSE_Leap_42.3/x86_6...
# Steps done in specfile: ----------------------
KERN_DIRS="-C .. O=$PWD" if test -e %_sourcedir/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS; then yes '' | make oldconfig $MAKE_ARGS $KERN_DIRS else cp -v .config .config.orig
###########add reiser4 params to config /bin/cat `/usr/bin/find /home/abuild/rpmbuild/BUILD/. | grep -i zreiser4parameters.txt` >> .config #########add repser4 params to config #cat zreiser4parameters.txt #CONFIG_REISER4_DEBUG=n #CONFIG_REISER4_FS=m #########
# From last build log: [ 43s] '.config' -> '.config.orig' [ 43s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILD/. [ 43s] ++ grep -i zreiser4parameters.txt [ 43s] + /bin/cat [ 43s] + make silentoldconfig -j6 -C .. O=/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.13.5/linux-4.13/linux-obj [ 43s] make: Entering directory `/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.13.5/linux-4.13' [ 43s] make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.13.5/linux-4.13/linux-obj' [ 43s] GEN ./Makefile [ 43s] HOSTCC scripts/basic/fixdep [ 44s] HOSTCC scripts/kconfig/conf.o [ 44s] SHIPPED scripts/kconfig/zconf.tab.c [ 44s] SHIPPED scripts/kconfig/zconf.lex.c [ 44s] SHIPPED scripts/kconfig/zconf.hash.c [ 44s] HOSTCC scripts/kconfig/zconf.tab.o [ 47s] HOSTLD scripts/kconfig/conf [ 47s] scripts/kconfig/conf --silentoldconfig Kconfig [ 47s] * [ 47s] * Restart config... [ 47s] * [ 47s] * [ 47s] * File systems [ 47s] * [ 47s] Second extended fs support (EXT2_FS) [N/m/y/?] n [ 47s] The Extended 3 (ext3) filesystem (EXT3_FS) [N/m/y/?] n [ 47s] The Extended 4 (ext4) filesystem (EXT4_FS) [Y/n/m/?] y [ 47s] Use ext4 for ext2 file systems (EXT4_USE_FOR_EXT2) [Y/n/?] y [ 47s] Ext4 POSIX Access Control Lists (EXT4_FS_POSIX_ACL) [Y/n/?] y [ 47s] Ext4 Security Labels (EXT4_FS_SECURITY) [Y/n/?] y [ 47s] Ext4 Encryption (EXT4_ENCRYPTION) [Y/n/?] y [ 47s] EXT4 debugging support (EXT4_DEBUG) [N/y/?] n [ 47s] JBD2 (ext4) debugging support (JBD2_DEBUG) [N/y/?] n [ 47s] Reiser4 (EXPERIMENTAL) (REISER4_FS) [N/m/y/?] (NEW) aborted! [ 47s] [ 47s] Console input/output is redirected. Run 'make oldconfig' to update configuration. [ 47s] [ 47s] make[2]: *** [silentoldconfig] Error 1 [ 47s] make[1]: *** [silentoldconfig] Error 2 [ 47s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.13.5/linux-4.13/linux-obj' [ 47s] make: *** [sub-make] Error 2 [ 47s] make: Leaving directory `/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.13.5/linux-4.13' [ 47s] error: Bad exit status from /var/tmp/rpm-tmp.Ps4R3M (%prep) [ 47s] [ 47s] [ 47s] RPM build errors: [ 47s] Bad exit status from /var/tmp/rpm-tmp.Ps4R3M (%prep) [ 47s] [ 47s] lamb77 failed "build kernel-vanilla.spec" at Sat Oct 7 06:06:40 UTC 2017. [ 47s] [ 47s] ### VM INTERACTION START ### [ 52s] [ 45.550906] reboot: Power down [ 52s] ### VM INTERACTION END ### [ 52s] [ 52s] lamb77 failed "build kernel-vanilla.spec" at Sat Oct 7 06:06:45 UTC 2017.
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org