initscripts: Updates for populate-volatile.sh:
authorJamie Lenehan <lenehan@twibble.org>
Tue, 21 Nov 2006 23:56:52 +0000 (23:56 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Tue, 21 Nov 2006 23:56:52 +0000 (23:56 +0000)
commit5ad430932e4d09cc0207ad9cfa029e0e08252b37
treebe16971ecb38592024544bb8bd2688d8979f84c7
parentb201fc63537726817bebb816b35742f22feb7e8a
initscripts: Updates for populate-volatile.sh:
- Add support for "update" as a parameter to force regeneration of
  the cache when run (if the cache is not being used it's ignored).
- When generating the cache add *all* needed commands to the cache,
  not just those that were actually needed on this run. Without this
  only the additional directories created during an update will be
  added to the cache.
Anything that calls populate-volatile.sh during postinst should now
pass update as a parameter. Currently (and before this change) if the
cache is enabled then any call to populate-volatile.sh during
postinst does nothing, generally breaking anything that uses
volatiles that is installed after the first boot of the device.
packages/initscripts/initscripts-1.0/populate-volatile.sh
packages/initscripts/initscripts_1.0.bb