summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/sreadahead/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/sreadahead/files')
-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