diff options
author | austin <austin@azhang.bj.intel.com> | 2008-11-13 06:25:56 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-01 20:52:04 +0000 |
commit | 14ecbd658ead9daa8785bc4fe911ed6a8718c0b9 (patch) | |
tree | ffab6b7b5153c325c954d0def87d50881847c6c4 /meta-moblin | |
parent | 199828c20ee67984d2efd45e81f110f33f5bfa8e (diff) | |
download | poky-14ecbd658ead9daa8785bc4fe911ed6a8718c0b9.tar.gz |
Skip useless and memory-based folder when create the initial file list.
Diffstat (limited to 'meta-moblin')
-rwxr-xr-x | meta-moblin/packages/sreadahead/files/sreadahead-generate.sh | 2 |
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 | |||
13 | # That's our second boot, we can generate the sreadahead file list | 13 | # That's our second boot, we can generate the sreadahead file list |
14 | if [ -e /etc/readahead.packed.second ]; then | 14 | if [ -e /etc/readahead.packed.second ]; then |
15 | rm -f /etc/readahead.packed.second | 15 | rm -f /etc/readahead.packed.second |
16 | find / -type f > filelist.txt | 16 | find / -type f | grep -E -v "\/dev\/|\/proc\/|\/sys\/" > filelist.txt |
17 | 17 | ||
18 | /sbin/generate_filelist filelist.txt | 18 | /sbin/generate_filelist filelist.txt |
19 | rm filelist.txt | 19 | rm filelist.txt |