summaryrefslogtreecommitdiff
path: root/meta-moblin/packages
diff options
context:
space:
mode:
authoraustin <austin@azhang.bj.intel.com>2008-11-13 06:25:56 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-01 20:52:04 +0000
commit14ecbd658ead9daa8785bc4fe911ed6a8718c0b9 (patch)
treeffab6b7b5153c325c954d0def87d50881847c6c4 /meta-moblin/packages
parent199828c20ee67984d2efd45e81f110f33f5bfa8e (diff)
downloadopenembedded-core-14ecbd658ead9daa8785bc4fe911ed6a8718c0b9.tar.gz
openembedded-core-14ecbd658ead9daa8785bc4fe911ed6a8718c0b9.tar.bz2
openembedded-core-14ecbd658ead9daa8785bc4fe911ed6a8718c0b9.tar.xz
openembedded-core-14ecbd658ead9daa8785bc4fe911ed6a8718c0b9.zip
Skip useless and memory-based folder when create the initial file list.
Diffstat (limited to 'meta-moblin/packages')
-rwxr-xr-xmeta-moblin/packages/sreadahead/files/sreadahead-generate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh b/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh
index 626d7ccbe..19438f293 100755
--- a/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh
+++ b/meta-moblin/packages/sreadahead/files/sreadahead-generate.sh
@@ -13,7 +13,7 @@ fi
# That's our second boot, we can generate the sreadahead file list
if [ -e /etc/readahead.packed.second ]; then
rm -f /etc/readahead.packed.second
- find / -type f > filelist.txt
+ find / -type f | grep -E -v "\/dev\/|\/proc\/|\/sys\/" > filelist.txt
/sbin/generate_filelist filelist.txt
rm filelist.txt