Hi Baptiste,

On 21.05.2015 12:40, Baptiste Durand wrote:
Hi Leon,


There was problems related to post instllation in yocto, this lead to image runtime breaks.

At this time I'm facing to an GRUB issue due to a bug to bootimg.class.

Indeed USB image is done with 1 fat partition ony .
In the case of tizen due to image size , the partition is bigger than 512 Mo that leads to build faillure.


There is a sync of recipes to Q1 2015 in the branch "sandbox/durandba1/devel-common" for meta-tizen project and tizen-distro project.

If you use ext3 image directly, the runtime should work, I tested in on lenovo without any problem

Thank you for the feedback.

I am getting an error with recipe for capi-network-tethering while I am building tizen-common-core-image-crosswalk for machine genericx86-64 (the host is Debian 8). I am using the recipes from sandbox/durandba1/devel-common. Here is the build log:
https://gist.github.com/leon-anavi/abcf643a794f5168f16a

Do you have the same errors?

Are you also building tizen-common-core-image-crosswalk?

Thanks,
Leon



BR

Baptiste

2015-05-20 19:52 GMT+02:00 Leon Anavi <[email protected] <mailto:[email protected]>>:

    Hi,

    My research about the issue with pkgcmd on Tizen:Common image
    built for Yocto shows that most probably it is caused by SMACK.
    This is an output for the serial debug console when I try to
    install a wgt (logged as user bob):

    pkgcmd -i -t wgt -p helloTizen.wgt -q
    path is /home/bob/helloTizen.wgt
    [  502.766245] audit: type=1400 audit(502.765:229): lsm=SMACK
    fn=smack_inode_permission action=denied subject="System"
    object="_" requested=wx pid=704 comm="pkgcmd" name="dbspace"
    dev="mmcblk0p2" ino=8878
    [  502.890534] audit: type=1400 audit(502.889:230): lsm=SMACK
    fn=smack_inode_permission action=denied subject="System"
    object="_" requested=wx pid=708 comm="wgt" name="bob"
    dev="mmcblk0p2" ino=8875
    __return_cb req_id[1] pkg_type[wgt]
    pkgid[/home/bob/helloTizen.wgt] key[end] val[fail]
    processing result : FATAL_ERROR [61] failed
    spend time for pkgcmd is [162]ms

    SMACK options are enabled and the kernel configuration. It exists
    as an entry at /proc/filesystems:

    grep smackfs /proc/filesystems
    nodev   smackfs

    I also noticed that pkgcmd recipe in “Tizen on Yocto” is outdated.
    According to the git log on 1 April security-server was replaced
    by cynara in slp-pkgmgr but the Yocto recipe still uses commit
    5a9c95d025580510a18f80694f807dfdd569410f from 26 January.

    I guess the main issue related to the installation of wgt files is
    caused due to the wrong SMACK configuration at Yocto layers. I
    have reported the issue at JIRA:
    https://bugs.tizen.org/jira/browse/BTY-106

    Any suggestions how to fix this issue is welcome and it will be
    highly appreciated :)

    Thanks,
    Leon


    On 18.05.2015 13:18, Leon Anavi wrote:
    Hi Baptiste,

    On 14.05.2015 15:40, Baptiste Durand wrote:
    Hi Leon,

    I will deliver next week some  important changes in Tizen Yocto
    including synchronisation on Q1 2015 and Live USB fixing

    I will test your app with this new version of tizen yocto and I
    will keep you in touch

    Thank you for your feedback. I explored the source code of pkgmgr
    which provides pkcmd but I was unable to locate the issue that
    prevents me from installing wgt apps on Tizen:Common built with
    Yocto.

    Do you have any progress?

    Is the cause of this bug the same as in TC-1705? If not I can
    report it as a separate bug that affects Tizen on Yocto.

    Thanks,
    Leon


    Have a good week-end

    /Please note : today is a day off in France (Ascension Day)
    For Eurogiciel company , tomorrow is also a day off, so in
    consequence please don't expect answer before next week./
    /Sorry for inconvenience./
    /
    /

    BR

    Baptiste


    2015-05-14 11:37 GMT+02:00 Leon Anavi <[email protected]
    <mailto:[email protected]>>:

        Hi Art, Baptiste, All,

        Art, thank for sharing your experience. I have created a
        troubleshooting section at the existing wiki article and I
        added your notes there:
        
https://wiki.tizen.org/wiki/Installing_Web_Applications_on_Tizen:Common_and_Tizen_IVI#Troubleshooting

        Art, I tried both of your recommendations but unfortunately
        in my case the installation of the wgt file fails due to
        another reason. I shared the source code of the sample web
        app that I use at GitHub:
        https://github.com/leon-anavi/helloTizen

        I tested the wgt file on Intel NUC with Tizen:Common image
        built with GBS from yesterday and it works fine.

        The same app still fails to install with pkgcmd on
        Tizen:Common built using Yocto on MinnowBoard MAX. I guess
        the issue is caused my the version of the pkgcmd in the
        Yocto recipes.

        Baptiste, could you please share details which versions of
        pkgcmd and Crosswalk should I use in the Yocto recipes to
        fix this?

        Best regards,
        Leon


        On 13.05.2015 20:33, McGee, Art wrote:
        Leon,

        I've run into this problem in one of two ways.

        1.  The package your installing is using the same id as
        another package and they conflict.  You should uninstall
        the other first using the pkgcmd -u -n <id> -q
        2.  The other is the icon reference in your config.xml
        doesn't map to an image file.

        Art

        On 13 May 2015 at 09:53, Leon Anavi
        <[email protected] <mailto:[email protected]>>
        wrote:

            Hi Baptiste, All,

            I am unable to install wgt file with pkgcmd on
            MinnowBoard MAX with Tizen:Common built using Yocto due
            to the following error:

            path is /home/bob/basic.wgt
            __return_cb req_id[1] pkg_type[wgt]
            pkgid[/home/bob/basic.wgt] key[end] val[fail]
            processing result : FATAL_ERROR [61] failed
            spend time for pkgcmd is [712]ms

            I am using pkgcmd as described at the wiki:
            
https://wiki.tizen.org/wiki/Installing_Web_Applications_on_Tizen:Common_and_Tizen_IVI

            Tizen:Common has been built using Yocto rev_0.9 (image
            type tizen-common-core-image-crosswalk with crosswalk
            version 11.39.256.0) as described at the following wiki
            articles:
            https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto
            https://wiki.tizen.org/wiki/MinnowMax

            The issue seems similar to the following reports at
            Tizen and Crosswalk bug trackers:
            https://crosswalk-project.org/jira/browse/XWALK-2616
            https://bugs.tizen.org/jira/browse/TC-1705

            Could you please provide me guidelines how to solve
            this issue?

            Thanks,
            Leon

-- Leon Anavi
            Software Engineer
            Mob : +359 88 527 7901 <tel:%2B359%2088%20527%207901>
            konsulko.com <http://konsulko.com>

            _______________________________________________
            Dev mailing list
            [email protected] <mailto:[email protected]>
            https://lists.tizen.org/listinfo/dev




-- *Art McGee*
        Infotainment Engineer



        Jaguar Land Rover North America, LLC
        1419 NW 14th Ave, Portland, Oregon, 97209
        Jaguar.com <http://jaguar.com>  | LandRover.com
        <http://landrover.com>


-- Leon Anavi
        Software Engineer
        Mob :+359 88 527 7901  <tel:%2B359%2088%20527%207901>
        konsulko.com  <http://konsulko.com>




-- Baptiste DURAND
    Eurogiciel Vannes/FR

-- Leon Anavi
    Software Engineer
    Mob :+359 88 527 7901  <tel:%2B359%2088%20527%207901>
    konsulko.com  <http://konsulko.com>

-- Leon Anavi
    Software Engineer
    Mob :+359 88 527 7901  <tel:%2B359%2088%20527%207901>
    konsulko.com  <http://konsulko.com>




--
Baptiste DURAND
Eurogiciel Vannes/FR

--
Leon Anavi
Software Engineer
Mob : +359 88 527 7901
konsulko.com

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to