[Bug 126342] Meta bug: custom built kernels
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=126342
--- Comment #81 from Alessandro Selli <alessandroselli(a)linux.com> ---
(In reply to Roland from comment #80)
> Hi,
>
> I want to build a custom kernel.
> Previously, i did:
> - install kernel src rpm of kernel 4.4.9
> - download kernelpatch 4.4.10
>
>
> i start the build, as non-root, on my fedora 23 pc, with:
> rpmbuild -ba kernel.spec [enter]
>
> however, the build stops with:
>
> SPECS]$ rpmbuild -ba kernel.spec
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mrPP7W
> + umask 022
> + cd /home/krusader/rpmbuild/BUILD
> + patch_command='patch -p1 -F1 -s'
> ++ find /home/krusader/rpmbuild/BUILD -maxdepth 1 -type d -name 'kernel-4.*'
> ++ grep -x -v /home/krusader/rpmbuild/BUILD/kernel-4.4.fc23
> + sharedirs=
> + :
> + '[' -d kernel-4.4.fc23 ']'
> + cd kernel-4.4.fc23
> + for i in 'linux-*'
> + '[' -d linux-4.4.10-300.fc23.x86_64 ']'
> + rm -rf deleteme.x86_64
> + mv linux-4.4.10-300.fc23.x86_64 deleteme-linux-4.4.10-300.fc23.x86_64
> + cd ..
> + '[' '!' -d kernel-4.4.fc23/vanilla-4.4 ']'
> + cd kernel-4.4.fc23
> + cp -al vanilla-4.4 linux-4.4.10-300.fc23.x86_64
> + rm -rf deleteme-linux-4.4.10-300.fc23.x86_64
> + cd linux-4.4.10-300.fc23.x86_64
> + '[' '!' -d .git ']'
> + git init
> Initialized empty Git repository in
> /home/krusader/rpmbuild/BUILD/kernel-4.4.fc23/linux-4.4.10-300.fc23.x86_64/.
> git/
> + git config user.email kernel-team(a)fedoraproject.org
> + git config user.name 'Fedora Kernel Team'
> + git config gc.auto 0
> + git add .
> + git commit -a -q -m baseline
> + xzcat /home/krusader/rpmbuild/SOURCES/patch-4.4.10.xz
> + patch -p1 -F1 -s
> Reversed (or previously applied) patch detected! Assume -R? [n]
>
> I am clueless what to do now?
> Thanks,
> - Roland
Did you follow the directions at
https://fedoraproject.org/wiki/Building_a_custom_kernel ?
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years
[Bug 126342] Meta bug: custom built kernels
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=126342
--- Comment #80 from Roland <fedora_bugzilla(a)dobbelmail.nl> ---
Hi,
I want to build a custom kernel.
Previously, i did:
- install kernel src rpm of kernel 4.4.9
- download kernelpatch 4.4.10
i start the build, as non-root, on my fedora 23 pc, with:
rpmbuild -ba kernel.spec [enter]
however, the build stops with:
SPECS]$ rpmbuild -ba kernel.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mrPP7W
+ umask 022
+ cd /home/krusader/rpmbuild/BUILD
+ patch_command='patch -p1 -F1 -s'
++ find /home/krusader/rpmbuild/BUILD -maxdepth 1 -type d -name 'kernel-4.*'
++ grep -x -v /home/krusader/rpmbuild/BUILD/kernel-4.4.fc23
+ sharedirs=
+ :
+ '[' -d kernel-4.4.fc23 ']'
+ cd kernel-4.4.fc23
+ for i in 'linux-*'
+ '[' -d linux-4.4.10-300.fc23.x86_64 ']'
+ rm -rf deleteme.x86_64
+ mv linux-4.4.10-300.fc23.x86_64 deleteme-linux-4.4.10-300.fc23.x86_64
+ cd ..
+ '[' '!' -d kernel-4.4.fc23/vanilla-4.4 ']'
+ cd kernel-4.4.fc23
+ cp -al vanilla-4.4 linux-4.4.10-300.fc23.x86_64
+ rm -rf deleteme-linux-4.4.10-300.fc23.x86_64
+ cd linux-4.4.10-300.fc23.x86_64
+ '[' '!' -d .git ']'
+ git init
Initialized empty Git repository in
/home/krusader/rpmbuild/BUILD/kernel-4.4.fc23/linux-4.4.10-300.fc23.x86_64/.git/
+ git config user.email kernel-team(a)fedoraproject.org
+ git config user.name 'Fedora Kernel Team'
+ git config gc.auto 0
+ git add .
+ git commit -a -q -m baseline
+ xzcat /home/krusader/rpmbuild/SOURCES/patch-4.4.10.xz
+ patch -p1 -F1 -s
Reversed (or previously applied) patch detected! Assume -R? [n]
I am clueless what to do now?
Thanks,
- Roland
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years
[Bug 126342] Meta bug: custom built kernels
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=126342
Josh Boyer <jwboyer(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fedora_bugzilla@dobbelmail.
| |nl
--- Comment #79 from Josh Boyer <jwboyer(a)redhat.com> ---
*** Bug 1335820 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years