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:14:47 +0100 |
commit | 657e46480b6f21b3e81e3f33764392539d7308ef (patch) | |
tree | 6a194118c2dba5976602ae137a3b948e85d81f00 /scripts/yocto-layer | |
parent | 45bf11434061e5f78a28ce96ed4cc3cb74883953 (diff) | |
download | poky-657e46480b6f21b3e81e3f33764392539d7308ef.tar.gz |
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.
(From OE-Core rev: af56670f656ec0989aa7fd6cf6037cbc9cd88185)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-layer')
0 files changed, 0 insertions, 0 deletions