summaryrefslogtreecommitdiff
path: root/debian/libapt-pkg-doc.doc-base.method
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-03 13:07:37 +0100
committerJulian Andres Klode <jak@debian.org>2025-02-03 12:40:37 +0000
commitc303750ecb89b7210fe998515432e358b3cc0cff (patch)
tree52ad7bcd10f160a0724307d67ed888d1c80ebbed /debian/libapt-pkg-doc.doc-base.method
parent4137efbb2ec78bd3c8b8263ff20134d7fdc6f75b (diff)
Correctly calculate kernel size in /boot
Change the code to get the size from the existing vmlinuz, rather than using the package size, which only worked in Ubuntu, and possibly not on all kernel packages either. Refactor the code a bit to avoid the nested if as well, and use off_t to measure and sum the sizes before switching to floating point. Closes: #1085184
Diffstat (limited to 'debian/libapt-pkg-doc.doc-base.method')
0 files changed, 0 insertions, 0 deletions