new error in rootfs

  • i get this error all time now


    ++ grep -i version /home/henrik/oe7020/build/tmp/rootfs/usr/lib/ipkg/info/enigma2.control
    grep: /home/henrik/oe7020/build/tmp/rootfs/usr/lib/ipkg/info/enigma2.control: No such file or directory
    + e2vers=


    please help

  • Could you provide the whole logfile?


    Are you sure that you want to build an enigma2-image for 7020?

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource

    Einmal editiert, zuletzt von dre ()

  • thanks for you answer


    then i must have misunderstod something.
    I want to build a image for dm7020 and following the howto
    the only thing i must change is the machine= dm7020 in the
    Makefile-opendreambox


    what else should i do ???


    thanks for your help

  • Zitat

    Originally posted by henge
    I want to build a image for dm7020 and following the howto


    2 questions :-


    (1) Enigma1 or enigma2 ? What are you trying to build ?


    (2) Which howto are you following ?

    Einmal editiert, zuletzt von pcd ()

  • thanks again for all your help


    I want to build a image for dm7020 and enigma1


    could you please point me in the correct direction please

  • I am having the same problem as henge.
    Build Method:-
    wget http//tmb.elitedvb.net/Makefile-opendreambox
    make -f Makefile-opendreambox update-self
    vi Makefile-opendreambox and change to dm7020
    make -f Makefile-opendreambox
    make -f Makefile-opendreambox image

  • Thanks forgot that.


    I started from beginning having done all the stuff for Debian distro.
    Then what I posted b4.


    Same result.


    Also broken links for file-4.23


    regards
    The Count

  • Please post your Makefile-opendreambox. The start should be like this :-



    Please note 1.5 and 1.6.8.


    Cheers, pcd.

  • the problem is the new .nfo file generation in dreambox-image.bb.
    It tries to find an e2 version string, which obviously isn't there for e1 images.


    For now, just comment the e2version stuff at the bottom of packages/images/dreambox-image.bb

  • Zitat

    Originally posted by pieterg
    the problem is the new .nfo file generation in dreambox-image.bb.
    It tries to find an e2 version string, which obviously isn't there for e1 images.


    For now, just comment the e2version stuff at the bottom of packages/images/dreambox-image.bb


    Thanks.


    Like this?


    do_rootfs_append() {
    # e2vers=`grep -i version "${IMAGE_ROOTFS}/usr/lib/ipkg/info/enigma2.control"`
    # echo -e "Enigma2:\tExperimental ${e2vers:9:3}" > ${NFO}
    echo -e "Machine:\tDreambox ${MACHINE}" >> ${NFO}
    echo -e "Date:\t$(date +%Y-%m-%d' '%H':'%M)" >> ${NFO}
    echo -e "Issuer:\tDream Multimedia TV" >> ${NFO}
    distrover=${DISTRO_VERSION}
    echo -e "Link:\thttp://dreamboxupdate.com/${DISTRO}/${distrover:0:3}/${MACHINE}/experimental" >> ${NFO}
    if [ "${DESC}" != "" ]; then
    echo -e "Description:\t${DESC}" >> ${NFO}
    echo -e ${DESC} >> ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.desc
    fi
    echo -e "md5sum:\t" >> ${NFO}
    cd ${DEPLOY_DIR_IMAGE}
    md5sum ${IMAGE_NAME}.nfi >> ${NFO}
    }

  • Log.do_rootfs:

    Code
    + export TOPDIR=/home/dario/build800/build + test -z 609021935 + bbimage -n dreambox-image-dm800-20081022081926 -t jffs2 -e /home/dario/build800/openembedded/packages/images/dreambox-image.bb
    NOTE: Executing mkfs.jffs2 --root=/home/dario/build800/build/tmp/rootfs/boot --faketime --output=/home/dario/build800/build/tmp/deploy/images/dreambox-
    image-dm800-20081022081926.boot.jffs2  --eraseblock=0x4000 -n -l ; rm -rf /home/dario/build800/build/tmp/rootfs/boot/*; mkfs.jffs2 --root=/home/dario/
    build800/build/tmp/rootfs --faketime --output=/home/dario/build800/build/tmp/deploy/images/dreambox-image-dm800-20081022081926.rootfs.jffs2  --
    eraseblock=0x4000 -n -l ; buildimage /home/dario/build800/build/tmp/staging/mipsel-linux/lib/dreambox-secondstage/main.bin.gz /home/dario/build800/build/
    tmp/deploy/images/dreambox-image-dm800-20081022081926.boot.jffs2 /home/dario/build800/build/tmp/deploy/images/dreambox-image-dm800-20081022081926.rootfs.jffs2 dm800 64 > /home/dario/build800/build/
    tmp/deploy/images/dreambox-image-dm800-20081022081926.nfi ERROR: function image_cmd failed
    ERROR: see log in /home/dario/build800/build/tmp/work/dreambox-image-1.0-r0/templog.image_cmd.9189


    log.image:

    Code
    mkfs.jffs2: opening directory /home/dario/build800/build/tmp/rootfs/usr/lib/ipkg/alternatives/[: Not a directory


    Next build with same configuration worked out fine.

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