Changeset 672 in MondoRescue for trunk/tools/build2pkg
- Timestamp:
- Jun 12, 2006, 9:55:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/build2pkg
r600 r672 67 67 pkg="$pkg $pkg1" 68 68 69 log= /tmp/$p-rpm.log69 log=$TMP/$p-rpm.log 70 70 71 71 if [ "$dfam" = "mandriva" ]; then … … 90 90 cd .. 91 91 elif [ _"$dtype" = _"ebuild" ]; then 92 log= /tmp/$p-gentoo.log92 log=$TMP/$p-gentoo.log 93 93 ln -sf $src . 94 94 tar xfz $src $pv/distributions/${ddir}-$dver/$p-${VER}-r$TAG.ebuild … … 124 124 fi 125 125 elif [ _"$dtype" = _"deb" ]; then 126 log= /tmp/$p-deb.log126 log=$TMP/$p-deb.log 127 127 cd $TOPBUILDDIR 128 128 tar xfz $src 129 129 cd ${pv}* 130 ln -s distributions/debian debian131 # update debian/changelog132 pkg-buildpackage -us -uc -rfakeroot130 # point to the right debian conf 131 ln -s distributions/${ddir}-$dver debian 132 dpkg-buildpackage -us -uc -rfakeroot 133 133 # Et voila ! 134 134 else … … 138 138 echo "Packages handled : $pkg" 139 139 140 rm -rf $TMP 141 140 142 if [ $status = 0 ]; then 141 143 if [ _"$dtype" = _"rpm" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.