Problem building a custom DreamOS image for Dream One

  • Hi,


    I have tried to make a Peter Pan version of the original dreamone image. One recipe that worked with krogoth seems not to work with pyro build. The problem is that sysroot is not filled with the recipe files, but the package have the files inside.


    Any suggestions?


    Here is an copy of my recipe that worked with krogoth. The original recipe had the cp command, but no difference with the install command...


    Be nice to me, I am a complete idiot when it comes to recipes! But want to learn...


    The strange thing is that my other packages is building just fine, both packages and in sysroot.


    Here is a copy og my packagegroup-opendreambox-enigma2.bbappend


    - FoxyRabbit - Peter Pan team -

    Einmal editiert, zuletzt von FoxyRabbit ()

  • Hi thanks for the fast reply!


    I want these files to be compiled into my image, not only in the feed package. I have always done it like this, and it has worked fine right up to OE2.6. As I said before, it is strange that all the other packages builds into the image, but not this recipe. And why does it build the package?


    Where will I find the package log for this package? :upside_down_face:

    - FoxyRabbit - Peter Pan team -

  • Found it!


    The image build without errors, so I did not expect any error in the log either.

    - FoxyRabbit - Peter Pan team -

  • you can test this


    do_fetch_dreamone() {

    rm -rf ${WORKDIR}/PP

    mkdir ${WORKDIR}/pp

    cp -rf /home/ppteam/dreambox/import_2.6/PP/* ${WORKDIR}/PP

    }

    do_install_dreamone() {

    install -d ${D}${libdir}/enigma2/python/PP

    install -m 0755 ${WORKDIR}/PP/* ${D}${libdir}/enigma2/python/PP

    }


    but important install -m dont create folder when you have more folders you must create frist with

    install -d ${D}${libdir}/enigma2/python/PP/folder1 etc..

  • I just copied and pasted from what you posted.


    You had mkdir ${WORKDIR}/pp wich i corrected to mkdir ${WORKDIR}/PP


    The top of recipe is like pasted in first post.

    - FoxyRabbit - Peter Pan team -