On Fri, Jan 18, 2019 at 1:05 PM Joao Cortes <joaooneillcortes(a)outlook.pt> wrote:
Hi,
I am following the instructions found in
1.
https://docs.pagure.org/docs-fedora/building-custom-kernel.html
2.
https://fedoraproject.org/wiki/Building_a_custom_kernel.
I am trying to get fedora 29 support for microsoft surface pro 3 (including
dock support).
I am patching the 4.18.18-fc29 kernel, using the patches found in
https://github.com/jakeday/linux-surface, branch 4.18.20-4.
This is what I have done,
`
git clone
https://github.com/jakeday/linux-surface
cd linux-surface
git checkout 4.18.20-4
cd ../
fedpkg clone -a kernel
cd kernel
fedpkg switch-branch f29
#going back to 4.18.18,
git reset --hard 87f9453dd6777020e4968779d61437a6f20b3614
for i in ../linux-surface/patches/4.18/*; do ./scripts/newpatch.sh $i; done
cp ../linux-surface/patches/4.18/* .
`
After running `fedpkg prep` (Is this a good way to test?),
``
Applying: hid
Applying: sdcard_reader
Applying:
fatal: empty ident name (for <>) not allowed
error: Bad exit status from /var/tmp/rpm-tmp.ul7jtS (%prep)
``
Removing two of jakeday's patches (0008-wifi.patch, 0009-surface3_power.patch)
solves the issue.
1. This error indicates there is something wrong with the patch files? It is issued
by git
It indicates there's issues with the patches applying cleanly using
"git am" against the Fedora kernel.
Running again `fedpkg prep`,
`
Found unset config items, please set them to an appropriate value
CONFIG_INTEL_IPTS=n
CONFIG_SURFACE_ACPI=n
`
I added both options to kernel-local file, but the error persists.
It seems the file is not being used.
2. Is it possible to debug the total list of config options, including
those added in kernel-local?
Did you run ./build_configs.sh once you added them to regenerate the
configs? Once you've run that if you do a "git diff" you should see
the changes in the kernel-*.config files