Update image with GIT?

  • How-to the manual update with git?


    with monotone was:
    cd /home/..../openembedded
    mtn pull monotone.openembedded.org org.openembedded.dreambox
    mtn update
    cd /home/..../build
    source ./env.source
    bitbake -D -cclean world
    bitbake -D dreambox-image


    but with Git?? :confused_face:



    Many thanks

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • git pull instead of mtn pull. No arguments needed, if you've created a '--track' branch.


    btw, if you're using the wrapper makefile, just use 'make openembedded-update', just like with the mtn wrapper makefile.

  • Zitat

    Originally posted by pieterg
    git pull instead of mtn pull. No arguments needed, if you've created a '--track' branch.


    btw, if you're using the wrapper makefile, just use 'make openembedded-update', just like with the mtn wrapper makefile.


    cd /home/..../openembedded
    git pull
    cd /home/..../build
    source ./env.source
    bitbake -D -cclean world
    bitbake -D dreambox-image


    ? it's ok?

    dm500 - dm7000 - dm7025 - dm800 - dm8000

    Einmal editiert, zuletzt von eagle ()

  • Then.... nobody knows how to update an existing GIT environment at TODAY?


    There is a simple procedure?


    FIRST was sufficient:


    update the date of enigma2.bb at tomorrow, and immediately after:


    cd /home/..../openembedded
    mtn pull monotone.openembedded.org org.openembedded.dreambox
    mtn update
    cd /home/..../build
    source ./env.source
    bitbake -D -cclean world
    bitbake -D dreambox-image


    And it worked perfectly! and now??? no simple solution?


    Thanks

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • ...and without monotone (through CVS) it was even easier...
    Now it's only a nightmare...
    Why no one make a clear and simple howto for building and updating an image (and in english, not german...)?
    I don't mean theory (wich is always important) but some practical examples to help people who wants going on building own images!
    Wich files have to be modified, and how?
    Wich branches are to be followed?
    Wich commands are to be executed?
    Thx

    DM 920UHD - DM Two - DM One - DM 7020HD-v2 - DM 7020HD

  • can't you just wait until all issues are sorted out?
    btw, currently opendreambox 1.5 uses a svn copy of the git repository for enigma2, so incrementing the srcdate in enigma2.bb as before should be sufficient...


    oh, and git/mtn don't have anything to do with it :grinning_squinting_face:

    Homescreen eurer Apple-Geräte noch nicht voll genug?


    dreaMote: Fernbedienung für Dreamboxen
    Mobile WOL: Wake-on-LAN Client für iOS mit optionalem Widget
    My Home Remote: Fernkontrolle für Homematic CCU/CCU2 optimiert für mobile Benutzung

  • Zitat

    Originally posted by ritzMo
    can't you just wait until all issues are sorted out?
    btw, currently opendreambox 1.5 uses a svn copy of the git repository for enigma2, so incrementing the srcdate in enigma2.bb as before should be sufficient...


    oh, and git/mtn don't have anything to do with it :grinning_squinting_face:


    Thx for your answer!
    Surely and with pleasure we will wait until all issues were sorted out, but when all this stuff begun it would be so simple to say "Don't warry and be patient, we will explain you as soon as we were ready"
    On the contrary no one said a word, and the unavoidable questions were replayed vaguely, often in german, leaving lot of people into the nightmare to be suddently unable to compile a single image...
    Anyway, thank you: we are all waiting for the "revelation" :winking_face:

    DM 920UHD - DM Two - DM One - DM 7020HD-v2 - DM 7020HD

  • Zitat

    Originally posted by ritzMo
    can't you just wait until all issues are sorted out?
    btw, currently opendreambox 1.5 uses a svn copy of the git repository for enigma2, so incrementing the srcdate in enigma2.bb as before should be sufficient...


    oh, and git/mtn don't have anything to do with it :grinning_squinting_face:


    Ok, i use the 1.5 BUT incrementing scrdate don't work.
    AFTER the update scrdate what should I do specifically ?


    cd .../openembedded
    git pull
    cd .../build
    source ./env.source
    bitbake -cclean world
    bitbake dreambox-image


    DON'T WORK!! DON'T UPDATE FILES indicated into https://lists.elitedvb.net/pip…s/2008-November/date.html


    can you explain me why?
    :confused_face:

    dm500 - dm7000 - dm7025 - dm800 - dm8000

  • first you should update the tree before altering it locally - just to prevent merging errors (but as you most likely won't change them back to their original state before doing the new pull that does not really apply ;)).


    but besides of that it looks fine (though cleaning the tree is questionable in your scenario - after all packages with a new version should get (re)build anyways and if you have enough storage so you can keep more than one copy of some packages around you might as well just leave it out (or do at least again: do it after you update your tree because if the version changes bitbake will try to clean the new version which was not yet build anyways)).


    are you checking out trunk or enigma2_rel24?

    Homescreen eurer Apple-Geräte noch nicht voll genug?


    dreaMote: Fernbedienung für Dreamboxen
    Mobile WOL: Wake-on-LAN Client für iOS mit optionalem Widget
    My Home Remote: Fernkontrolle für Homematic CCU/CCU2 optimiert für mobile Benutzung


  • and now?

    dm500 - dm7000 - dm7025 - dm800 - dm8000

    Einmal editiert, zuletzt von eagle ()

  • hi eagle,
    ritzmo has wrote to you that you must change the source date in enigma2.bb.
    the file is in openembedded/packages/enigma2



    this it the same way in Monotone when you wont a new enigma2 you must change the source date in enigma2.bb


    you must also activate the 2.5 branche in the enigma2.bb and enigma2-plugins.bb default is 2.4


    i hope that helps you.


    nobody611

  • when you build an image for a dm8000, you use the 2.5 tree automaticly.
    but i have trouble to checkout the latest sources.


    does somebody else have this problems? everything works fine on wednesday but since thursday i only get this errormessages. :confused_face:

    mfg


    OoZooN


    Support für OoZooN Images gibt es auf forum.oozoon.de , nicht hier!


    Two Beer or not two Beer, thats the Question


    Aktuelle Nachrichten rund um OoZooN-Images gibt es auf Twitter

  • hi OoZoon,
    i had the same problem i has removed in sources/svn/ the enigma2 directory and it works again.
    it looks like that they changed the revision id in the svn


    nobody611

  • yes, this work but now it tries to build a linux kernel for the 8000 with the bb of the 800 which for shure won't work. but this also happen when i trie to build an image for the 600. i hate this change to git. maybe monotone was slow, but it works......

    mfg


    OoZooN


    Support für OoZooN Images gibt es auf forum.oozoon.de , nicht hier!


    Two Beer or not two Beer, thats the Question


    Aktuelle Nachrichten rund um OoZooN-Images gibt es auf Twitter


  • I tryed also with dm7025 but don't work.... the image completed no change respect to the previous images... :confused_face:

    dm500 - dm7000 - dm7025 - dm800 - dm8000

    • Offizieller Beitrag
    Zitat

    Original von OoZooNit tries to build a linux kernel for the 8000 with the bb of the 800


    That seems to be a misbehaviour of bitbake. Please delete the lines PN="..." from linux-dm*.bb" or pull this patch: http://git.opendreambox.org/?p…48e4e0c15ab5086f54c523f19


    Zitat

    but this also happen when i trie to build an image for the 600.


    I'm not sure what you mean here, because linux-dm600pvr.bb doesn't use a variable in PN.


    [Edit: corrected URL to patch]