diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-gencontrol.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index eeb8e47..5d8b397 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -59,6 +59,10 @@ gen_control() # kibibytes in its determination of whether the package's data will fit # on the system: # pkg_size_kbs = (pkg->installed_size + 1023)/1024; + # (from libopkg/opkg_install.c line 245) + # (still in upstream as of 2019-02-25, libopkg/opkg_install.c:118) + # In other words, if a package declares an installed size of 10 KiB, + # opkg checks for 10 MiB of available space. # TODO: Further investigate opkg's disk space calculation and, if # necessary, patch opkg and submit a bug report. inst_size=$(((${inst_size} + 1023) / 1024)) |