summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 626d7ccbe6..19438f2935 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