* [PATCH 0/1] runqemu-extract-sdk: normalize paths to improve output
@ 2014-07-03 3:02 Chen Qi
2014-07-03 3:02 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2014-07-03 3:02 UTC (permalink / raw)
To: openembedded-core
The following changes since commit c36d459f0d40bdbd3ba809835e0475e8992bc778:
python3: fix builtins imports (2014-06-30 16:35:03 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/runqemu-extract-sdk-paths
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/runqemu-extract-sdk-paths
Chen Qi (1):
runqemu-extract-sdk: normalize paths to improve output
scripts/runqemu-extract-sdk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] runqemu-extract-sdk: normalize paths to improve output
2014-07-03 3:02 [PATCH 0/1] runqemu-extract-sdk: normalize paths to improve output Chen Qi
@ 2014-07-03 3:02 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2014-07-03 3:02 UTC (permalink / raw)
To: openembedded-core
Previously, we would have output like below from runqemu-extract-sdk.
Creating directory /home/chenqi/poky/build-systemd/./nfs-root
Normalize paths for runqemu-extract-sdk so that we have output like below.
Creating directory /home/chenqi/poky/build-systemd/nfs-root
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
| 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk
index 4ce906a..32ddd48 100755
--- a/scripts/runqemu-extract-sdk
+++ b/scripts/runqemu-extract-sdk
@@ -49,7 +49,7 @@ fi
# Convert SDK_ROOTFS_DIR to a full pathname
if [[ ${SDK_ROOTFS_DIR:0:1} != "/" ]]; then
- SDK_ROOTFS_DIR=$(pwd)/$SDK_ROOTFS_DIR
+ SDK_ROOTFS_DIR=$(readlink -f $(pwd)/$SDK_ROOTFS_DIR)
fi
TAR_OPTS=""
@@ -74,6 +74,7 @@ if [ ! -d "$SDK_ROOTFS_DIR" ]; then
fi
pseudo_state_dir="$SDK_ROOTFS_DIR/../$(basename "$SDK_ROOTFS_DIR").pseudo_state"
+pseudo_state_dir="$(readlink -f $pseudo_state_dir)"
if [ -e "$pseudo_state_dir" ]; then
echo "Error: $pseudo_state_dir already exists!"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-03 3:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03 3:02 [PATCH 0/1] runqemu-extract-sdk: normalize paths to improve output Chen Qi
2014-07-03 3:02 ` [PATCH 1/1] " Chen Qi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.