correct tar link
When we create the /bin/tar in $(IPKG_INSTROOT) link we want it to point to /usr/bin/tar, and not to $(IPKG_INSTROOT)/usr/bin/tar as $(IPKG_INSTROOT) is certainly not a valid path on the built rootfs. Signed-off-by: Emmanuel Deloget <logout@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/packages@29813 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b50e0b1a74
commit
e6a00b49fd
@ -37,7 +37,7 @@ define Package/tar/postinst
|
|||||||
if [ -e $${IPKG_INSTROOT}/bin/tar ]; then
|
if [ -e $${IPKG_INSTROOT}/bin/tar ]; then
|
||||||
rm -r $${IPKG_INSTROOT}/bin/tar;
|
rm -r $${IPKG_INSTROOT}/bin/tar;
|
||||||
fi
|
fi
|
||||||
ln -sf $${IPKG_INSTROOT}/usr/bin/tar $${IPKG_INSTROOT}/bin/tar
|
ln -sf /usr/bin/tar $${IPKG_INSTROOT}/bin/tar
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/tar/postrm
|
define Package/tar/postrm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user