Changes between Version 10 and Version 11 of NetPerfExample


Ignore:
Timestamp:
Mar 31, 2008, 2:02:08 AM (17 years ago)
Author:
Bruno Cornec
Comment:

just before VM usage

Legend:

Unmodified
Added
Removed
Modified
  • NetPerfExample

    v10 v11  
    9898# Packager label
    9999#
    100 pbpackager netperf = "Bruno Cornec <bruno@project-builder.org>"
     100pbpackager netperf = Bruno Cornec <bruno@project-builder.org>
    101101#
    102102
     
    616616{{{
    617617$ pb -p netperf -r 2.2.4 cms2pkg
    618 Project: netperf
    619 Action: cms2pkg
    620 Packages: netperf
    621 
    622 Management of netperf 2.4.4-1 (rev flat)
    623 Exporting /users/bruno/netperf/src/netperf-2.4.4 from DIR to /users/bruno/netperf/delivery/netperf-2.4.4... OK
    624 Generating NEWS file from /users/bruno/netperf/src/pbconf/netperf/pbcl
    625618[... build continues ...]
    626 Wrote: /users/bruno/netperf/build/SRPMS/netperf-2.4.4-1.mdv2007.1.src.rpm
    627 Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-2.4.4-1.mdv2007.1.x86_64.rpm
    628 Wrote: /users/bruno/netperf/build/RPMS/x86_64/netperf-debug-2.4.4-1.mdv2007.1.x86_64.rpm
    629 Executing(%clean): /bin/sh -e /users/bruno/netperf/build/tmp/rpm-tmp.76745
    630 + umask 022
    631 + cd /users/bruno/netperf/build/BUILD
    632 + cd netperf-2.4.4
    633 + /bin/rm -rf /users/bruno/netperf/build/tmp/netperf-2.4.4-1.mdv2007.1-root-bruno
    634 + exit 0
    635 OK
    636 Checking validity of rpms with rpmlint... E: netperf script-without-shellbang /usr/share/doc/netperf-2.4.4/examples/arr_script
    637 E: netperf info-files-without-install-info-postin /usr/share/info/netperf.info.bz2
    638 E: netperf info-files-without-install-info-postun /usr/share/info/netperf.info.bz2
    639 W: netperf wrong-file-end-of-line-encoding /usr/share/doc/netperf-2.4.4/README.windows
    640 E: netperf no-signature
    641 E: netperf no-signature
    642 OK
    643 }}}
    644 
    645 So seems much better. More verifications:
    646 {{{
    647 $ sudo rpm -Uvh --force /users/bruno/netperf/build/RPMS/x86_64/netperf-2.4.4-1.mdv2007.1.x86_64.rpm
     619}}}
     620
     621More verifications:
     622{{{
     623$ sudo rpm -Uvh --force /users/bruno/project-builder/netperf/build/RPMS/x86_64/netperf-2.4.4-1.mdv2008.0.x86_64.rpm
     624
    648625PrĂ©paration...              ########################################### [100%]
    649626   1:netperf                ########################################### [100%]
    650 $ rpm -ql netperf
    651 /usr/bin/netperf
    652 /usr/bin/netserver
    653 /usr/share/doc/netperf-2.4.4
    654 /usr/share/doc/netperf-2.4.4/AUTHORS
    655 /usr/share/doc/netperf-2.4.4/COPYING
    656 /usr/share/doc/netperf-2.4.4/ChangeLog
    657 /usr/share/doc/netperf-2.4.4/INSTALL
    658 /usr/share/doc/netperf-2.4.4/NEWS
    659 /usr/share/doc/netperf-2.4.4/README
    660 /usr/share/doc/netperf-2.4.4/README.aix
    661 /usr/share/doc/netperf-2.4.4/README.hpux
    662 /usr/share/doc/netperf-2.4.4/README.osx
    663 /usr/share/doc/netperf-2.4.4/README.ovms
    664 /usr/share/doc/netperf-2.4.4/README.solaris
    665 /usr/share/doc/netperf-2.4.4/README.windows
    666 /usr/share/doc/netperf-2.4.4/Release_Notes
    667 /usr/share/doc/netperf-2.4.4/examples
    668 /usr/share/doc/netperf-2.4.4/examples/Makefile
    669 /usr/share/doc/netperf-2.4.4/examples/Makefile.am
    670 /usr/share/doc/netperf-2.4.4/examples/Makefile.in
    671 /usr/share/doc/netperf-2.4.4/examples/arr_script
    672 /usr/share/doc/netperf-2.4.4/examples/packet_byte_script
    673 /usr/share/doc/netperf-2.4.4/examples/sctp_stream_script
    674 /usr/share/doc/netperf-2.4.4/examples/snapshot_script
    675 /usr/share/doc/netperf-2.4.4/examples/tcp_range_script
    676 /usr/share/doc/netperf-2.4.4/examples/tcp_rr_script
    677 /usr/share/doc/netperf-2.4.4/examples/tcp_stream_script
    678 /usr/share/doc/netperf-2.4.4/examples/udp_rr_script
    679 /usr/share/doc/netperf-2.4.4/examples/udp_stream_script
    680 /usr/share/info/netperf.info.bz2
    681 /usr/share/man/man1/netperf.1.bz2
    682 /usr/share/man/man1/netserver.1.bz2
    683627$ rpm -q --changelog netperf | head
    684 * ven nov 16 2007 Bruno Cornec <bruno@project-builder.org> 2.4.4-1.mdv2007.1
     628* dim mar 30 2008 Bruno Cornec <bruno@project-builder.org> 2.4.4-1.mdv2008.0
    685629- Updated to 2.4.4
    686630-  The LOC_CPU and REM_CPU tests will report their respective beliefs
     
    695639}}}
    696640
    697 So we now have a much more correct rpm built, even if not everything is solve. The beauty of Project-Builder will now appear, as it's as easy to generate more RPMs for other distributions than it is for your native distribution.
     641So we now have a much more correct rpm built, even if not everything is solved (In order to get a good NEWS file, we whould remove the empty one part of netperf). The beauty of Project-Builder will now appear, as it's as easy to generate more RPMs for other distributions than it is for your native distribution.
    698642
    699643Imagine you want to build the same RPMs for the just issued Fedora 8, instead of your native distribution. First download the ISO image of your distribution and put it where you have space on your disk. Then call pb to help you create a new virtual machine for that distribution:
    700644{{{
    701 $ pb -p netperf -r `pwd` -m fedora_8 -i ~/Download/Fedora-8-i386-DVD.iso newvm
     645$ pb -p netperf -r 2.4.4 -m fedora-8-i386 -i ~/Download/Fedora-8-i386-DVD.iso newvm
    702646Project: nerperf
    703647Action: newvm
     
    710654Once your distribution is installed, stop the VM and relaunch it to finish the setup with:
    711655{{{
    712 $ pb -p netperf -r `pwd` -m fedora_8 launchvm
     656$ pb -p netperf -r 2.4.4 -m fedora-8-i386 launchvm
    713657Project: netperf
    714658Action: launchvm
     
    719663{{{
    720664# mkdir .ssh
    721 # scp bruno@victoria2.home.musique-ancienne.org:.ssh/id_dsa.pub .ssh//authorized_keys
    722 The authenticity of host 'victoria2.home.musique-ancienne.org (192.168.8.28)' can't be established.
     665# scp bruno@victoria2:.ssh/id_dsa.pub .ssh//authorized_keys
     666The authenticity of host 'victoria2 (192.168.8.28)' can't be established.
    723667RSA key fingerprint is 8c:48:e7:a0:23:fe:81:c6:27:a2:d7:e1:7f:00:02:09.
    724668Are you sure you want to continue connecting (yes/no)? yes