-------------------------------------------------------------------
+Mon Sep 10 10:55:45 CEST 2007 - lslezak@suse.cz
+
+- properly report fallback disk usage size (in kB instead of bytes)
+ when disk usage is not known (YUM repos) (#308475)
+
+-------------------------------------------------------------------
Fri Sep 7 13:27:26 CEST 2007 - ma@suse.de
- Install a sample /etc/zypp.conf. (#306615)
{
// No info: Creating a faked entry distributing the
// total package size in assumed 200 files to "/ZYPP_NO_DU_INFO"
+ // The reported size is in kB.
//
// Note: Less likely that some system has a mountpoint named
// ZYPP_NO_DU_INFO, so the size will be accounted to '/'.
// but adding a faked mountpoint entry an application is able
// to spot and handle these faked data in a different manner.
- _diskusage->add( "/ZYPP_NO_DU_INFO", size(), 200 );
+ _diskusage->add( "/ZYPP_NO_DU_INFO", size() / 1024, 200 );
}
}
return *_diskusage;
{
// No info: Creating a faked entry distributing the
// total source package size in assumed 20 files to "/usr/src/packages"
- _diskusage->add( "/usr/src/packages", size(), 20 );
+ // The reported size is in kB
+ _diskusage->add( "/usr/src/packages", size() / 1024, 20 );
}
}
return *_diskusage;