On Sun, Dec 30, 2012 at 08:58:57PM +0100, phi gcc wrote:
This is a re-post from a post I did on opensuse(a)opensuse.org, as it
may be more appropriate here.
New to opensuse, I try to build the newly installed machine with its
current kernel version. I'd like to build the kernel from the source
we got with the regular distro, I will do git extraction and build
later. For now I need to build the kernel rpms (i.e kernel + debuginfo
for kernel/modules). So far I can't build the standard kernel. Again I
am new to this and my build process may be flawed, then any help would
Here is the trail of events.
1) fresh 12.2 install
CY44$ /usr/bin/lsb-release -a
LSB Version: n/a
Distributor ID: SUSE LINUX
Description: openSUSE 12.2 (x86_64)
2) Download 2 metapackages
3) Downloaded kernel source thought may be they was there after the
4) make source suitable for non root compile.
CY44$ cd /usr/src/linux
CY44$ sudo chown -R phi .
5) Clone initial config and patch CONFIG_LOCAL_VERSION
CY44$ make cloneconfig
CY44$ vi .config # set CONFIG_LOCALVERSION="-2.16-phi"
6) Kernel build
7) Build RPM
CY44$ make rpm-pkg
I don't think this command, or 'make rpm' really works properly. Just
do a 'make install' at this point and then you will be able to run the
kernel you just built.
If you want to build a kernel package, then you need to rebuild the
kernel-source package in the way that the build service does, which is
by running rpm, not by building by hand like you are doing here.
Hope this helps,
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org