generic-poky/meta/packages/initscripts/initscripts-1.0
Kevin Tian e96dc90ba4 populate-volatile.sh: add "clearcache" cmdline option
Sometimes /etc/volatiles.cache is corrupted when Qemu gets crashed. Current logic
is to always execute cache file as long as it exists. When it's currupted, this
causes core volatile files/directories not created and then prevent many important
services from starting. Automatic check on cache goodness is one option. However
it's not easy since the currupted file could be various states. In one form,
it's full of zeros. In another form, some commands are truncated.

Here allow a cmdline option to force removing volatiles.cache file, since it's
easy for user to check whether the cache file is mal-formed. Usually you'll observe
typical directories like "/var/log/" or "/var/run" not found error.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2010-07-02 17:27:10 +08:00
..
arm initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
jornada6xx initscripts: do not install 'devices' initscript - we do not support devfsd 2008-06-13 14:19:47 +00:00
jornada7xx initscripts: do not install 'devices' initscript - we do not support devfsd 2008-06-13 14:19:47 +00:00
om-gta01 Rename fic-gta01 to om-gta01 as per upstream 2008-05-22 08:21:04 +00:00
openmn Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
banner.sh initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
bootmisc.sh initscripts: Remove pointless forks from timestamp code 2008-08-19 20:02:31 +00:00
checkfs.sh initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
checkroot.sh initscripts: Tweak checkroot to work with recent versions of busybox 2010-06-02 11:45:59 +01:00
device_table.txt initscripts: Add save-rtc script and ALSA manual devices table from OE.dev 2006-11-21 12:19:17 +00:00
devpts Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
devpts.sh initscripts: don't create subshells for simple tests 2008-06-25 15:09:05 +00:00
finish.sh initscripts: added initscript dependencies 2008-08-01 12:55:48 +00:00
functions initscripts: merge OE change of cpuinfo_id to machine_id, fixing gsmd's startup 2008-08-04 13:45:06 +00:00
halt initscripts: added initscript dependencies 2008-08-01 12:55:48 +00:00
hostname.sh initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
mountall.sh initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
mountnfs.sh initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
populate-volatile.sh populate-volatile.sh: add "clearcache" cmdline option 2010-07-02 17:27:10 +08:00
reboot initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
rmnologin.sh initscripts: Make rm nologin a .sh script 2008-08-01 11:30:57 +00:00
save-rtc.sh initscripts: Remove pointless forks from timestamp code 2008-08-19 20:02:31 +00:00
sendsigs initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
single initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
sysfs.sh initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
umountfs initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
umountnfs.sh initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
urandom initscripts: add dependency headers 2008-07-03 15:20:56 +00:00
volatiles base-files/initscripts: Switch to using /var/volatile for volatiles in common with OE.dev 2008-05-20 13:54:14 +00:00