On 08/02/2018 06:25 AM, Frank Elsner wrote:
On Thu, 2 Aug 2018 14:19:01 +0200 Frank Elsner wrote:
[ ... ]
> Why is ~/rpmbuild/BUILD empty? Documention in error or what is my error?
Error on my side. rpmbuild -bp kernel.spec filled up ~/rpmbuild/BUILD.
Correct. After installing the source RPM, you have to run "rpmbuild -bp"
(which means "build-prep", essentially) to have rpmbuild extract the
data from the tarball, apply the appropriate patches and do the initial
prep stages. From then on, you can essentially go to the
~/rpmbuild/BUILD/kernel-<version> directory and press on with xconfig
or menuconfig or whatever you wish to use to configure the kernel to
your liking.
I might recommend your first forays into kernel building/installing be
done on a VM or back up your live system adequately so if you destroy
your functioning system, you can recover in case you get it wrong.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- Blessed are the peacekeepers...for they shall be shot at -
- from both sides. --A.M. Greeley -
----------------------------------------------------------------------