create symbolic link in bitbake recipe

前端 未结 6 1689
挽巷
挽巷 2021-01-14 02:03

I have a .bbappend recipe that I need to create a symbolic link in my system.

This is how it looks like now:

bernardo@bernardo-ThinkCentre-Edge72:~/y         


        
6条回答
  •  走了就别回头了
    2021-01-14 02:42

    do_install_append () {
    install -d 0755 ${D}/dir
    install -d 0755 ${D}/dir/subdir
    cd ${D}/dir/subdir
    ln -sf /source_so_the_symbilic_link 
    

    } FILES_${PN} += "/dir"

提交回复
热议问题