View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#20
@Bundyo

Your deb creating script has me in tears :P

[Email] should be <email>

To recalculate the correct size of an deb when it is created:
ar x foo.deb data.tar.gz ; mkdir tmp ; tar -C tmp -xzf data.tar.gz ; du -sb tmp ; rm -rf rmp data.tar.gz
(Thanks to aspect of #maemo)
You should then get a nice/correct number which you can repack the deb with by putting that number in the Installed-Size in control. But I think I had to remove one of the du options to get the right size (can't remember if it's -s or -b).

P.S, Sorry if I sound like a knob by saying this.

Last edited by qwerty12; 2008-10-01 at 06:48.