diff options
author | P. J. McDermott <pjm@nac.net> | 2012-01-27 08:31:28 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-01-27 08:31:28 (EST) |
commit | 62c3e785d0ea603ff64825780f2b193ab3f4fe9f (patch) | |
tree | ee419acd9f0dbabd56767f154d4583c9095e68a3 /TODO | |
parent | ef00882837ca68304ff933df0b2fcd0875fb5b6e (diff) |
Leave the "Installed-Size" field for the future.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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). |