[yocto] [meta-raspberrypi][PATCH V3] wic: support to set /root size and add extra partition

2019-11-13 Thread Hongxu Jia
- Support to add extra partition, such as add swap partition to workaround memory limitation - Support to set /root size Signed-off-by: Hongxu Jia --- conf/machine/include/rpi-base.inc | 11 ++- ...age-raspberrypi.wks => sdimage-raspberrypi.wks.in} | 3 ++- 2

[yocto] [meta-raspberrypi][PATCH V2] wic: support to set /root size and add extra partition

2019-11-13 Thread Hongxu Jia
- Support to add extra partition, such as add swap partition to workaround memory limitation - Support to set /root size Signed-off-by: Hongxu Jia --- conf/machine/include/rpi-base.inc | 11 ++- ...age-raspberrypi.wks => sdimage-raspberrypi.wks.in} | 3 ++- 2

Re: [yocto] [meta-raspberrypi][PATCH] wic: add swap partition and set /root and /swap size

2019-11-13 Thread Hongxu Jia
On 11/14/19 2:30 PM, Khem Raj wrote: On Thu, 2019-11-14 at 06:04 +, Hongxu Jia wrote: - Add swap partition to workaround memory limitation - Support to set /root and /swap size, 4G /root and 1G /swap by default Signed-off-by: Hongxu Jia --- conf/machine/include/rpi-base.inc

Re: [yocto] [meta-raspberrypi][PATCH] wic: add swap partition and set /root and /swap size

2019-11-13 Thread Khem Raj
On Thu, 2019-11-14 at 06:04 +, Hongxu Jia wrote: > - Add swap partition to workaround memory limitation > > - Support to set /root and /swap size, 4G /root and 1G /swap by > default > > Signed-off-by: Hongxu Jia > --- > conf/machine/include/rpi-base.inc | 5 >

[yocto] [meta-raspberrypi][PATCH] wic: add swap partition and set /root and /swap size

2019-11-13 Thread Hongxu Jia
- Add swap partition to workaround memory limitation - Support to set /root and /swap size, 4G /root and 1G /swap by default Signed-off-by: Hongxu Jia --- conf/machine/include/rpi-base.inc | 5 - wic/{sdimage-raspberrypi.wks => sdimage-raspberrypi.wks.in} | 3 ++-

Re: [yocto] QA notification for completed autobuilder build (yocto-2.7.2.rc1)

2019-11-13 Thread akuster808
On 11/13/19 6:09 PM, Jain, Sangeeta wrote: > Hello All, > > Intel and WR YP QA is planning for QA execution for YP build yocto-2.7.2.rc1. > We are planning to execute following tests for this cycle: > > OEQA-manual tests for following module: > 1. OE-Core > 2. BSP-hw > 3. BSP-Qemu > > Runtime

Re: [yocto] QA notification for completed autobuilder build (yocto-2.7.2.rc1)

2019-11-13 Thread Jain, Sangeeta
Hello All, Intel and WR YP QA is planning for QA execution for YP build yocto-2.7.2.rc1. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw 3. BSP-Qemu Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2.

Re: [yocto] Collaboration on Testing GCC/LLVM Toolchains

2019-11-13 Thread Khem Raj
On Wed, Nov 13, 2019 at 4:02 PM Nicholas Krause wrote: > > Greetings All, > > I'm a student working on multi-threading GCC and researching it. Seems > that it my > > time doing it and other things with the project it would be great to > start collaborating > > on testing gcc/llvm upstream with

[yocto] [meta-selinux][PATCH 19/19] audit: switch to python3

2019-11-13 Thread Yi Zhao
* Switch to python3 * Drop patches: audit-python-configure.patch audit-python.patch fix-swig-host-contamination.patch Signed-off-by: Yi Zhao --- .../audit/audit/audit-python-configure.patch | 46 - .../audit/audit/audit-python.patch| 64 ---

[yocto] [meta-selinux][PATCH 18/19] setools: upgrade 4.1.1 -> 4.2.2

2019-11-13 Thread Yi Zhao
* Switch to python3 * Drop patches: Fix-build-failure-with-GCC-7-due-to-possible-truncat.patch setools4-fix-cross-compiling-errors-for-powerpc-mips.patch Signed-off-by: Yi Zhao --- ...e-with-GCC-7-due-to-possible-truncat.patch | 105 --

[yocto] [meta-selinux][PATCH 15/19] selinux-gui: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Switch to python3 Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-gui.inc| 2 +- recipes-security/selinux/selinux-gui_2.8.bb | 7 --- recipes-security/selinux/selinux-gui_2.9.bb | 7 +++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 13/19] selinux-dbus: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Switch to python3 Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-dbus.inc| 2 +- recipes-security/selinux/selinux-dbus_2.8.bb | 7 --- recipes-security/selinux/selinux-dbus_2.9.bb | 7 +++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644

[yocto] [meta-selinux][PATCH 14/19] selinux-sandbox: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Switch to python3 * Rebase patch Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-sandbox.inc | 10 -- .../selinux/selinux-sandbox/sandbox-de-bashify.patch | 9 + recipes-security/selinux/selinux-sandbox_2.8.bb| 7 ---

[yocto] [meta-selinux][PATCH 16/19] semodule-utils: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
Signed-off-by: Yi Zhao --- recipes-security/selinux/semodule-utils_2.8.bb | 7 --- recipes-security/selinux/semodule-utils_2.9.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/semodule-utils_2.8.bb create mode 100644

[yocto] [meta-selinux][PATCH 17/19] selinux-init: fix build error when enable usrmerge feature

2019-11-13 Thread Yi Zhao
Fix the following error when enable usrmerge feature: ERROR: selinux-init-0.1-r0 do_package: QA Issue: selinux-init: Files/directories were installed but not shipped in any package: /usr Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing

[yocto] [meta-selinux][PATCH 10/19] mcstrans: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Rebase patches Signed-off-by: Yi Zhao --- recipes-security/selinux/mcstrans.inc | 4 ++-- .../mcstrans/mcstrans-de-bashify.patch| 23 +++ ...tch => mcstrans-fix-the-init-script.patch} | 14 +++ recipes-security/selinux/mcstrans_2.8.bb | 7 --

[yocto] [meta-selinux][PATCH 09/19] policycoreutils: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Switch to python3 Signed-off-by: Yi Zhao --- recipes-security/selinux/policycoreutils.inc| 16 recipes-security/selinux/policycoreutils_2.8.bb | 8 recipes-security/selinux/policycoreutils_2.9.bb | 8 3 files changed, 12 insertions(+), 20 deletions(-)

[yocto] [meta-selinux][PATCH 12/19] selinux-python: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Switch to python3 * Drop patches: fix-TypeError-for-seobject.py.patch process-ValueError-for-sepolicy-seobject.patch * Rebase patches Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-python.inc | 62 +-- .../fix-TypeError-for-seobject.py.patch | 30

[yocto] [meta-selinux][PATCH 08/19] secilc: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
Signed-off-by: Yi Zhao --- recipes-security/selinux/secilc_2.8.bb | 7 --- recipes-security/selinux/secilc_2.9.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/secilc_2.8.bb create mode 100644

[yocto] [meta-selinux][PATCH 11/19] restorecond: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Rebase patches Signed-off-by: Yi Zhao --- ...icycoreutils-make-O_CLOEXEC-optional.patch | 29 +++ recipes-security/selinux/restorecond_2.8.bb | 7 - recipes-security/selinux/restorecond_2.9.bb | 7 + 3 files changed, 24 insertions(+), 19 deletions(-) delete mode

[yocto] [meta-selinux][PATCH 06/19] libsemanage: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Switch to python3 * Drop patches: libsemanage-fix-path-nologin.patch 0001-src-Makefile-fix-includedir-in-libselinux.pc.patch * Rebase patches * Update policy version to 31 Signed-off-by: Yi Zhao --- recipes-security/selinux/libsemanage.inc | 26 ++---

[yocto] [meta-selinux][PATCH 07/19] checkpolicy: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
Signed-off-by: Yi Zhao --- recipes-security/selinux/checkpolicy_2.8.bb | 7 --- recipes-security/selinux/checkpolicy_2.9.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/checkpolicy_2.8.bb create mode 100644

[yocto] [meta-selinux][PATCH 05/19] libselinux-python: add recipe

2019-11-13 Thread Yi Zhao
After switch to python3, There is a loop dependency error with libselinux-python package when build libselinux. Split the original libselinux recipe into libselinux and libselinux-python. Signed-off-by: Yi Zhao --- .../selinux/libselinux-python.inc | 40 +++

[yocto] [meta-selinux][PATCH 04/19] libselinux: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Switch to python3 * Drop patches: 0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch 0001-src-Makefile-fix-includedir-in-libselinux.pc.patch * Split into libselinux recipe and libselinux-python recipe to fix the loop dependency error. Signed-off-by: Yi Zhao ---

[yocto] [meta-selinux][PATCH 03/19] libsepol: uprev to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Drop patch 0001-src-Makefile-fix-includedir-in-libsepol.pc.patch Signed-off-by: Yi Zhao --- ...kefile-fix-includedir-in-libsepol.pc.patch | 29 --- recipes-security/selinux/libsepol_2.8.bb | 9 -- recipes-security/selinux/libsepol_2.9.bb | 7 + 3 files

[yocto] [meta-selinux][PATCH 02/19] selinux: uprev inc files to 2.9 (20190315)

2019-11-13 Thread Yi Zhao
* Update SRC_URI * Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux_20180524.inc | 5 - recipes-security/selinux/selinux_20190315.inc | 8 recipes-security/selinux/selinux_common.inc | 4 +--- 3 files changed, 9

[yocto] [meta-selinux][PATCH 00/19] selinux: upgrade 2.8 -> 2.9

2019-11-13 Thread Yi Zhao
* Upgrade to 2.9 * Switch to python3 * Refresh patches Yi Zhao (19): python-ipy: upgrade to 1.00 and add python3 version selinux: uprev inc files to 2.9 (20190315) libsepol: uprev to 2.9 (20190315) libselinux: uprev to 2.9 (20190315) libselinux-python: add recipe libsemanage: uprev to

[yocto] [meta-selinux][PATCH 01/19] python-ipy: upgrade to 1.00 and add python3 version

2019-11-13 Thread Yi Zhao
Signed-off-by: Yi Zhao --- recipes-devtools/python/python-ipy.inc | 18 recipes-devtools/python/python-ipy_0.83.bb | 32 - recipes-devtools/python/python-ipy_1.00.bb | 2 ++ recipes-devtools/python/python3-ipy_1.00.bb | 2 ++ 4 files changed, 22

Re: [yocto] puzzle: simple recipe gets image dependencies

2019-11-13 Thread Khem Raj
On Wed, Nov 13, 2019 at 3:42 PM Vladimir Molokov wrote: > thank you for your answer! > > when I comment out DEPENDS = "attr" line in "example" recipe > then there is no "bad-example" dependency: > https://gitlab.com/morokov/build/raw/master/task-depends-without-attr.dot > > > Alright, so you

[yocto] Collaboration on Testing GCC/LLVM Toolchains

2019-11-13 Thread Nicholas Krause
Greetings All, I'm a student working on multi-threading GCC and researching it. Seems that it my time doing it and other things with the project it would be great to start collaborating on testing gcc/llvm upstream with Yocto. Granted there is a testsuite for both but it would be great

Re: [yocto] puzzle: simple recipe gets image dependencies

2019-11-13 Thread Vladimir Molokov
thank you for your answer! when I comment out DEPENDS = "attr" line in "example" recipe then there is no "bad-example" dependency: https://gitlab.com/morokov/build/raw/master/task-depends-without-attr.dot > Alright, so you have initramfs enabled it seems. Which means kernel > will first try to

Re: [yocto] puzzle: simple recipe gets image dependencies

2019-11-13 Thread Khem Raj
On Wed, Nov 13, 2019 at 12:45 PM Vladimir Molokov wrote: > > > can you share this dot file ? > sure: > http://gitlab.com/morokov/build/raw/master/task-depends.dot > Alright, so you have initramfs enabled it seems. Which means kernel will first try to build designated initramfs image which in

Re: [yocto] puzzle: simple recipe gets image dependencies

2019-11-13 Thread Vladimir Molokov
> can you share this dot file ? sure: http://gitlab.com/morokov/build/raw/master/task-depends.dot also here are more files from the build directory, just in case: https://gitlab.com/morokov/build/ -- ___ yocto mailing list yocto@yoctoproject.org

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
Sorry I am fairly new to bitbake. How do I apply a patch? Why do I have to apply a patch as opposed to just editing corresponding files (I know that is probably a dumb question but again I am very new to bitbake)? Khem Raj did mention a patch to fix the problem:

Re: [yocto] bitbake SRC_URI fetch Azure DevOps repository Azure DevOps Services Basic

2019-11-13 Thread Richard Purdie
On Wed, 2019-11-13 at 09:02 +, Samuel Jiang (江騏先) wrote: > I got below error message: > crashdump-git-r0 do_fetch: Fetcher failure: Fetch command export > PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export > DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export >

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Mark Hatle
Bitbake inspects the binaries and looks at the #! line. You need to change the line itself (via a patch) to /usr/bin/awk, and then it will pick up the dependency automatically on a rebuild. --Mark On 11/13/19 12:14 PM, Wayne Li wrote: > On further inspection of the older image my coworker made,

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
On further inspection of the older image my coworker made, it looks like awk is located at "/usr/bin/awk". I see this by just doing a "which awk" in the console of the T4240 RDB when the old image is loaded. So it looks like the most likely case is that Khem Raj is correct and that bitbake is

[yocto] busybox + SELinux (warrior) - reboot issue

2019-11-13 Thread Yair Itzhaki
Hi , I'm using Poky (Warrior), with busybox (aiming at a lightweight system). Recently, added SELinux to my project (by adding "packagegroup-core-selinux" to my local.conf, with mls policy). Booted with "selinux=1 enforing=0". The auto-relabeling reported an error, since the root is mounted RO.

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
I'd like also like to mention that my main concern with the ver_linux files that I found in my project was that the shebang line was " #!/bin/sh" instead of "#!/bin/awk -f" which is the shebang line in the ver_linux file in the patch. The patch wants to change the shebang line from "#!/bin/awk

Re: [yocto] pkg-config not found

2019-11-13 Thread Khem Raj
On Wed, 2019-11-13 at 11:43 -0600, Mark Hawthorne wrote: > I figured out the problem. The call to AX_PTHREAD() was breaking > PKG_PROG_PKG_CONFIG. I don't understand why, but it works once I > remove that line. Swap the order, let PKG_PROG_PKG_CONFIG appear before AX_PTHREAD > > On Tue, Nov 12,

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Wayne Li
So after further investigation, I'm fairly sure awk is actually present in the target image. Here are my reasons why I feel that this is the case: -I looked at the busybox menuconfig GUI that comes up when I run "bitbake -c menuconfig busybox" and it says awk is built-in. -I looked at various

Re: [yocto] pkg-config not found

2019-11-13 Thread Mark Hawthorne
I figured out the problem. The call to AX_PTHREAD() was breaking PKG_PROG_PKG_CONFIG. I don't understand why, but it works once I remove that line. On Tue, Nov 12, 2019 at 8:24 PM Mark Hawthorne wrote: > I added the lines you suggested and it indicates that PKG_CONFIG is not > set. What would

Re: [yocto] bitbake -c populate_sdk generates locale error

2019-11-13 Thread Matt Schepers
Khem, Thank you, but that didn't work. However I have found a fix: I had 'SDK_VENDOR="telspan"' set in the image recipe. When I removed this line yocto now builds an SDK. I have no idea why this was causing a problem, it was working previously. Thanks for reaching out to me!

Re: [yocto] bitbake -c populate_sdk generates locale error

2019-11-13 Thread Khem Raj
On Wed, 2019-11-13 at 16:12 +, Matt Schepers wrote: > Hi, > > When I run 'bitbake -c populate_sdk' I get an error about the > locale not being found. I have tried setting the locale in local.conf > but that didn't seem to help. The odd thing is that 'bitbake ' > works just fine. > >

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Khem Raj
On Wed, 2019-11-13 at 10:33 +0200, Adrian Bunk wrote: > On Tue, Nov 12, 2019 at 04:08:48PM -0600, Wayne Li wrote: > > Dear Yocto Developers, > > > > I'm trying to to build a Yocto kernel for a T4240 RDB. When I run > > "bitbake > > fsl-image-full" to build the entire linux image, I get an error

Re: [yocto] puzzle: simple recipe gets image dependencies

2019-11-13 Thread Khem Raj
On Wed, 2019-11-13 at 12:33 +0100, Vladimir Molokov wrote: > Hi all, > > > > Here is a strange dependency puzzle: > > simple recipe which doesn't inherit image class > > gets EXTRA-IMAGEDENDS, kernel, initramfs and so on. > > > > It's reproducible on latest poky, > > I've made a minimal

[yocto] bitbake -c populate_sdk generates locale error

2019-11-13 Thread Matt Schepers
Hi, When I run 'bitbake -c populate_sdk' I get an error about the locale not being found. I have tried setting the locale in local.conf but that didn't seem to help. The odd thing is that 'bitbake ' works just fine. Respectfully, Matt Schepers ERROR: telspan-dh3-1.0-r0 do_populate_sdk: Error

Re: [yocto] pkg-config not found

2019-11-13 Thread Ross Burton
On 12/11/2019 21:06, Mark Hawthorne wrote: I have an autotools build that uses the following autoconfig file: AC_INIT([my-program], [1]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_LANG(C++) AC_PROG_CXX AX_PTHREAD() PKG_CHECK_MODULES(LIBPNG, libpng >= 1.6.34)

Re: [yocto] Yocto/bitbake recipe 'diff test'?

2019-11-13 Thread Brad Bishop
> On Nov 12, 2019, at 1:41 PM, Paul Barker wrote: > > have a look at my slides at the start of the Day 1 slide deck at > https://wiki.yoctoproject.org/wiki/YP_Summit_Lyon_2019. This is a great resource for layer best practices. Thanks Paul! -brad --

[yocto] puzzle: simple recipe gets image dependencies

2019-11-13 Thread Vladimir Molokov
Hi all, Here is a strange dependency puzzle: simple recipe which doesn't inherit image class gets EXTRA-IMAGEDENDS, kernel, initramfs and so on. It's reproducible on latest poky, I've made a minimal example, all lines are important, if you remove something, like systemd or attr it drops all the

Re: [yocto] [error-report-web][PATCH V2] Add local.conf and auto.conf into error details

2019-11-13 Thread Paul Eggleton
Hi Changqing, Some comments below. On Tuesday, 12 November 2019 9:32:53 PM NZDT changqing...@windriver.com wrote: > From: Changqing Li > > Support to display local.conf and auto.conf on error report web. > Here is commit in oe-core, which add local.conf/auto.conf into error report >

Re: [yocto] bitbake SRC_URI fetch Azure DevOps repository Azure DevOps Services Basic

2019-11-13 Thread 江騏先
I got below error message: crashdump-git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="2255"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export

[linux-yocto] [yocto-kernel-cache][yocto-5.2/master][PATCH] features/wifi: Change ATH9K_HTC, RTL8187 and RTL_CARDS to be modules

2019-11-13 Thread Yongxin Liu
CONFIG_ATH9K_HTC, CONFIG_RTL8187 and CONFIG_RTL_CARDS have dependency on CONFIG_MAC80211 which is set to "m". Signed-off-by: Yongxin Liu --- features/wifi/atheros-usb.cfg | 2 +- features/wifi/realtek-usb.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [yocto] No Package Provides /bin/awk

2019-11-13 Thread Adrian Bunk
On Tue, Nov 12, 2019 at 04:08:48PM -0600, Wayne Li wrote: > Dear Yocto Developers, > > I'm trying to to build a Yocto kernel for a T4240 RDB. When I run "bitbake > fsl-image-full" to build the entire linux image, I get an error that says > "Can't install kernel-devsrc-1.0-r0@t4240rdb_64b: no

Re: [yocto] bitbake SRC_URI fetch Azure DevOps repository Azure DevOps Services Basic

2019-11-13 Thread Richard Purdie
On Wed, 2019-11-13 at 03:06 +, Samuel Jiang (江騏先) wrote: > I try use > SRC_URI = "git://quanta01@vs- > ssh.visualstudio.com/v3/quanta01/OpenBMC/crashdump;protocol=ssh;nobra > nch=1" > > the bitbake response below error message: > git -c core.fsyncobjectfiles=0 ls-remote >