From eefd609d0c4b861ec25d5823ae104c671e9edd3e Mon Sep 17 00:00:00 2001 From: Wook Song Date: Wed, 10 Jul 2019 15:22:20 +0900 Subject: 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 --- packaging/toybox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3