ramips: load the input drivers during preinit
[openwrt.git] / tools / ipkg-utils / patches / 180-add_installed_size.patch
1 --- a/ipkg-build
2 +++ b/ipkg-build
3 @@ -250,6 +250,11 @@ mkdir $tmp_dir
4
5 echo $CONTROL > $tmp_dir/tarX
6 ( cd $pkg_dir && $TAR $ogargs -X $tmp_dir/tarX -czf $tmp_dir/data.tar.gz . )
7 +
8 +installed_size=`stat -c "%s" $tmp_dir/data.tar.gz`
9 +sed -i -e "s/^Installed-Size: .*/Installed-Size: $installed_size/" \
10 + $pkg_dir/$CONTROL/control
11 +
12 ( cd $pkg_dir/$CONTROL && $TAR $ogargs -czf $tmp_dir/control.tar.gz . )
13 rm $tmp_dir/tarX
14
This page took 0.042573 seconds and 5 git commands to generate.