From 62c3e785d0ea603ff64825780f2b193ab3f4fe9f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 27 Jan 2012 08:31:28 -0500 Subject: Leave the "Installed-Size" field for the future. --- (limited to 'TODO') diff --git a/TODO b/TODO index d3b3ceb..2de99a9 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,4 @@ TODO: - * Calculate "Installed-Size" field values. * Fix oh-strip. * Make oh-strip obey a missing '-l' option. * Handle "Architecture" field in oh-gencontrol, opkbuild, and oh-buildopk. @@ -10,7 +9,18 @@ TODO: Future Plans: * Package signing. [2] + * Calculate "Installed-Size" field values. [3] Notes: 1: Requires change to format spec. 2: Requires opkg to be built with GnuPG and GPGME. + 3: There is an inconsistency between the Debian Policy and opkg in the units + of this field. The Debian Policy defines this field in units of kibibytes: + The disk space is given as the integer value of the estimated installed + size in bytes, divided by 1024 and rounded up. + However, opkg apparently attempts to convert this value from bytes to + kibibytes in its determination of whether the package's data will fit on the + system: + pkg_size_kbs = (pkg->installed_size + 1023)/1024; + For now, we'll omit this field (as a result, opkg simply won't make sure + there is enough free space). -- cgit v0.9.1