Insert .ipk with OE1.6 in compilation

  • How to and Where insert external .IPK's during compilation OE1.6?


    Where is a "export IPKG_INSTALL = " or similar ?? no longer into dreambox-image.bb (as with OE1.5)


    Thank you

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • ../openembedded/recipes/tasks/task-opendreambox-enigma2.bb

    DM8000 HD, (sata) HDD + (sata) SSD - DeLOCK + (usb) Stick, OoZooN OE2.0 (flash)
    QNAP TS-209 Pro, TS-409U, TS-219P
    40'' LCD Toshiba 40ZF355D
    AV : Logitech Z-5500 Digital

  • I'm not an expert, but have a look & try :


    ....


    RDEPENDS_task-opendreambox-enigma2 = "\
    dreambox-blindscan-utils \
    enigma2 \
    enigma2-defaultservices \
    enigma2-plugin-extensions-mediascanner \
    <==== insert your pakage(s) to be preinstalled
    enigma2-plugin-systemplugins-frontprocessorupgrade \
    enigma2-plugin-systemplugins-hotplug \
    enigma2-plugin-systemplugins-networkwizard \
    enigma2-plugin-systemplugins-softwaremanager \
    enigma2-plugin-systemplugins-videotune \
    enigma2-streamproxy \
    tuxbox-tuxtxt-32bpp \
    "


    RRECOMMENDS_task-opendreambox-enigma2 = "\
    aio-grab \
    python-crypt \
    python-netserver \
    python-twisted-core \
    python-twisted-protocols \
    python-twisted-web \
    <==== or here insert your pakage(s) to be preinstalled
    enigma2-plugin-extensions-cutlisteditor \
    enigma2-plugin-extensions-graphmultiepg \
    enigma2-plugin-extensions-mediaplayer \
    enigma2-plugin-extensions-pictureplayer \
    enigma2-plugin-extensions-webinterface \
    enigma2-plugin-systemplugins-satfinder \
    enigma2-plugin-systemplugins-positionersetup \
    enigma2-plugin-systemplugins-skinselector \
    ${@base_contains("MACHINE_FEATURES", "wifi", "task-opendreambox-wlan", "", d)} \
    ${@base_contains("MACHINE_FEATURES", "modem", "task-opendreambox-modem", "", d)} \
    "


    RDEPENDS_task-opendreambox-enigma2_append_dm500hd = "\
    enigma2-plugin-extensions-genuinedreambox \
    enigma2-plugin-systemplugins-videomode \
    enigma2-plugin-systemplugins-tempfancontrol \
    "


    RDEPENDS_task-opendreambox-enigma2_append_dm800 = "\
    enigma2-plugin-extensions-genuinedreambox \
    # if you like an preinstalled DVD-Player insert here this :
    task-opendreambox-dvdplayer \

    enigma2-plugin-systemplugins-videomode \
    "


    RDEPENDS_task-opendreambox-enigma2_append_dm8000 = "\
    enigma2-plugin-extensions-genuinedreambox \
    enigma2-plugin-systemplugins-commoninterfaceassignment \
    enigma2-plugin-systemplugins-videomode \
    "


    RRECOMMENDS_task-opendreambox-enigma2_append_dm8000 = "\
    task-opendreambox-cdplayer \
    task-opendreambox-dvdplayer \
    task-opendreambox-dvdburn \
    "
    ....

    DM8000 HD, (sata) HDD + (sata) SSD - DeLOCK + (usb) Stick, OoZooN OE2.0 (flash)
    QNAP TS-209 Pro, TS-409U, TS-219P
    40'' LCD Toshiba 40ZF355D
    AV : Logitech Z-5500 Digital

  • Hi Sienna, I tried but I always get an error (tuxbox failed). The important question is: which folder should put the ipk?


    I put my .ipk in all three directories under / deploy / ipk without result


    Thanks

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • I don't know what do you want to do ?


    You want to build your own tuxbox sources ?


    You want a preinstalled pakage after build in the image ?

    DM8000 HD, (sata) HDD + (sata) SSD - DeLOCK + (usb) Stick, OoZooN OE2.0 (flash)
    QNAP TS-209 Pro, TS-409U, TS-219P
    40'' LCD Toshiba 40ZF355D
    AV : Logitech Z-5500 Digital

  • I don't know what do you want to do ?


    You want to build your own tuxbox sources ?


    You want a preinstalled pakage after build in the image ?


    I want installed my personal ipk after build before creating .nfi


    With OE1.5 was it very simple.. added name of the ipk into dreambox-image.bb with string: export IPKG_INSTALL = " (the ipk located into /deploy/ipk folder)


    Hi

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • now use PACKAGE_INSTALL (see ../openembedded/classes/rootfs_ipk.bbclass)

    DM8000HD | DM7020HD | DM800HD | DM800HD | DM7020 | DM7000

  • You need to build the ipk inside OE with your own bb file... then you can add the package name to dreambox-image.bb.


    You can not just copy the ipk file into /build/tmp/deploy/ipk!

    MfG Ali

    DM8000 | DM8000 | DM500HD | DM500HD | DM7020S


    Bash
    #!/bin/sh
    while [ 1 ]
    do
    	echo "i love my dreams!!!"
    	sleep 1
    done
  • You need to build the ipk inside OE with your own bb file... then you can add the package name to dreambox-image.bb.


    :face_with_rolling_eyes: mmm... with OE1.6 do not use dreambox-image.bb... but "task-opendreambox-base.bb" for adding own bb: it's works.



    You can not just copy the ipk file into /build/tmp/deploy/ipk!


    Sure, but I can not even unpack a plugin (ipk) to reassemble by own .bb !!! absurd..
    I must not create an ipk, I have to install before build image.


    Hi

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • now use PACKAGE_INSTALL (see ../openembedded/classes/rootfs_ipk.bbclass)


    Now I confirm that your suggestion was right!


    RDEPENDS_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${IPKG_VARIANT} opkg-collateral", d)}"
    PACKAGE_INSTALL_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${IPKG_VARIANT} opkg-collateral", d)}"
    ---> INSERT HERE IPK


    fakeroot rootfs_ipk_do_rootfs () {
    set -x



    Example:


    RDEPENDS_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${IPKG_VARIANT} opkg-collateral", d)}"
    PACKAGE_INSTALL_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${IPKG_VARIANT} opkg-collateral", d)} \
    xxxx.ipk \
    yyyy.ipk"


    fakeroot rootfs_ipk_do_rootfs () {
    set -x



    THANK YOU DIETER!

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • ah .. learned some new things :smiling_face:


    That means, when I want add my own ipk pakage to the ipk feed, that I
    1) create a new recipe for my application
    2) build the application with bitbake
    3) and add with your example in the rootfs_ipk.bbclass the new ipk pakage ?


    is that the sense ?

    DM8000 HD, (sata) HDD + (sata) SSD - DeLOCK + (usb) Stick, OoZooN OE2.0 (flash)
    QNAP TS-209 Pro, TS-409U, TS-219P
    40'' LCD Toshiba 40ZF355D
    AV : Logitech Z-5500 Digital

  • this is very interesting


    but where to put the ipk file ?
    is it in .../build/tmp/deploy/ipk/mipsel ?


    thanks ..

    Einmal editiert, zuletzt von hazem ()

  • it didn't work for me. do i have to extract the ipk plugin?


    because i did like you said and it didn't preinstalled in the image.




  • before make image, the path "build/tmp/deploy/ipk/mipsel" does not exist.


    should I create it, and put ipk into before build image?



    I try to do it, but I get the error msg: No such file or directory

    Einmal editiert, zuletzt von fatty123456 ()


  • Yes, of course be made at least a cvs img.

    dm500 - dm7000 - dm7025 - dm800 - dm8000