[Buildroot] Some topics for the Buildroot Developer Day

Mike Frysinger vapier at gentoo.org
Tue Oct 25 05:53:27 UTC 2011


On Mon, Oct 24, 2011 at 17:44, Shawn J. Goff wrote:
>>    - Keep installing package files in their normal directory, but
>>      detect new files and modified files.
>>
>>      Pros:
>>
>>        no need to change anything in the current package installation
>>        procedures.
>>
>>      Cons:
>>
>>        need to scan the TARGET_DIR, STAGING_DIR and HOST_DIR after
>>        every package installation.
>>
>>        hard to detect modified/overwritten files, except by storing
>>        hashes of installed files.
>>
>
> Would inotify not be suitable for this? You could use it to generate a
> list of which files were created/deleted/modified.

not really.  you'd have to write an inotify daemon, and then keep it
running the entire time from when you last installed to the new
install.  basically it doesn't work out.
-mike



More information about the buildroot mailing list