author | kergoth <kergoth> | 2002-02-04 22:14:18 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-02-04 22:14:18 (UTC) |
commit | d46cb220a09b41312d86bb33573940d3dcba2588 (patch) (unidiff) | |
tree | 6aacb1589d5de2ca908d067f99ba64dc608a6fa5 /mkipks | |
parent | 500e2f0cdbe82035516b7a1c576e08e0b2ad72b3 (diff) | |
download | opie-d46cb220a09b41312d86bb33573940d3dcba2588.zip opie-d46cb220a09b41312d86bb33573940d3dcba2588.tar.gz opie-d46cb220a09b41312d86bb33573940d3dcba2588.tar.bz2 |
latest qtopia merge as of 20020204.
-rwxr-xr-x | mkipks | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,17 +171,17 @@ do | |||
171 | echo >>$SPEC "Version: ${version%-*}" | 171 | echo >>$SPEC "Version: ${version%-*}" |
172 | echo >>$SPEC "Release: ${version#*-}" | 172 | echo >>$SPEC "Release: ${version#*-}" |
173 | 173 | ||
174 | echo >>$SPEC "%description" | 174 | echo >>$SPEC "%description" |
175 | sed -n -e '/^Description:/,$ p' $i | tail +2 >>$SPEC | 175 | sed -n -e '/^Description:/,$ p' $i | tail +2 >>$SPEC |
176 | echo >>$SPEC "%files" | 176 | echo >>$SPEC "%files" |
177 | echo >>$SPEC "%defattr(-,root,root)" | 177 | echo >>$SPEC "%defattr(-,root,root)" |
178 | /bin/ls $RPMFILES >>$SPEC | 178 | /bin/ls $RPMFILES >>$SPEC |
179 | rpm -bb $SPEC --target $ARCH-unknown-linux | 179 | rpm -bb --target $ARCH-unknown-linux $SPEC |
180 | # rm $SPEC | 180 | # rm $SPEC |
181 | elif [ -z "$IMAGEDIR" ] | 181 | elif [ -z "$IMAGEDIR" ] |
182 | then | 182 | then |
183 | #size=$(du -h -s $DATADIR | sed -e 's/[ ].*//') | 183 | #size=$(du -h -s $DATADIR | sed -e 's/[ ].*//') |
184 | size=$(mkfs.jffs2 -r $DATADIR | wc -c) | 184 | size=$(mkfs.jffs2 -r $DATADIR | wc -c) |
185 | echo "Package: $packagename" >$CTRLDIR/control | 185 | echo "Package: $packagename" >$CTRLDIR/control |
186 | echo "Installed-Size: $size" >>$CTRLDIR/control | 186 | echo "Installed-Size: $size" >>$CTRLDIR/control |
187 | echo "Filename: ./$package.ipk" >>$CTRLDIR/control | 187 | echo "Filename: ./$package.ipk" >>$CTRLDIR/control |