Академический Документы
Профессиональный Документы
Культура Документы
and run
fedora-buildrpmtree
[root@fedora7g SOURCES]# ll
total 54788
-rw-r--r-- 1 root root 2801 2006-08-03 18:49 Config.mk
-rw-r--r-- 1 root root 16853 2006-09-28 16:19 config-olpc-generic
...
...
-rwxr-xr-x 1 root root 1400 2006-07-19 16:25 merge.pl
-rw-r--r-- 1 root root 253536 2007-04-12 16:16 nouveau-drm.patch
-rw-r--r-- 1 root root 23521 2007-05-23 20:05 patch-2.6.21.2.bz2
-rw-r--r-- 1 root root 994 2006-10-02 18:44 xen-11668-hvm_disable_fix.patch
-rw-r--r-- 1 root root 1469 2006-10-04 14:45 xen-dom0-reboot.patch
-rw-r--r-- 1 root root 3536 2006-09-20 22:54 xen-printf-rate-limit.patch
[root@fedora7g linux-2.6.21.i386]#
[root@fedora7g linux-2.6.21.i386]# make rpm
scripts/kconfig/conf -s arch/i386/Kconfig
drivers/net/fec_mpc52xx/Kconfig:14:warning: leading whitespace ignored
drivers/net/fec_mpc52xx/Kconfig:7:warning: 'select' used by config symbol
'FEC_MPC52xx' refer to undefined symbol 'PPC_BESTCOMM'
/bin/sh /usr/src/redhat/BUILD/kernel-2.6.21/linux-
2.6.21.i386/scripts/package/mkspec > /usr/src/redhat/BUILD/kernel-2.6.21/linux-
2.6.21.i386/kernel.spec
make clean
set -e; cd ..; ln -sf /usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21.i386
kernel-2.6.212.routes2.6.2115
set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude
CVS --exclude .pc --exclude .hg --exclude .git -f kernel-
2.6.212.routes2.6.2115.tar.gz kernel-2.6.212.routes2.6.2115/.
set -e; cd ..; rm kernel-2.6.212.routes2.6.2115
set -e; \
/bin/sh /usr/src/redhat/BUILD/kernel-2.6.21/linux-
2.6.21.i386/scripts/mkversion > /usr/src/redhat/BUILD/kernel-2.6.21/linux-
2.6.21.i386/.tmp_version
set -e; \
mv -f /usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21.i386/.tmp_version
/usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21.i386/.version
rpmbuild --target i386 -ta ../kernel-2.6.212.routes2.6.2115.tar.gz
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.94518
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf kernel-2.6.212.routes2.6.2115
+ /bin/gzip -dc /usr/src/redhat/BUILD/kernel-2.6.21/kernel-
2.6.212.routes2.6.2115.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kernel-2.6.212.routes2.6.2115
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8721
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd kernel-2.6.212.routes2.6.2115
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make clean
+ make
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-i386
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CC arch/i386/kernel/asm-offsets.s
GEN include/asm-i386/asm-offsets.h
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
INSTALL sound/synth/emux/snd-emux-synth.ko
INSTALL sound/synth/snd-util-mem.ko
INSTALL sound/usb/snd-usb-audio.ko
INSTALL sound/usb/snd-usb-lib.ko
INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b
/var/tmp/kernel-2.6.212.routes2.6.2115-root -r 2.6.21-2.routes-2.6.21-15; fi
+ cp arch/i386/boot/bzImage /var/tmp/kernel-2.6.212.routes2.6.2115-
root/boot/vmlinuz-2.6.21-2.routes-2.6.21-15
+ cp System.map /var/tmp/kernel-2.6.212.routes2.6.2115-root/boot/System.map-
2.6.21-2.routes-2.6.21-15
+ cp .config /var/tmp/kernel-2.6.212.routes2.6.2115-root/boot/config-2.6.21-
2.routes-2.6.21-15
+ /usr/lib/rpm/brp-compress
Processing files: kernel-2.6.212.routes2.6.2115-1
Provides: kernel-2.6.21-2.routes-2.6.21-15
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/kernel-
2.6.212.routes2.6.2115-root
Wrote: /usr/src/redhat/SRPMS/kernel-2.6.212.routes2.6.2115-1.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/kernel-2.6.212.routes2.6.2115-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.26925
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd kernel-2.6.212.routes2.6.2115
+ exit 0
rm ../kernel-2.6.212.routes2.6.2115.tar.gz
[root@fedora7g linux-2.6.21.i386]#
[root@fedora7g linux-2.6.21.i386]# cd /lib/modules/
[root@fedora7g modules]# ll
total 12
drwxr-xr-x 6 root root 4096 2007-09-04 19:06 2.6.21-1.3194.fc7