[Buildroot] [PATCH v3] core/pkg-generic: only save latest package list
Peter Korsgaard
peter at korsgaard.com
Tue May 1 21:01:25 UTC 2018
>>>>> "John" == John Keeping <john at metanate.com> writes:
> When rebuilding a package, simply appending the package's file list to
> the global list means that the package list grows for every rebuild, as
> does the time taken to check for files installed by multiple packages.
> Furthermore, we get false positives where a file is reported as being
> installed by multiple copies of the same package.
> With this approach we may end up with orphaned files in the target
> filesystem if a package that has been updated and rebuilt no longer
> installs the same set of files, but we know that only a clean build will
> produce reliable results. In fact it may be helpful to identify these
> orphaned files as evidence that the build is not clean.
> Signed-off-by: John Keeping <john at metanate.com>
> ---
> Changes in v3:
> - Use touch instead of redirect to avoid truncating the file
Committed to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list