[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installed-Size and block size

Scripsit Andre Majorel <aym-naibed@teaser.fr>
> On 2004-10-06 16:09 +0100, Henning Makholm wrote:

> > Do not try to compute Installed-Size by hand - dpkg-gencontrol will do
> > it for you correctly.

> For my enlightenment, what does dpkg-gencontrol do that is more
> correct than summing st_blocks ?

Use the source. It's free.

(Answer: dpkg-gencontrol uses du -k)

> > That is, unless you have a specific very good reason to bypass
> > dpkg-gencontrol (or its debhelper wrapper).

> I only use dpkg-architecture and dpkg-deb -b. Everything under
> DEBIAN/ is generated by hand.

Then you're asking for hardship. Have fun with it.

> Those are packages for a proprietary product. I looked into
> debhelper but it was just getting in the way

dpkg-gencontrol is not part of debhelper.

Henning Makholm                               "Hi! I'm an Ellen Jamesian. Do
                                        you know what an Ellen Jamesian is?"

Reply to: