diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-02-03 12:42:13 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-02-03 12:42:13 +0000 |
| commit | 70a325116f002d476bd9bb018f3032ada5da0da2 (patch) | |
| tree | 7db1a71ec3a10cf390a75d8ed1107655363e8e8c /apt-private | |
| parent | 4137efbb2ec78bd3c8b8263ff20134d7fdc6f75b (diff) | |
| parent | 452586e84ad54ca23dee399bf9809c49e7171f36 (diff) | |
Merge branch 'boot-space-2' into 'main'
Correctly calculate kernel size in /boot
See merge request apt-team/apt!444
Diffstat (limited to 'apt-private')
| -rw-r--r-- | apt-private/private-install.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index 3f05cf9fb..208a27749 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -348,8 +348,8 @@ bool InstallPackages(CacheFile &Cache, APT::PackageVector &HeldBackPackages, boo if (statvfs(_config->FindDir("Dir::Usr").c_str(), &st) == 0) { struct statvfs st_boot; - double BootSize = 0; - double InitrdSize = 0; + unsigned long long BootSize = 0; + unsigned long long InitrdSize = 0; if (statvfs(_config->FindDir("Dir::Boot").c_str(), &st_boot) == 0 && st_boot.f_fsid != st.f_fsid) BootSize = Cache->BootSize(false); else |
