summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWook Song <wook16.song@samsung.com>2019-07-10 15:22:20 +0900
committerWook Song <wook16.song@samsung.com>2019-07-10 15:22:20 +0900
commiteefd609d0c4b861ec25d5823ae104c671e9edd3e (patch)
tree4ace99280b8dc87ed751633fe9fd9b7faa7892bb
parentfc9b43d79f2987264081030a76a1efb2c5ced000 (diff)
downloadtoybox-eefd609d0c4b861ec25d5823ae104c671e9edd3e.tar.gz
toybox-eefd609d0c4b861ec25d5823ae104c671e9edd3e.tar.bz2
toybox-eefd609d0c4b861ec25d5823ae104c671e9edd3e.zip
packaging: full: Modify post script to use relative path
Creating symbolic links using absolute path in the post script usually fails during the 'mic' procedure so that this patch fixes such issue by changing the absolute path in the script to the relative path. Change-Id: I7078059a22b93876c027aea05a45dc0f266dbedb Signed-off-by: Wook Song <wook16.song@samsung.com>
-rw-r--r--packaging/toybox.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/toybox.spec b/packaging/toybox.spec
index 67ebf39..5d581b4 100644
--- a/packaging/toybox.spec
+++ b/packaging/toybox.spec
@@ -113,7 +113,7 @@ popd
popd
%post full
-%{_bindir}/toybox-full ln -s %{_bindir}/toybox-full %{_bindir}/toybox
+pushd %{_bindir} && ./toybox-full ln -s ./toybox-full ./toybox && popd
%files
%manifest toybox.manifest