Changeset 1631


Ignore:
Timestamp:
Sep 12, 2007, 2:12:50 AM (12 years ago)
Author:
bruno
Message:

Fix a bug for pb build (omission of PB-SUF declaration)

Location:
branches/2.2.5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/pbconf/mindi/pbfilter/rpm.pbf

    r1603 r1631  
    3131filter PBPKG = $pbpkg
    3232
     33# PBSUF is replaced by the package name ($pbpkg in code)
     34filter PBSUF = $pbsuf
     35
    3336# PBOBS is replaced by the Obsolete line
    3437filter PBOBS =
  • branches/2.2.5/pbconf/mondo/pbfilter/rpm.pbf

    r1603 r1631  
    3131filter PBPKG = $pbpkg
    3232
     33# PBSUF is replaced by the package name ($pbpkg in code)
     34filter PBSUF = $pbsuf
     35
    3336# PBOBS is replaced by the Obsolete line
    3437filter PBOBS =
  • branches/2.2.5/tools/qemu-vm.txt

    r1482 r1631  
    77# RPM based : urpmi, yum install, yast2
    88# Mandriva
    9 urpmi neon newt-devel slang-devel glibc-static-devel autoconf automake libtool gcc rpm-build wget gcc-c++ docbook-utils-pdf ImageMagick man patch mindi mondo mkisofs cdrecord
     9urpmi neon newt-devel slang-devel glibc-static-devel autoconf automake libtool gcc rpm-build wget gcc-c++ docbook-utils-pdf ImageMagick man patch mindi mondo mkisofs cdrecord pb
    1010
    1111#Fedora
    12 yum install neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget vim gcc-c++ docbook-utils-pdf ImageMagick man patch cdrecord mkisofs
     12yum install neon newt-devel slang-devel autoconf automake libtool gcc rpm-build wget vim gcc-c++ docbook-utils-pdf ImageMagick man patch cdrecord mkisofs pb
    1313
    1414
    1515# gentoo
    1616#Cf: http://wiki.xensource.com/xenwiki/QEMUGentoo
    17 emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi mondo-rescue cdrecord mkisofs
     17emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi mondo-rescue cdrecord mkisofs pb
    1818
    1919# Slackware
     
    2121#
    2222# Ubuntu
    23 apt-get install autoconf automake libtool g++ wget patch mondo groff imagemagick docbook-utils docbook2x docbook-to-man openssh-server dpkg-dev debian-builder dh-make fakeroot libnewt-dev libncurses5-dev
     23apt-get install autoconf automake libtool g++ wget patch mondo groff imagemagick docbook-utils docbook2x docbook-to-man openssh-server dpkg-dev debian-builder dh-make fakeroot libnewt-dev libncurses5-dev pb
     24
     25# Apply AppConfig path
     26patch -p0 < pb-doc/App*
    2427
    2528#Changing CD during install:
     
    3235
    3336#Clé SSH:
    34 #   Ajout clé ssh pour root:
    35 mkdir /root/.ssh
    36 chmod 700 /root/.ssh
    3737scp bruno@10.0.2.2:.ssh/id_dsa.pub /root/.ssh/authorized_keys
    3838chmod 600 /root/.ssh/authorized_keys
    3939
    40 #Créer compte bruno avec répertoires nécéssaires + env necessaire
    41 mkdir /users
    42 useradd bruno -d /users/bruno
    43 passwd bruno
     40#Créer compte pb
     41useradd pb
    4442
    45 su - bruno
    46 mkdir -p mondo/tmp build
    47 cat > ~bruno/.rpmmacros << EOF
    48 %_topdir    /users/bruno/build
    49 %_tmppath   %{_topdir}/tmp
    50 %packager   Bruno Cornec <bruno@mondorescue.org>
    51 EOF
    52 cat > ~bruno/.rpmrc << EOF
    53 buildarchtranslate: i386: i386
    54 buildarchtranslate: i486: i386
    55 buildarchtranslate: i586: i386
    56 buildarchtranslate: i686: i386
    57 EOF
     43# No passwd for pb
     44perl -pi -e 's/^pb:\!\!:/pb:*:/' /etc/shadow
     45# Adapt sudoers
     46echo "pb   ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
     47# poweroff only
     48
     49su - pb
    5850mkdir ~/.ssh
    5951chmod 700 ~/.ssh
    60 scp -p victoria2.home.musique-ancienne.org:.ssh/id'*' ~/.ssh
     52scp -p victoria2.home.musique-ancienne.org:.ssh/id_dsa.pub ~/.ssh/authorized_keys
    6153# Passwd asked above
    62 cp ~/.ssh/id_dsa.pub ~/.ssh/authorized_keys
    6354chmod 600 ~/.ssh/authorized_keys
    64 
    65 cat >> ~/.ssh/known_hosts << EOF
    66 shell.berlios.de,195.37.77.140 ssh-dss AAAAB3NzaC1kc3MAAACBAKawwrOuxejvOTWc6zFKEs2KKzVDXchPICt0p5A6LuIeIX+Uw9QMM5hji7txwuNt+ErPX/Z9xd1OBKAsormCMe6BZaxi0KMyFHPTnFTJpy168ztBD+782fQwlvop9nNRWkKoY1BGqQvKX50Zj+mQ39VP+RgJsyDMl+sKA3OqtGcVAAAAFQCBx79R1fUfJgOAVKxrCnvCu2vQRQAAAIBq5Li0/Fdf0yL/fSv6q8OZLCUgjMk6agnNbMxSK35Vctx0E4KXQbIJTmpwZIgYdZm+S2LYe0EgEYcWyBgcll1kK5Rti2e71sVuSoRNCo+rD8bsBcIETENtHZYuAeAWBlwrvT5LReGRpJ1YMNQpXXq4mQFbmhuhgJw9nKyt5xv6bgAAAIAro+dquEuGy32MOLcSqHtJm/FA+3FRG0RbLS8VDtxVC3ISe3SlSM0BecIHZ6aP5dL5W2b39/U2clls05X23SRK68DSqxoR/o9YshKdshDkPGEDfqyucOCn5FwUsZkd/WkZIuBZdLHLUtXUK6h85+08t5gmaL8eoXoOvHpsuCnNdA==
    67 svn.berlios.de,195.37.77.137 ssh-dss AAAAB3NzaC1kc3MAAACBAKouB77l1f4FgdP6DjLOgq5RKuGYm3zMJlM4WHcKzWnPuErZW4Omxk1CO0JojDNj/bjxz/95blWbdonEcAo0v71GcZbECFDsJdgVbZM+yxLHKOF4S5uHkiJ+LMawFcRoCGAochowoP9jUfLVAzyT1q3dbvmL43YO3FDvD+mCKTbZAAAAFQCWs/2nOqvitE/CyOCa81sadnzsPQAAAIBrgWRs2VN6jAtX1eUxPwtkJWX886DkiBwdEgtUwDW8RJJCFU6+zjNwFZ8VcjeA7OCFKmZqoD8ABojMMtB53VoXXRzp5PtWgJEMpCLOhHbAA6nLR+Zu9zV8rFHsrjvR17ZgmA8q1dZRqqvZSyzsoP4KdW7f9nD2SjFEVhjHfIsQmwAAAIEAoDlEoGO/lc8XkvNW7G8/rybzETG0cepONVKThYufP5Z2FdGj9a1TYc2Gaw2DygM20Ohwj1RW8aeRE/jYbEm4unM6IFYeLvCbDeeCCHCiCJmw/Pj2ityB5uPTat4Yn28FCd4eP5LyQq2EHz6bPA0LzpNJKwto4naIMsDpET1GNH0=
    68 EOF
    6955
    7056#rebuild paquets necessaires mondo:
     
    7359rpm -ivh afio-2.4.7-1.src.rpm buffer-1.19-1.src.rpm
    7460mkdir -p build/BUILD build/RPMS/i386 build/SRPMS
    75 rpmbuild -ba build/SPECS/afio.spec
    76 rpmbuild -ba build/SPECS/buffer.spec
     61rpmbuild --define "_topdir $HOME/build" -ba build/SPECS/afio.spec
     62rpmbuild --define "_topdir $HOME/build" -ba build/SPECS/buffer.spec
    7763chmod 644 build/RPMS/i386/*
    7864scp -p build/RPMS/i?86/afio-[0-9]* build/RPMS/i?86/buffer-[0-9]* www.mondorescue.org:/mondo/ftp/rhel/3/
     
    8470root:
    8571rpm -ivh ~bruno/build/RPMS/i?86/afio-[0-9]* ~bruno/build/RPMS/i?86/buffer-[0-9]*
    86 
    87 # Adapt sudoers
    8872
    8973# For RHAS 2.1 add grep-2.5.1
Note: See TracChangeset for help on using the changeset viewer.