Changeset 1038 in MondoRescue
- Timestamp:
- Jan 6, 2007, 6:11:34 PM (18 years ago)
- Location:
- branches/2.2.1/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.1/tools/build2pkg
r1027 r1038 125 125 export pkg="$pkg $p-${PVER}.deb" 126 126 # Et voila ! 127 elif [ _"$dtype" = _"freebsd" ]; then 127 128 elif [ _"$dfam" = _"slackware" ]; then 128 129 mkdir -p $TOPBUILDDIR/build-${p}/install -
branches/2.2.1/tools/distro-env
r1024 r1038 64 64 export dver = "sid" 65 65 fi 66 elif [ -e /etc/motd && grep -q FreeBSD /etc/motd ]; then 67 export ddir="freebsd" 68 export dver=`awk '{print $2}' /etc/motd | cut -d- -f1` 66 69 else 67 70 export ddir="unknown" … … 112 115 dtype="rpm" 113 116 suf=".`echo $dver | sed 's/\.//'`mdv" 117 elif [ $ddir = "freebsd" ]; then 118 dfam="freebsd" 119 dtype="port" 120 suf=".`echo $dver | sed 's/\.//'`fbsd" 114 121 else 115 122 dfam="unknown" -
branches/2.2.1/tools/pkg2mdv
r1033 r1038 75 75 # Use mkrel for mdv 76 76 perl -pi -e "s/^Release:[ \t]+..*/Release: %mkrel $TAG/" SPECS/$p.spec 77 perl -pi -e "s/^Release:/Packager: Bruno Cornec <bcornec @mandriva.org>\nRelease:/" SPECS/$p.spec77 perl -pi -e "s/^Release:/Packager: Bruno Cornec <bcornec\@mandriva.org>\nRelease:/" SPECS/$p.spec 78 78 perl -pi -e 's/mindi >= ..*,/mindi/' SPECS/$p.spec 79 79 $TOOLHOME/mdv-changelog.pl SPECS/$p.spec -
branches/2.2.1/tools/svn2build
r1024 r1038 86 86 elif [ "$dtype" = "tgz" ]; then 87 87 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/slack-desc > $dest/distributions/${ddir}-$dver/slack-desc 88 elif [ "$dtype" = "port" ]; then 89 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/Makefile > $dest/distributions/${ddir}-$dver/Makefile 88 90 elif [ "$dtype" = "deb" ]; then 89 91 cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver
Note:
See TracChangeset
for help on using the changeset viewer.