[oe-issues] [Bug 2574] all dpkg scripts are poiting erroneously to perl native in workdir instead of /usr/bin/perl

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Thu Jun 28 18:44:02 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2574





--- Comment #2 from Koen Kooi <koen at dominion.kabel.utwente.nl>  2007-06-28 11:44:02 ---
I think all perl stuff needs a bbclass doing something like:

        for i in `find ${D} -name "*.pl"` ; do \
            sed -i -e s:${D}::g $i
            sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
        done

        if test -e ${D}${bindir} ; then 
            for i in ${D}${bindir}/* ; do \
                sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
            done
        fi

        if test -e ${D}${sbindir} ; then
            for i in ${D}${sbindir}/* ; do \
                sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
            done
        fi


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list