|
@@ -206,17 +206,15 @@ tmp_dir=$dest_dir/IPKG_BUILD.$$
|
|
|
mkdir $tmp_dir
|
|
|
|
|
|
( cd $pkg_dir && find . | grep -v $CONTROL | \
|
|
|
- sed "s#\(.*\)#:0:0::::::\1#" | \
|
|
|
- sort | cpio -o -Hustar -P | gzip -n9 > $tmp_dir/data.tar.gz )
|
|
|
+ sort | cpio --quiet -o -Hustar | gzip -n9 > $tmp_dir/data.tar.gz )
|
|
|
|
|
|
( cd $pkg_dir/$CONTROL && find . | \
|
|
|
- sed "s#\(.*\)#:0:0::::::\1#" | \
|
|
|
- sort | cpio -o -Hustar -P | gzip -n9 > $tmp_dir/control.tar.gz )
|
|
|
+ sort | cpio --quiet -o -Hustar | gzip -n9 > $tmp_dir/control.tar.gz )
|
|
|
|
|
|
echo "2.0" > $tmp_dir/debian-binary
|
|
|
pkg_file=$dest_dir/${pkg}_${version}_${arch}.ipk
|
|
|
rm -f $pkg_file
|
|
|
-( cd $tmp_dir && tar -zcf $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
|
|
|
+( cd $tmp_dir && tar -czf $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
|
|
|
rm $tmp_dir/debian-binary $tmp_dir/data.tar.gz $tmp_dir/control.tar.gz
|
|
|
rmdir $tmp_dir
|
|
|
echo "Packaged contents of $pkg_dir into $pkg_file"
|