Guest User

Remove absolute paths

a guest
Feb 8th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. Below do_install is giving absolute paths as below in rootfs. Is there a way to provide relative path without doing 'cd'
  2.  
  3. libmosquitto.so -> /home/ubuntu/data/poky-fido/ather/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/mosquitto/1.4.5-r0/image/usr/lib/libmosquitto.so.1
  4.  
  5. do_install() {
  6. oe_runmake
  7. install -d ${D}${libdir}
  8. install -m 0644 lib/libmosquitto.so.1 ${D}${libdir}/
  9. ln -s ${D}${libdir}/libmosquitto.so.1 ${D}${libdir}/libmosquitto.so
  10. }
Add Comment
Please, Sign In to add comment