diff options
author | Jonathan Liu <net147@gmail.com> | 2013-05-23 09:37:07 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-24 14:07:03 +0100 |
commit | af56670f656ec0989aa7fd6cf6037cbc9cd88185 (patch) | |
tree | e4072b68296bf4f38a07e167d2093bcbedcf97c8 /meta/recipes-core/systemd/systemd-serialgetty | |
parent | c11ba731fb245683148d0a8485b8c4d73bf94c28 (diff) | |
download | openembedded-core-af56670f656ec0989aa7fd6cf6037cbc9cd88185.tar.gz openembedded-core-af56670f656ec0989aa7fd6cf6037cbc9cd88185.tar.bz2 openembedded-core-af56670f656ec0989aa7fd6cf6037cbc9cd88185.zip |
populate-volatile.sh: remove repeated leading slashes in TNAME
This avoids triple slashes in the generated /etc/volatile.cache to
reduce disk usage and in the output when verbose mode is enabled.
As all the paths for volatiles start with a slash, we can change
TNAME=${ROOT_DIR}/${TNAME} to TNAME=${ROOT_DIR}${TNAME}. To avoid
a double slash when ROOT_DIR is /, we strip the extra slash from
ROOT_DIR.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty')
0 files changed, 0 insertions, 0 deletions