When i edit on rootfs and then compile nothing chnages ???

  • Hello


    When i do changes in dm7025/build/tmp/rootfs


    i do this command


    bitbake -cclean enigma2


    then bitbake enigma2


    and last


    bitbake dreambox-image


    then i go to the folder deply and i test the image and nothing changes also when i get back to see the changes i made in files i see no changes its still the same like i never edited



    i also tried withou -cclean


    didn't work


    help please

  • thanks for the rely


    but i still didn't understand


    you say that i should create a diff file


    ok but i still dont know how to write it and where i should put it so when i call it in enigma2 it will work


    can you please give me an example



    thanks

    Einmal editiert, zuletzt von DooMSaT ()

  • hi
    when you bitbake dreambox-image , your rootfs folder is deleted and rebuilt again , so your changes are gone !


    if you can't make diff , there is a nice trick to build the img from rootfs


    1- you need to export path to the binaries needed for building
    2- then use mkfs.jffs2 and buildimage commands to build boot.jffs2 , root.jffs2 and nfi files


    note that you need to remove all files in /boot folder before you build root.jffs2



    good luck

    2 Mal editiert, zuletzt von hazem ()

  • something like this :


    Code
    export PATH=$PATH:/home/hazem/Dreambox/dm800/build/tmp/staging/i686-linux/bin


    change according to your path

  • ok now the pathes that i made where i have to put them ???


    i mean in witch file (text)


    or what i should name the file??


    and i have to call it in enigam2.bb ??



    and can you tell me what are the buildimage commands ? because i use bitbake dreambox-image


    and as u said it will rebuild the rootfs

    Einmal editiert, zuletzt von DooMSaT ()

  • i made a diff file



    for example the bootlogo


    i called it dreambox-bootlogo.patch


    the original file is located in /openembedded/1.5/openembedded/packages/dreambox/dreambox-bootlogo.bb


    dreambox-bootlogo.patch is in the same directory


    this is what inside dreambox-bootlogo.patch


    Code
    17,19c17,19
    < http://sources.dreamboxupdate.com/download/7020/bootlogo-${MACHINE}-${IMAGES_VERSION}.mvi \
    < http://sources.dreamboxupdate.com/download/7020/bootlogo_wait-${MACHINE}-${IMAGES_VERSION}.mvi \
    < http://sources.dreamboxupdate.com/download/7020/backdrop-${MACHINE}-${IMAGES_VERSION}.mvi"
    ---
    > file:///oe/openembedded/1.5/dm7025/build/tmp/work/dreambox-bootlogo-2.1-r3/bootlogo-${MACHINE}-${IMAGES_VERSION}.mvi \
    > file:///oe/openembedded/1.5/dm7025/build/tmp/work/dreambox-bootlogo-2.1-r3/bootlogo_wait-${MACHINE}-${IMAGES_VERSION}.mvi \
    > file:///oe/openembedded/1.5/dm7025/build/tmp/work/dreambox-bootlogo-2.1-r3/backdrop-${MACHINE}-${IMAGES_VERSION}.mvi"



    i dont know if i did it right or not please tell me if im doning the right thing


    now i assume that the patch file is right


    how i can call it in enigma2.bb ???


    or is there any other file i can call it from ?


    help please


    ?


  • You can only patch enigma2 in enigma2.bb.


    For example - make a diff file oe_enigma2_diff.patch :-


    Then put this file in /packages/enigma2. Next name this file in enigma2.bb :-

    Code
    PV = "${REL_MAJOR}.${REL_MINOR}git${SRCDATE}" 
    SRC_URI = "svn://git.opendreambox.org/enigma2${SUBDIR};module=${MODULE};date=${SRCDATE} \ 
    # file://enigma2.sh" 
    file://oe_enigma2_diff.patch;patch=1;pnum=1 \ 
    file://enigma2.sh"


    Then bitbake enigma2.
    In the same way you can add patches to other .bb files.
    Regards, pcd.