summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorP. 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)
commit62c3e785d0ea603ff64825780f2b193ab3f4fe9f (patch)
treeee419acd9f0dbabd56767f154d4583c9095e68a3 /TODO
parentef00882837ca68304ff933df0b2fcd0875fb5b6e (diff)
Leave the "Installed-Size" field for the future.
Diffstat (limited to 'TODO')
-rw-r--r--TODO12
1 files changed, 11 insertions, 1 deletions
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).