Re: [yocto] meta-selinux warrior support

2019-10-08 Thread Mohammad, Jamal M
Yes openembedded-core has glib-2.60.x in master branch. When I updated the glib 
recipe to what it is present in master branch. Similar error was reported by 
mesa recipe. I performed the same process and now I have warrior build 
available with selinux enabled

From: Jussi Kukkonen 
Sent: Tuesday, October 8, 2019 12:33 PM
To: Mark Hatle 
Cc: Oriya, Raxesh ; yocto@yoctoproject.org; C M, 
Kiran Reddy ; Mohammad, Jamal M 

Subject: Re: [yocto] meta-selinux warrior support

*External Message* - Use caution before opening links or attachments

On Tue, 8 Oct 2019 at 09:59, Jussi Kukkonen mailto:j...@goto.fi>> 
wrote:


On Mon, 7 Oct 2019 at 17:57, Mark Hatle 
mailto:mark.ha...@kernel.crashing.org>> wrote:
I thought this issue was already fixed:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?h=warrior=bb0c9c3abcb935e4b362eb57985e1ee7fec0bfe0<https://urldefense.com/v3/__http:/git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?h=warrior=bb0c9c3abcb935e4b362eb57985e1ee7fec0bfe0__;!9cTk8lEYrHI!_NfmPJMRhiXL2qhIop6uLhChWTOSbHKxot-FGygv9jnHXS1HsCVYfGDANPjJQPvTHQTD3KeZ$>

From the error log:
> glib-2.58.3

From the commit changelog
> In glib 2.60.x, it turns selinux into a meson feature.

That should explain the issue -- maybe oe-core was older than meta-selinux or 
glib was older for another reason.

Actually, poky warrior only has Glib 2.58.3, right? So the meta-selinux commit 
makes no sense in Warrior branch?




This patch is what specifically adds the enabled/disabled that the system is
saying (in the logs quoted below) is invalid.

Can you try changing these to 'true' and 'false' instead?

In the file: classes/meson-enable-selinux.bbclass

--Mark

On 10/1/19 1:39 AM, Oriya, Raxesh wrote:
> Hi,
>
>
>
> I am getting the below error when I am trying to integrate 'meta-selinux' into
> our yocto solution. This error also happens when I just build
> 'core-image-selinux' by including the required layers in warrior branch. Can
> anyone provide a fix for this..
>
>
>
> local.conf contains the following lines:
>
> -
>
> DISTRO_FEATURES_append = " acl xattr pam selinux"
>
> PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mls"
>
> -
>
>
>
> ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: meson failed
>
> ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: Function failed: do_configure
> (log file is located at
> /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2.58.3-r0/temp/log.do_configure.34545)
>
> ERROR: Logfile of failure stored in:
> /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2.58.3-r0/temp/log.do_configure.34545
>
> Log data follows:
>
> | DEBUG: Executing shell function do_configure
>
> | NOTE: Executing meson -Ddtrace=false -Dfam=false -Dsystemtap=false
> -Dselinux=false -Dlibmount=true -Dman=false -Dselinux=disabled
> -Dinternal_pcre=false -Dinstalled_tests=false...
>
> | The Meson build system
>
> | Version: 0.49.2
>
> | Source dir:
>
> | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2
>
> | .58.3-r0/glib-2.58.3 Build dir:
>
> | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2
>
> | .58.3-r0/build
>
> | Build type: native build
>
> |
>
> | 
> meson.build<https://urldefense.com/v3/__http:/meson.build__;!9cTk8lEYrHI!_NfmPJMRhiXL2qhIop6uLhChWTOSbHKxot-FGygv9jnHXS1HsCVYfGDANPjJQPvTHQmUm7_x$>:1:0:
>  ERROR:  Value disabled is not boolean (true or false).
>
> |
>
> | A full log can be found at
>
> | /home/panther2/warrior/build/tmp/work/x86_64-linux/glib-2.0-native/1_2
>
> | .58.3-r0/build/meson-logs/meson-log.txt
>
> | ERROR: meson failed
>
>
>
> Thanks,
>
> Raxesh
>
>
>
>
--
___
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto<https://urldefense.com/v3/__https:/lists.yoctoproject.org/listinfo/yocto__;!9cTk8lEYrHI!_NfmPJMRhiXL2qhIop6uLhChWTOSbHKxot-FGygv9jnHXS1HsCVYfGDANPjJQPvTHT1fZ2us$>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Flashing Yocto Images using Clonezilla

2018-11-28 Thread Mohammad, Jamal M
Hi Guys,


We are using meta-intel layer to generate .hddimg.

We can flash the generated .hddimg using Bootable Thumb Drive, but using this 
mechanism in manufacturing is not a good solution.

We need some way to flash the Yocto Image using clonezilla, as hddimg is not 
recognized by clonezilla.

Do we need to add any IMAGE_FSTYPES to make it work. Or is there any other 
solutions to flash Yocto Images over PXE Boot

Thanks for your time and patience
Regards,
Jamal,
Software Specialist
NCR Corporation
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] PXE Boot on Yocto Intel Hardware

2018-11-20 Thread Mohammad, Jamal M
Hi Guys,

We are trying to set up PXE boot in Yocto.

Our hardware is Apollo Lake based SoC (intel-core-i7), I used tftp32 utility, 
started dns, tftp and dhcp server and put "bootx64.efi" as boot file

When I do "PXE Boot" from hardware, it successfully copies the bootx64.efi file 
into the hardware and displays GRUB cli.

What should I do for me to flash the .hddimg over PXE

Thanks for your time and patience.

Regards,
Jamal,
Software Specialist,
NCR Corporation
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] lib32-ncurses not installing in rootfs

2018-11-07 Thread Mohammad, Jamal M
Thanks Ross, for the clear explanation.. It did solved my issue and a new 
learning of the oe-pkgdata-util …

Once again Thanks.

From: Burton, Ross [mailto:ross.bur...@intel.com]
Sent: Wednesday, November 7, 2018 6:19 PM
To: Mohammad, Jamal M 
Cc: ChenQi ; Yocto-mailing-list 
Subject: Re: [yocto] lib32-ncurses not installing in rootfs

The curses libraries are split up further, have a look at what else is in 
packages-split, or even better use oe-pkgdata-util:

$ oe-pkgdata-util list-pkg-files -p lib32-ncurses
...
lib32-ncurses-libncurses:
/lib/libncurses.so.5
/lib/libncurses.so.5.9
lib32-ncurses-libncursesw:
/lib/libncursesw.so.5
/lib/libncursesw.so.5.9
lib32-ncurses-libpanel:
/usr/lib/libpanel.so.5
/usr/lib/libpanel.so.5.9
...

$ oe-pkgdata-util find-path 
*/libncurses.so<https://urldefense.proofpoint.com/v2/url?u=http-3A__libncurses.so=DwQFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=XiOoUQ9VVXLFv74QHvGMFMZk2GoI3_VkYJvl3Wrk8vI=yDubrmB0Bn5cQGennUTz9cbjETfju_I4HXBjQbDwGlM=>.*
lib32-ncurses-dbg: /lib/.debug/libncurses.so.5.9
lib32-ncurses-libncurses: /lib/libncurses.so.5
lib32-ncurses-libncurses: /lib/libncurses.so.5.9

Ross

On Wed, 7 Nov 2018 at 09:39, Mohammad, Jamal M 
mailto:mohammadjamal.mohiud...@ncr.com>> wrote:
There are many directories inside packages-split folder , lib32-ncurses, 
lib32-ncurses-dbg, lib32-ncurses-dev, lib32-ncurses-doc

Looking into lib32-ncurses,

lib32-ncurses
└── usr
├── bin
│   ├── tput
│   └── tset
└── share
└── tabset
├── std
├── stdcrt
├── vt100
└── vt300

It doesn’t have lib folder, so where are the 
libncurses.so<https://urldefense.proofpoint.com/v2/url?u=http-3A__libncurses.so=DwQFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=XiOoUQ9VVXLFv74QHvGMFMZk2GoI3_VkYJvl3Wrk8vI=yDubrmB0Bn5cQGennUTz9cbjETfju_I4HXBjQbDwGlM=>
 missing..

From: ChenQi [mailto:qi.c...@windriver.com<mailto:qi.c...@windriver.com>]
Sent: Wednesday, November 7, 2018 3:04 PM
To: Mohammad, Jamal M 
mailto:mohammadjamal.mohiud...@ncr.com>>; 
Yocto-mailing-list mailto:yocto@yoctoproject.org>>
Subject: Re: [yocto] lib32-ncurses not installing in rootfs

*External Message* - Use caution before opening links or attachments


Check the packages-split/ directory to see how files are put in each package.
I guess these files are packages into other packages derived from the ncurses 
recipe.

Best Regards,
Chen Qi

On 11/07/2018 05:21 PM, Mohammad, Jamal M wrote:
Hi Guys,
I am trying to add 32-bit ncurses into my root file system
I am using intel yocto bsp sumo branch
Here is my local.conf:

require conf/multilib.conf
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " dpkg gnutls lib32-glibc lib32-libgcc lib32-libstdc++ 
lib32-gnutls lib32-freetype lib32-libx11 lib32-ncurses lib32-dpkg 
python3-six"

ncurses folder is present in tmp
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0

The image folder is created and has the libraries
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0/image/lib
libncurses.so.5  libncurses.so.5.9  libncursesw.so.5  libncursesw.so.5.9  
libtinfo.so.5  libtinfo.so.5.9

But these files are not present in root file system.
How can i debug or what should be my next step to get them into root file 
system. which log files should I look
Thanks for your time.

Regards,
Jamal,
Software Specialist,
NCR Corporation



--
___
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_listinfo_yocto=DwMFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=XiOoUQ9VVXLFv74QHvGMFMZk2GoI3_VkYJvl3Wrk8vI=prmVvE0S_hIg01XQMZzh49SweVjqOYpmqC1BtHSSaeo=>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] lib32-ncurses not installing in rootfs

2018-11-07 Thread Mohammad, Jamal M
I see libncurses.so file in ncurses-dev folder in packages-split folder.. Do I 
need to add lib32-ncurses-dev in local.conf

From: Mohammad, Jamal M
Sent: Wednesday, November 7, 2018 3:08 PM
To: 'ChenQi' ; Yocto-mailing-list 

Subject: RE: [yocto] lib32-ncurses not installing in rootfs

There are many directories inside packages-split folder , lib32-ncurses, 
lib32-ncurses-dbg, lib32-ncurses-dev, lib32-ncurses-doc

Looking into lib32-ncurses,

lib32-ncurses
└── usr
├── bin
│   ├── tput
│   └── tset
└── share
└── tabset
├── std
├── stdcrt
├── vt100
└── vt300

It doesn't have lib folder, so where are the libncurses.so missing..

From: ChenQi [mailto:qi.c...@windriver.com]
Sent: Wednesday, November 7, 2018 3:04 PM
To: Mohammad, Jamal M 
mailto:mohammadjamal.mohiud...@ncr.com>>; 
Yocto-mailing-list mailto:yocto@yoctoproject.org>>
Subject: Re: [yocto] lib32-ncurses not installing in rootfs

*External Message* - Use caution before opening links or attachments


Check the packages-split/ directory to see how files are put in each package.
I guess these files are packages into other packages derived from the ncurses 
recipe.

Best Regards,
Chen Qi

On 11/07/2018 05:21 PM, Mohammad, Jamal M wrote:
Hi Guys,
I am trying to add 32-bit ncurses into my root file system
I am using intel yocto bsp sumo branch
Here is my local.conf:

require conf/multilib.conf
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " dpkg gnutls lib32-glibc lib32-libgcc lib32-libstdc++ 
lib32-gnutls lib32-freetype lib32-libx11 lib32-ncurses lib32-dpkg 
python3-six"

ncurses folder is present in tmp
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0

The image folder is created and has the libraries
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0/image/lib
libncurses.so.5  libncurses.so.5.9  libncursesw.so.5  libncursesw.so.5.9  
libtinfo.so.5  libtinfo.so.5.9

But these files are not present in root file system.
How can i debug or what should be my next step to get them into root file 
system. which log files should I look
Thanks for your time.

Regards,
Jamal,
Software Specialist,
NCR Corporation



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] lib32-ncurses not installing in rootfs

2018-11-07 Thread Mohammad, Jamal M
There are many directories inside packages-split folder , lib32-ncurses, 
lib32-ncurses-dbg, lib32-ncurses-dev, lib32-ncurses-doc

Looking into lib32-ncurses,

lib32-ncurses
└── usr
├── bin
│   ├── tput
│   └── tset
└── share
└── tabset
├── std
├── stdcrt
├── vt100
└── vt300

It doesn't have lib folder, so where are the libncurses.so missing..

From: ChenQi [mailto:qi.c...@windriver.com]
Sent: Wednesday, November 7, 2018 3:04 PM
To: Mohammad, Jamal M ; Yocto-mailing-list 

Subject: Re: [yocto] lib32-ncurses not installing in rootfs

*External Message* - Use caution before opening links or attachments


Check the packages-split/ directory to see how files are put in each package.
I guess these files are packages into other packages derived from the ncurses 
recipe.

Best Regards,
Chen Qi

On 11/07/2018 05:21 PM, Mohammad, Jamal M wrote:
Hi Guys,
I am trying to add 32-bit ncurses into my root file system
I am using intel yocto bsp sumo branch
Here is my local.conf:

require conf/multilib.conf
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " dpkg gnutls lib32-glibc lib32-libgcc lib32-libstdc++ 
lib32-gnutls lib32-freetype lib32-libx11 lib32-ncurses lib32-dpkg 
python3-six"

ncurses folder is present in tmp
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0

The image folder is created and has the libraries
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0/image/lib
libncurses.so.5  libncurses.so.5.9  libncursesw.so.5  libncursesw.so.5.9  
libtinfo.so.5  libtinfo.so.5.9

But these files are not present in root file system.
How can i debug or what should be my next step to get them into root file 
system. which log files should I look
Thanks for your time.

Regards,
Jamal,
Software Specialist,
NCR Corporation




-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] lib32-ncurses not installing in rootfs

2018-11-07 Thread Mohammad, Jamal M
Hi Guys,
I am trying to add 32-bit ncurses into my root file system
I am using intel yocto bsp sumo branch
Here is my local.conf:

require conf/multilib.conf
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " dpkg gnutls lib32-glibc lib32-libgcc lib32-libstdc++ 
lib32-gnutls lib32-freetype lib32-libx11 lib32-ncurses lib32-dpkg 
python3-six"

ncurses folder is present in tmp
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0

The image folder is created and has the libraries
build/tmp/work/x86-pokymllib32-linux/lib32-ncurses/6.0+20171125-r0/image/lib
libncurses.so.5  libncurses.so.5.9  libncursesw.so.5  libncursesw.so.5.9  
libtinfo.so.5  libtinfo.so.5.9

But these files are not present in root file system.
How can i debug or what should be my next step to get them into root file 
system. which log files should I look
Thanks for your time.

Regards,
Jamal,
Software Specialist,
NCR Corporation
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Server Certificate Verification Failed

2018-11-05 Thread Mohammad, Jamal M
Thanks Ross, I don't know what happened, I am not getting ssl errors now..

-Original Message-
From: Burton, Ross [mailto:ross.bur...@intel.com] 
Sent: Monday, November 5, 2018 4:00 PM
To: Mohammad, Jamal M 
Cc: Yocto-mailing-list 
Subject: Re: [yocto] Server Certificate Verification Failed

*External Message* - Use caution before opening links or attachments

On Mon, 5 Nov 2018 at 10:24, Mohammad, Jamal M 
 wrote:
> I have time correct and ca-certificates installed. This is the message 
> I get when I access it over web:  
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.
> org_git_meta-2Dintel=DwIFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65q
> oDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=PA2AQ19Quf9OrvBIryxr6r4LBcD3PmH361TVH
> sP4Gdc=3fUG387G3k5gsEs8Eipvs3eDiXiMyWKkp0SbEZFJJ-o=
>
> This 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__git.yoctoproject.o
> rg=DwIFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn
> -Loy2L0LHnCs=PA2AQ19Quf9OrvBIryxr6r4LBcD3PmH361TVHsP4Gdc=ec0jRo36V
> nExAGq8qmN4m720OhSJ8fHGRSQptosTeL4= page can’t be found No webpage 
> was found for the web address: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.
> org_git_meta-2Dintel=DwIFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65q
> oDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=PA2AQ19Quf9OrvBIryxr6r4LBcD3PmH361TVH
> sP4Gdc=3fUG387G3k5gsEs8Eipvs3eDiXiMyWKkp0SbEZFJJ-o=
> HTTP ERROR 404

$ git clone 
https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_git_meta-2Dintel=DwIFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=PA2AQ19Quf9OrvBIryxr6r4LBcD3PmH361TVHsP4Gdc=3fUG387G3k5gsEs8Eipvs3eDiXiMyWKkp0SbEZFJJ-o=
Cloning into 'meta-intel'...
remote: Counting objects: 16480, done.
remote: Compressing objects: 100% (5294/5294), done.
remote: Total 16480 (delta 9783), reused 16208 (delta 9511) Receiving objects: 
100% (16480/16480), 4.61 MiB | 397.00 KiB/s, done.
Resolving deltas: 100% (9783/9783), done.

That URL doesn't show anything useful in a browser as it's a git repository, 
not a web page.
https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject.org_cgit_cgit.cgi_meta-2Dintel_=DwIFaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=PA2AQ19Quf9OrvBIryxr6r4LBcD3PmH361TVHsP4Gdc=doeNUplj8cXnvAq07YtHmuMyjQes91x27XlDAPMfzSg=
 is the human-readable cgit frontend.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Server Certificate Verification Failed

2018-11-05 Thread Mohammad, Jamal M
I have time correct and ca-certificates installed. This is the message I get 
when I access it over web:  https://git.yoctoproject.org/git/meta-intel

This git.yoctoproject.org page can’t be found No webpage was found for the web 
address: https://git.yoctoproject.org/git/meta-intel
HTTP ERROR 404

Can you please check at your end whether you are able to access the website

Thanks and Regards,
Jamal



-Original Message-
From: Burton, Ross [mailto:ross.bur...@intel.com] 
Sent: Monday, November 5, 2018 3:49 PM
To: Mohammad, Jamal M 
Cc: Yocto-mailing-list 
Subject: Re: [yocto] Server Certificate Verification Failed

*External Message* - Use caution before opening links or attachments

On Mon, 5 Nov 2018 at 09:02, Mohammad, Jamal M 
 wrote:
> Fetching projects:  60% (3/5)  fatal: unable to access 
> 'https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject
> .org_git_poky_=DwIBaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N65qoDnmts
> yGh_QYq3kPCn-Loy2L0LHnCs=2XE9zm23G_VokDDCU8pxNIKgRkDt7OH0CYapDuJ16_o
> =-6qzvrVhJNSFhN5zU9LZHfoYeSW_ig6mFGlUHTUvc2g=': server certificate 
> verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt 
> CRLfile: none
>
> fatal: unable to access 
> 'https://urldefense.proofpoint.com/v2/url?u=https-3A__git.yoctoproject
> .org_git_meta-2Dintel_=DwIBaQ=gJN2jf8AyP5Q6Np0yWY19w=4h__2a8-7N6
> 5qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs=2XE9zm23G_VokDDCU8pxNIKgRkDt7OH0CYa
> pDuJ16_o=Su-QP1Q_v-DPQBFVexWNf8f_Mr8wNE5Mdg-OLw_lL0U=': server 
> certificate verification failed. CAfile: 
> /etc/ssl/certs/ca-certificates.crt CRLfile: none
>
> error: Cannot fetch poky
>
>
>
> I then tried to open the above link from website, I got a similar 
> message: NET::ERR_CERT_DATE_INVALID

These are all problems with your machine: you don't have the CA certificates 
installed, and the latter suggests that your local clock is wrong.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Server Certificate Verification Failed

2018-11-05 Thread Mohammad, Jamal M
Hi Guys,

I am getting the following error :

Fetching projects:  60% (3/5)  fatal: unable to access 
'https://git.yoctoproject.org/git/poky/': server certificate verification 
failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: unable to access 'https://git.yoctoproject.org/git/meta-intel/': server 
certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt 
CRLfile: none
error: Cannot fetch poky

I then tried to open the above link from website, I got a similar message: 
NET::ERR_CERT_DATE_INVALID
Can you please look into this.

Thanks and Regards,
Jamal,
Software Specialist,
NCR Corporation
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] conflicting requests error while building SDK

2018-10-18 Thread Mohammad, Jamal M
Hi Guys,

I got the following conflicting requests error while building SDK

I am using sumo branch , and generic core-intel-i7-64 machine configuration.

Running the following command: bitbake -c populate_sdk core-image-minimal

Fails at the last step with the following error.

ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Could not invoke dnf. Command 
'/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf
 -y -c 
/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/sdk/image/opt/poky/2.5/sysroots/corei7-64-poky-linux/etc/dnf/dnf.conf
 
--setopt=reposdir=/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/sdk/image/opt/poky/2.5/sysroots/corei7-64-poky-linux/etc/yum.repos.d
 
--repofrompath=oe-repo,/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/oe-sdk-repo
 
--installroot=/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/sdk/image/opt/poky/2.5/sysroots/corei7-64-poky-linux
 
--setopt=logdir=/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/temp
 --nogpgcheck install lib32-dpkg lib32-libstdc++6 
lib32-packagegroup-core-standalone-sdk-target lib32-libx11-6 lib32-ncurses 
lib32-libgcc1 lib32-libgnutls30 lib32-libfreetype6 lib32-libc6 run-postinsts 
libgnutls30 dpkg kernel-devsrc packagegroup-core-standalone-sdk-target 
packagegroup-core-boot target-sdk-provides-dummy' returned 1:
Added oe-repo repo from 
/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/oe-sdk-repo
Last metadata expiration check: 0:00:02 ago on Thu 18 Oct 2018 01:12:30 PM UTC.
Error:
 Problem: conflicting requests
  - nothing provides /usr/bin/python needed by 
kernel-devsrc-1.0-r0.intel_corei7_64

ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Function failed: 
do_populate_sdk
ERROR: Logfile of failure stored in: 
/home/jamal/repotest1/yocto_intel_build/tmp/work/intel_corei7_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_populate_sdk.11307
ERROR: Task 
(/home/jamal/repotest1/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk)
 failed with exit code '1'

I found similar error in yocto mailing list, but unable to understand.. Can you 
please help me to resolve this issue.. Thanks for your time


https://lists.yoctoproject.org/pipermail/yocto/2018-February/039941.html



I have /usr/bin/python in my system
Thanks and Regards,
Jamal,
NCR Corporation

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] populate_sdk fails when multilib enabled

2018-10-15 Thread Mohammad, Jamal M
Hi Guys,

I am having customized Apollo Lake Board.

Using generic meta-intel layer with MACHINE=intel-corei7-64, Branch = sumo

We wanted to support 32-bit libraries, so added multilib in local.conf

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"


IMAGE_INSTALL_append = " openssh dpkg gnutls lib32-glibc lib32-libgcc 
lib32-libstdc++ lib32-gnutls lib32-freetype lib32-libx11 lib32-ncurses 
lib32-dpkg lsof cronie logrotate lib32-libxml2 screen mg eudev libudev s"
EXTRA_IMAGE_FEATURES ?= " ssh-server-openssh debug-tweaks tools-debug "

When I ran the following command: bitbake -c populate_sdk core-image-minimal, 
it fails with the following..


Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
lib32-packagegroup-core-standalone-sdk-target : Depends: 
lib32-glibc-gconv-cp1252 but it is not installable
 Depends: 
lib32-glibc-gconv-ibm850 but it is not installable
 Depends: 
lib32-glibc-gconv-iso8859-1 but it is not installable
 Depends: 
lib32-glibc-gconv-iso8859-15 but it is not installable
 Depends: 
lib32-glibc-localedata-i18n but it is not installable
 Depends: lib32-libatomic-dev 
but it is not installable
 Depends: lib32-libatomic1 but 
it is not installable
 Depends: lib32-libc6 but it is 
not installable
 Depends: lib32-libc6-dbg but 
it is not installable
 Depends: lib32-libc6-dev but 
it is not installable
 Depends: lib32-libc6-thread-db 
but it is not installable
 Depends: lib32-libc6-utils but 
it is not installable
 Depends: lib32-libgcc-s-dev 
but it is not installable
 Depends: lib32-libgcc1 but it 
is not installable
 Depends: lib32-libsegfault but 
it is not installable
 Depends: lib32-libstdc++-dev 
but it is not installable
 Depends: lib32-libstdc++6 but 
it is not installable
 Recommends: lib32-libssp-dev 
but it is not installable
 Recommends: lib32-libssp0 but 
it is not installable
E: Unable to correct problems, you have held broken packages.

Please help me in resolving this problem.. Appreciate your efforts and time.

Thanks and Regards,
Jamal
NCR Corporation

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] pygtk package in yocto

2018-04-27 Thread Mohammad, Jamal M
Hi Guys,

I am using the latest branch of poky and meta-oe . I need pygtk package for one 
of my application as it's one of the requirement for it to run.

Pygtk is supported in Jethro branch. Do I need to switch to Jethro branch for 
my project or did anyone port pygtk recipe port for the latest version.

Please help.

Thanks for your help and time

Regards,
Jamal
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Yocto Boot Question

2018-04-13 Thread Mohammad, Jamal M
I also faced a similar issue while installing on Intel machine, switching to 
other machine I was able to install and boot successfully.. I have not tried 
network boot option..

Which is the board you are using and what is the machine type?

Regards,
Jamal

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Raymond Yeung
Sent: Tuesday, April 10, 2018 10:53 PM
To: yocto@yoctoproject.org
Subject: [yocto] Yocto Boot Question


Hi,



I've successfully booted a BSP using USB thumb drive (.hddimg type).  I've two 
follow-up questions -



  1.  The BIOS offers "Serial Install" which seems to copy the USB boot image 
over to SSD.  Would SSD be using the same .hddimg type?  Right now, after the 
above install, when I switch boot order to try both SSD (0 and 1), booting 
doesn't seem to work.
  2.  When using network boot option, what image type should I use?


It would be great if details have already been documented somewhere.



Thanks,

Raymond
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] MACHINE .conf file

2018-04-10 Thread Mohammad, Jamal M
Did you add meta-intel layer in conf/bblayers.conf file.. It will be present in 
that directory.

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Raymond Yeung
Sent: Tuesday, April 10, 2018 1:42 AM
To: yocto@yoctoproject.org
Subject: [yocto] MACHINE .conf file


Some questions about MACHINE:

1. I'd customized MACHINE (="intel-corei7-64") variable in conf/local.conf 
under my build directory, as per document, and had successfully generated an 
image for my H/W.  However, I don't seem to find "intel-corei7-64.conf" file in 
meta/conf/machine under poky source directory.  Is this normal?

2. How many machine files are there per target machine, and should it be in 
meta/conf/machine under source directory (similar to #1, but just a 
confirmation for me)?

3. To install an "external" .ko in the root filesystem, my understanding is I 
need to add its name to MACHINE_XXX_RRECOMMENDS (or one of the other 3) in 
machine .conf file.  If there's only 1 machine file, this is obvious.  If not, 
where should I put it?
Raymond
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto