]> code.ossystems Code Review - openembedded-core.git/commit
populate-extfs.sh: fix to handle special file names correctly
authorChen Qi <Qi.Chen@windriver.com>
Tue, 8 Jul 2014 10:38:15 +0000 (18:38 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Jul 2014 15:09:10 +0000 (16:09 +0100)
commit24f17607e996c499c8f86eda0588d02af1e960b9
treea9f7b79ab451957ab9dda38c8e32ef7aadd50fbc
parent330c3085317a0b0981163ff5c41c54596e0d127d
populate-extfs.sh: fix to handle special file names correctly

`debugfs' treats spaces and "" specially. So when we are dealing with
file names, great care should be taken to make sure that `debugfs'
recognizes file names correctly.

The basic solution here is:
1. Use quotation marks to handle spaces correctly.
2. Replace "xxx" with ""xxx"" so that debugfs knows that the quotation
   marks are parts of the file name.

[YOCTO #6503]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh