Hi,

I donwloaded the SRC RPM of the kernel and am trying to rebuild the
netbook kernel package only. How can I tell rpmbuild to not build all
the other kernel packages?

On a similar note, I tried to extend the spec file to include my own
kernel package so that I can play around with it. I created a
config-juergh file in SOURCES and adjusted the Makefile.config and
spec files accordingly. The build process succeeds but fails during
the %install stage. rpmbuild -bl bails out with the following error.
Note that rpmbuild is trying to find files named *-netbook when it
should be looking for *-juergh.

r...@meego-netbook-sdk:~/rpmbuild/SPECS# rpmbuild -bl --target i586
kernel-juergh.spec
Building target platforms: i586
Building for target i586
Processing files: kernel-devel-2.6.33.3-11.1.i586
Processing files: perf-2.6.33.3-11.1.i586
Provides: perl(Perf::Trace::Context) = 0.01 perl(Perf::Trace::Core) =
0.01 perl(Perf::Trace::Util) = 0.01
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies)
<= 3.0.3-1
Requires: /bin/bash /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3.4)
libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.8)
libelf.so.1 libelf.so.1(ELFUTILS_1.0) libm.so.6 libm.so.6(GLIBC_2.0)
libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.2) librt.so.1 librt.so.1(GLIBC_2.2) libz.so.1
perl perl(Exporter) perl(Perf::Trace::Core) perl(Perf::Trace::Util)
perl(lib) perl(strict) perl(warnings) rtld(GNU_HASH)
Obsoletes: oprofile <= 0.9.5
Processing files: kernel-juergh-2.6.33.3-11.1.i586
Provides: kernel = 2.6.33.3-11.1 kernel-drm = 4.3.0 kernel-uname-r =
2.6.33.3-11.1-juergh linux-gate.so.1 linux-gate.so.1(LINUX_2.5)
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <=
3.0.4-1
Requires(pre): fileutils module-init-tools fastinit mkinitrd >= 6.0.39-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Processing files: kernel-juergh-devel-2.6.33.3-11.1.i586
Processing files: kernel-netbook-2.6.33.3-11.1.i586
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/vmlinuz-2.6.33.3-11.1-netbook
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/System.map-2.6.33.3-11.1-netbook
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/config-2.6.33.3-11.1-netbook
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/kernel
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/build
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/source
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/vdso
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.block
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.dep.bin
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.alias.bin
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.symbols.bin
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.networking
error: File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.order
error: File not found by glob:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.builtin*
error: Explicit file attributes required in spec for:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/initrd-2.6.33.3-11.1-netbook.img


RPM build errors:
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/vmlinuz-2.6.33.3-11.1-netbook
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/System.map-2.6.33.3-11.1-netbook
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/config-2.6.33.3-11.1-netbook
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/kernel
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/build
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/source
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/vdso
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.block
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.dep.bin
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.alias.bin
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.symbols.bin
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.networking
    File not found:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.order
    File not found by glob:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/lib/modules/2.6.33.3-11.1-netbook/modules.builtin*
    Explicit file attributes required in spec for:
/root/rpmbuild/BUILDROOT/kernel-2.6.33.3-11.1.i386/boot/initrd-2.6.33.3-11.1-netbook.img

Any suggestions as to what I'm doing wrong are greatly appreciated.

Thanks
...juerg
_______________________________________________
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev

Reply via email to