On Sun, 2015-01-25 at 06:50 +0000, Amadeus W.M. wrote:
I'm trying to do the following:
1) add the smi2021 driver for EasyCap Somagic usb frame grabbers
2) compile the kernel with smi2021 as a module
3) build the rpm.
I got the driver from Jon Arne Jorgensen's kernel branch on github:
then tried to follow these instructions:
but the whole thing fails with this eror:
+ case "$patch" in
+ patch -p1 -F1 -s
+ chmod +x scripts/checkpatch.pl
+ touch .scmversion
+ mkdir configs
+ for i in '*.config'
+ mv kernel-3.17.8-aarch64.config .config
++ head -1 .config
++ cut -b 3-
+ make ARCH=arm64 listnewconfig
+ grep -E '^CONFIG_'
+ '[' -s .newoptions ']'
+ cat .newoptions
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.sASN4F (%prep)
Please help, I'm at the end of my wits. Thanks!
You just have to put the new config option in one of the config* files
that's part of the kernel package git checkout itself - one that gets
included in the appropriate arch builds. If you want to build the
driver as a module for all arches, put CONFIG_VIDEO_SMI2021=m in
config-generic , for instance.
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net