[meta-security][PATCH] libtpm: update to 0.8.7
Kristian Klausen <kristian@...>
Signed-off-by: Kristian Klausen <kristian@...>
--- .../recipes-tpm/libtpm/{libtpm_0.8.2.bb =3D> libtpm_0.8.7.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-tpm/recipes-tpm/libtpm/{libtpm_0.8.2.bb =3D> libtpm_0.8.7.bb= } (88%) diff --git a/meta-tpm/recipes-tpm/libtpm/libtpm_0.8.2.bb b/meta-tpm/recip= es-tpm/libtpm/libtpm_0.8.7.bb similarity index 88% rename from meta-tpm/recipes-tpm/libtpm/libtpm_0.8.2.bb rename to meta-tpm/recipes-tpm/libtpm/libtpm_0.8.7.bb index 9784aa1..95ba5c5 100644 --- a/meta-tpm/recipes-tpm/libtpm/libtpm_0.8.2.bb +++ b/meta-tpm/recipes-tpm/libtpm/libtpm_0.8.7.bb @@ -2,7 +2,7 @@ SUMMARY =3D "LIBPM - Software TPM Library" LICENSE =3D "BSD-3-Clause" LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3De73f0786a936da3814896df06ad22= 5a9" =20 -SRCREV =3D "f66a719eda0b492ea3ec7852421a9d98db0a0621" +SRCREV =3D "f6dd8f55eab4910131ec6a6a570dcd7951bd10e4" SRC_URI =3D "git://github.com/stefanberger/libtpms.git;branch=3Dstable-0= .8" =20 PE =3D "1" --=20 2.25.1
|
|
[meta-rockchip][PATCH] use uuid instead of hard-coding root device
Markus Volk
Am 25.09.21 um 17:09 schrieb Trevor Woerner:
You'll need to re-send this with a better subject line and commit message so the right people will notice it. Otherwise they'll think it's meta-rockchip-specific. If (when) this patch gets applied upstream, then we can remove our work-around. The patch has been applied :) I had a quick look where this sda entries come from and i guess we fall to the default value here: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/ksparser.py#n166 We may avoid getting /dev/sda entries in fstab by either setting --use-uuid or --use-label for '/boot' ?
|
|
Re: [PATCH v2 ptest-runner 2/2] main: Do not return number of failed tests when calling ptest-runner
Alexander Kanavin
I think they're already in git? Alex
On Mon, 27 Sept 2021 at 10:09, Lukasz Majewski <lukma@...> wrote: Hi Alexander,
|
|
Re: [PATCH v2 ptest-runner 2/2] main: Do not return number of failed tests when calling ptest-runner
?ukasz Majewski
Hi Alexander,
I think we might be having an 'unresponsive maintainer' situation?I saw recenlty your patches on this topic. Is there a chance that Anibal will pull/review them soon? It looks like those are crucial for ptest-runner operation.
Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@...
|
|
Re: [hardknott][meta-yocto][PATCH 1/4] poky: Use SDKPATHINSTALL instead of SDKPATH
Anuj Mittal
Hi Richard,
toggle quoted messageShow quoted text
Can you please merge this series for meta-yocto hardknott? Thanks, Anuj
On Tue, 2021-09-21 at 16:27 +0800, Anuj Mittal wrote:
From: Richard Purdie <richard.purdie@...>
|
|
Re: Incorrect systemd timer
JH
I changed OnCalendar=*-*-* *:*:50, in vain
toggle quoted messageShow quoted text
On 9/27/21, Jupiter <jupiter.hce@...> wrote:
Hi, --
"A man can fail many times, but he isn't a failure until he begins to blame somebody else." -- John Burroughs
|
|
Incorrect systemd timer
JH
Hi,
I set up a service timer to run the service every minute at times 01:10:50, 01:10:50, 01:10:50, ... [Unit] Description=Run watchdog job at every 1 minute [Timer] Unit=mwatchdog.service OnCalendar=*-*-* *:00:50 Persistent=true [Install] WantedBy=timers.target But the timer was actually fired about every 8 - 9 seconds: Mon Sep 27 01:10:06 UTC 2021 start timer Mon Sep 27 01:10:15 UTC 2021 start timer Mon Sep 27 01:10:23 UTC 2021 start timer Not quite sure if it is a kernel issue or Yocto oe-core build issue or what I could be missing, appreciate your advice. Thank you. Kind regards, - jupiter
|
|
Re: Gtk+3 applications are missing icons.
Manuel Wagesreither
Hello Alex!
Am So, 26. Sep 2021, um 12:11, schrieb Alexander Kanavin: The icons are typically provided by adwaita-icon-theme, so you need to check whether that package is installed, and then whether it's missing something. strace may help so you see what files are the demos trying to open.I had the same idea right around the time you replied. It worked! Strace is good advice, am using strace now to track down that one missing icon. (See my subthread.) Thanks for helping! Manuel
|
|
Re: [OE-core] [meta-security][PATCH] clamav: Set clamav:clamav ownership on /var/lib/clamav in do_install
On 9/26/21 8:56 AM, Böszörményi Zoltán wrote:
On 2021. 09. 26. 17:35, Armin Kuster wrote:ok. Thanks for the clarification.This patch is an alternative solution. -armin
|
|
Re: [OE-core] [meta-security][PATCH] clamav: Set clamav:clamav ownership on /var/lib/clamav in do_install
Zoltan Boszormenyi <zboszor@...>
On 2021. 09. 26. 17:35, Armin Kuster wrote:
On 9/26/21 5:25 AM, Zoltán Böszörményi wrote:This patch is an alternative solution.From: Zoltán Böszörményi <zboszor@...>This patch does not apply if I have the previous one applied. I see a You can choose whichever you prefer. Thanks, Zoltán -armin---
|
|
Re: [meta-security][PATCH] clamav: Set clamav:clamav ownership on /var/lib/clamav in do_install
On 9/26/21 5:25 AM, Zoltán Böszörményi wrote:
From: Zoltán Böszörményi <zboszor@...>This patch does not apply if I have the previous one applied. I see a dup of the chown changes in the do_install step. Can you clarify? -armin ---
|
|
[meta-security][PATCH] clamav: Set clamav:clamav ownership on /var/lib/clamav in do_install
Zoltan Boszormenyi <zboszor@...>
From: Zoltán Böszörményi <zboszor@...>
Also, rearrange the runtime-dependencies a little so clamav-freshclam is installed later than clamav. The issue is that clamav-freshclam ships /var/lib/clamav and the main clamav package uses chown in pkg_postinst to set the ownership of this directory. But pkg_postinst is not marked as "ontarget" so this chown only took effect when upgrading or reinstalling the package. So when clamav is part of an OS image out of the box, freshclamd cannot populate this directory since it's running under the clamav user. Fix this by creating /var/lib/clamav with the proper ownership in do_install and rearrange runtime-dependencies, so clamav-freshclam RDEPENDS on clamav and clamav relaxes its runtime-dependency into RRECOMMENDS so clamav-freshclam is installed later than clamav, avoiding these warnings: Installing : clamav-freshclam-... 487/1954 warning: user clamav does not exist - using root warning: group clamav does not exist - using root Signed-off-by: Zoltán Böszörményi <zboszor@...> --- recipes-scanners/clamav/clamav_0.104.0.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes-scanners/clamav/clamav_0.104.0.bb b/recipes-scanners/clamav/clamav_0.104.0.bb index 0d3a678..25123dc 100644 --- a/recipes-scanners/clamav/clamav_0.104.0.bb +++ b/recipes-scanners/clamav/clamav_0.104.0.bb @@ -54,7 +54,7 @@ export OECMAKE_C_FLAGS += " -I${STAGING_INCDIR} -L ${RECIPE_SYSROOT}${nonarch_li do_install:append () { install -d ${D}/${sysconfdir} - install -d ${D}/${localstatedir}/lib/clamav + install -d -o ${CLAMAV_UID} -g ${CLAMAV_GID} ${D}/${localstatedir}/lib/clamav install -d ${D}${sysconfdir}/clamav ${D}${sysconfdir}/default/volatiles install -m 644 ${WORKDIR}/clamd.conf ${D}/${prefix}/${sysconfdir} @@ -83,7 +83,6 @@ pkg_postinst:${PN} () { elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then ${sysconfdir}/init.d/populate-volatile.sh update fi - chown -R ${CLAMAV_UID}:${CLAMAV_GID} ${localstatedir}/lib/clamav fi } @@ -149,5 +148,7 @@ SYSTEMD_PACKAGES = "${PN}-daemon ${PN}-freshclam" SYSTEMD_SERVICE:${PN}-daemon = "clamav-daemon.service" SYSTEMD_SERVICE:${PN}-freshclam = "clamav-freshclam.service" -RDEPENDS:${PN} = "openssl ncurses-libncurses libxml2 libbz2 ncurses-libtinfo curl libpcre2 clamav-freshclam clamav-libclamav" -RDEPENDS:${PN}-daemon = "clamav" +RDEPENDS:${PN} = "openssl ncurses-libncurses libxml2 libbz2 ncurses-libtinfo curl libpcre2 clamav-libclamav" +RRECOMMENDS:${PN} = "clamav-freshclam" +RDEPENDS:${PN}-freshclam = "clamav" +RDEPENDS:${PN}-daemon = "clamav clamav-freshclam" -- 2.31.1
|
|
Cover mail for "clamav: Set clamav:clamav ownership on /var/lib/clamav in do_install"
Zoltan Boszormenyi <zboszor@...>
Hi,
this is what Khem suggested. Please review. Thanks in advance, Zoltán Böszörményi
|
|
Re: Gtk+3 applications are missing icons.
Manuel Wagesreither
Am So, 26. Sep 2021, um 00:58, schrieb Manuel Wagesreither:
I built an image based on core-image and added the package gtk+3-demos.Seems Gtk doesn't come with a default icon set. I added package `adwaita-icon-theme` to my build, and now I've got most icons. The icons for window maximize and minimize are still missing, though. https://imgur.com/a/VjJiScU Does anyone know what it needs to make them being displayed as well? Thanks, regards, Manuel
|
|
Re: Gtk+3 applications are missing icons.
Alexander Kanavin
The icons are typically provided by adwaita-icon-theme, so you need to check whether that package is installed, and then whether it's missing something. strace may help so you see what files are the demos trying to open. Alex
On Sun, 26 Sept 2021 at 00:58, Manuel Wagesreither <ManWag@...> wrote: Hello all,
|
|
Re: [layerindex-web][PATCH] recipeparse.py: add BBLAYERS in bblayers.conf
Changqing Li
Hi, Please ignore this patch, I need to send a V2 Thanks Changqing
On 9/26/21 9:32 AM, Changqing Li wrote:
From: Changqing Li <changqing.li@...> since commit [97183e10f cookerdata: Show error for no BBLAYERS in bblayers.conf], no BBLAYERS in bblayers.conf will cause layerindex update failed with below error: ERROR: Traceback (most recent call last): File "update_layer.py", line 478, in main (tinfoil, tempdir) = recipeparse.init_parser(settings, branch, bitbakepath, nocheckout=options.nocheckout, logger=logger) File "/path/to/layerindex-web/layerindex/recipeparse.py", line 83, in init_parser tinfoil = utils.setup_tinfoil(bitbakepath, enable_tracking, loglevel=logger.getEffectiveLevel()) File "/path/to/layerindex-web/layerindex/utils.py", line 206, in setup_tinfoil tinfoil.prepare(config_only = True) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/tinfoil.py", line 413, in prepare config_params.updateToServer(self.server_connection.connection, os.environ.copy()) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/cookerdata.py", line 73, in updateToServer ret, error = server.runCommand(["updateConfig", options, environment, sys.argv]) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/server/process.py", line 410, in runCommand raise bb.BBHandledException() bb.BBHandledException Signed-off-by: Changqing Li <changqing.li@...> --- layerindex/recipeparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/layerindex/recipeparse.py b/layerindex/recipeparse.py index 62c08e9..d4343b4 100644 --- a/layerindex/recipeparse.py +++ b/layerindex/recipeparse.py @@ -79,6 +79,7 @@ def init_parser(settings, branch, bitbakepath, enable_tracking=False, nocheckout if not classic: # We need this to avoid problems with AVAILABLE_LICENSES f.write('COREBASE = "%s"\n' % core_repodir) + f.write('BBLAYERS ?= "%s"\n' % core_layerdir) pass if logger:
|
|
[meta-security][PATCH] clamav: Move /var/lib/clamav to the main package
Zoltan Boszormenyi <zboszor@...>
From: Zoltán Böszörményi <zboszor@...>
Previously, clamav-freshclam shipped /var/lib/clamav. The main clamav package used chown in pkg_postinst to set the ownership of this directory but pkg_postinst was not marked as "ontarget" so this chown only took effect when upgrading or reinstalling the package. As a result, when clamav is part of an OS image out of the box, freshclamd (running under the clamav user) cannot populate this directory. Fix this by creating /var/lib/clamav with the proper ownership in do_install and move /var/lib/clamav to the main clamav package. This will also avoid this warning, because clamav has RDEPENDS on clamav-freshclam, not the other way around: Installing : clamav-freshclam-... 487/1954 warning: user clamav does not exist - using root warning: group clamav does not exist - using root warning: user clamav does not exist - using root warning: group clamav does not exist - using root Signed-off-by: Zoltán Böszörményi <zboszor@...> --- recipes-scanners/clamav/clamav_0.104.0.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-scanners/clamav/clamav_0.104.0.bb b/recipes-scanners/clamav/clamav_0.104.0.bb index 0d3a678..e821ff1 100644 --- a/recipes-scanners/clamav/clamav_0.104.0.bb +++ b/recipes-scanners/clamav/clamav_0.104.0.bb @@ -54,7 +54,7 @@ export OECMAKE_C_FLAGS += " -I${STAGING_INCDIR} -L ${RECIPE_SYSROOT}${nonarch_li do_install:append () { install -d ${D}/${sysconfdir} - install -d ${D}/${localstatedir}/lib/clamav + install -d -o ${CLAMAV_UID} -g ${CLAMAV_GID} ${D}/${localstatedir}/lib/clamav install -d ${D}${sysconfdir}/clamav ${D}${sysconfdir}/default/volatiles install -m 644 ${WORKDIR}/clamd.conf ${D}/${prefix}/${sysconfdir} @@ -83,7 +83,6 @@ pkg_postinst:${PN} () { elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then ${sysconfdir}/init.d/populate-volatile.sh update fi - chown -R ${CLAMAV_UID}:${CLAMAV_GID} ${localstatedir}/lib/clamav fi } @@ -92,6 +91,7 @@ PACKAGES += "${PN}-daemon ${PN}-clamdscan ${PN}-freshclam ${PN}-libclamav" FILES:${PN} = "${bindir}/clambc ${bindir}/clamscan ${bindir}/clamsubmit ${sbindir}/clamonacc \ ${bindir}/*sigtool ${mandir}/man1/clambc* ${mandir}/man1/clamscan* \ ${mandir}/man1/sigtool* ${mandir}/man1/clambsubmit* \ + ${localstatedir}/lib/clamav \ ${docdir}/clamav/*" FILES:${PN}-clamdscan = " ${bindir}/clamdscan \ @@ -116,7 +116,6 @@ FILES:${PN}-freshclam = "${bindir}/freshclam \ /usr/etc/freshclam.conf* \ ${sysconfdir}/clamav ${sysconfdir}/default/volatiles \ ${sysconfdir}/tmpfiles.d/*.conf \ - ${localstatedir}/lib/clamav \ ${docdir}/${PN}-freshclam ${mandir}/man1/freshclam.* \ ${mandir}/man5/freshclam.conf.* \ ${systemd_system_unitdir}/clamav-freshclam.service" -- 2.31.1
|
|
[layerindex-web][PATCH] recipeparse.py: add BBLAYERS in bblayers.conf
Changqing Li
From: Changqing Li <changqing.li@...>
since commit [97183e10f cookerdata: Show error for no BBLAYERS in bblayers.conf], no BBLAYERS in bblayers.conf will cause layerindex update failed with below error: ERROR: Traceback (most recent call last): File "update_layer.py", line 478, in main (tinfoil, tempdir) = recipeparse.init_parser(settings, branch, bitbakepath, nocheckout=options.nocheckout, logger=logger) File "/path/to/layerindex-web/layerindex/recipeparse.py", line 83, in init_parser tinfoil = utils.setup_tinfoil(bitbakepath, enable_tracking, loglevel=logger.getEffectiveLevel()) File "/path/to/layerindex-web/layerindex/utils.py", line 206, in setup_tinfoil tinfoil.prepare(config_only = True) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/tinfoil.py", line 413, in prepare config_params.updateToServer(self.server_connection.connection, os.environ.copy()) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/cookerdata.py", line 73, in updateToServer ret, error = server.runCommand(["updateConfig", options, environment, sys.argv]) File "/path/to/layerindex/git___lxgit_wrs_com_bitbake/lib/bb/server/process.py", line 410, in runCommand raise bb.BBHandledException() bb.BBHandledException Signed-off-by: Changqing Li <changqing.li@...> --- layerindex/recipeparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/layerindex/recipeparse.py b/layerindex/recipeparse.py index 62c08e9..d4343b4 100644 --- a/layerindex/recipeparse.py +++ b/layerindex/recipeparse.py @@ -79,6 +79,7 @@ def init_parser(settings, branch, bitbakepath, enable_tracking=False, nocheckout if not classic: # We need this to avoid problems with AVAILABLE_LICENSES f.write('COREBASE = "%s"\n' % core_repodir) + f.write('BBLAYERS ?= "%s"\n' % core_layerdir) pass if logger: -- 2.17.1
|
|
Gtk+3 applications are missing icons.
Manuel Wagesreither
Hello all,
I built an image based on core-image and added the package gtk+3-demos. I'm using wayland with weston compositor. Unfortunately icons seem to be missing. Can anyone give me a hint on what went wrong? I'm on Dunfell. Here's a screenshot: https://imgur.com/syLzQ1l Thanks a lot! Manuel
|
|
Re: [meta-security,dunfell][PATCH] recipes-security/fscrypt: Add fscrypt .bb file
On 9/19/21 12:19 PM, Bhupesh Sharma wrote:
fscrypt is a high-level tool for the management of LinuxWas this a double post? or a V2? I follow the OE/YP Stable process and this appears to be adding a new package to a stable release which is not allowed.. I have no issue taking it for Master. -armin
|
|