summaryrefslogtreecommitdiff
path: root/mkipks
Unidiff
Diffstat (limited to 'mkipks') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkipks b/mkipks
index dedb060..d44f074 100755
--- a/mkipks
+++ b/mkipks
@@ -173,13 +173,13 @@ do
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