author | kergoth <kergoth> | 2003-04-17 21:29:39 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-17 21:29:39 (UTC) |
commit | 39c72eb2d35aecb3a057b347df5231d1dbfdd37c (patch) (unidiff) | |
tree | 90aa6295492ce7a43d4cc510d3605ea9443418ab /mkipks | |
parent | fabadbc7caba39006fcdda5167c29fa287e23cc3 (diff) | |
download | opie-39c72eb2d35aecb3a057b347df5231d1dbfdd37c.zip opie-39c72eb2d35aecb3a057b347df5231d1dbfdd37c.tar.gz opie-39c72eb2d35aecb3a057b347df5231d1dbfdd37c.tar.bz2 |
Kill filename field in mkipks, which was breaking us
-rwxr-xr-x | mkipks | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -213,25 +213,24 @@ do | |||
213 | fi | 213 | fi |
214 | echo "Package: $packagename" >$CTRLDIR/control | 214 | echo "Package: $packagename" >$CTRLDIR/control |
215 | if [ ! -z "$size" ]; then | 215 | if [ ! -z "$size" ]; then |
216 | echo "Installed-Size: $size" >>$CTRLDIR/control | 216 | echo "Installed-Size: $size" >>$CTRLDIR/control |
217 | else | 217 | else |
218 | if [ -z "$SIZEWARNED" ] | 218 | if [ -z "$SIZEWARNED" ] |
219 | then | 219 | then |
220 | echo "Warning, no mkfs.jffs2 found, unable to set Installed-Size." | 220 | echo "Warning, no mkfs.jffs2 found, unable to set Installed-Size." |
221 | SIZEWARNED=1 | 221 | SIZEWARNED=1 |
222 | fi | 222 | fi |
223 | fi | 223 | fi |
224 | echo "Architecture: $ARCH" >>$CTRLDIR/control | 224 | echo "Architecture: $ARCH" >>$CTRLDIR/control |
225 | echo "Filename: ./$package.ipk" >>$CTRLDIR/control | ||
226 | echo "Version: $version" >>$CTRLDIR/control | 225 | echo "Version: $version" >>$CTRLDIR/control |
227 | [ ! -z "$depends" ] && echo "Depends: $depends" >>$CTRLDIR/control | 226 | [ ! -z "$depends" ] && echo "Depends: $depends" >>$CTRLDIR/control |
228 | [ ! -z "$provides" ] && echo "Provides: $provides" >>$CTRLDIR/control | 227 | [ ! -z "$provides" ] && echo "Provides: $provides" >>$CTRLDIR/control |
229 | [ ! -z "$conflicts" ] && echo "Conflicts: $conflicts" >>$CTRLDIR/control | 228 | [ ! -z "$conflicts" ] && echo "Conflicts: $conflicts" >>$CTRLDIR/control |
230 | egrep -v "^(Files|Version|Depends|Provides|Conflicts|Architecture):" >>$CTRLDIR/control $i | 229 | egrep -v "^(Files|Version|Depends|Provides|Conflicts|Architecture):" >>$CTRLDIR/control $i |
231 | [ -n "$classicopts" ] && echo "$DEB_VERSION" >$TDIR/debian-binary | 230 | [ -n "$classicopts" ] && echo "$DEB_VERSION" >$TDIR/debian-binary |
232 | base=${i%.control} | 231 | base=${i%.control} |
233 | scripts="preinst postinst prerm postrm" | 232 | scripts="preinst postinst prerm postrm" |
234 | for pf in $scripts | 233 | for pf in $scripts |
235 | do | 234 | do |
236 | if [ -e ${base}.$pf ] | 235 | if [ -e ${base}.$pf ] |
237 | then | 236 | then |