Re: [yocto] time zone
On 2018/10/24 23:35, Zolee K wrote: Hi All, I noticed in my device that the time is 2 hours early and UTC. Could you suggest a correct way to set the timezone with a recipe file to Europe/Budapest? Thanks, Zoli Hi Zoli IMAGE_INSTALL_append = " tzdata" DEFAULT_TIMEZONE = "Europe/Budapest" enjyo! -- Takayasu Ito https://www.lineo.co.jp -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] adding new layer
Hi Zoli On Thursday, 25 October 2018 2:36:31 AM NZDT Zolee K wrote: > I created a new layer, modified the conf file content according to the > decumentation: > # We have a conf and classes directory, add to BBPATH > BBPATH .= ":${LAYERDIR}" > > # We have recipes-* directories, add to BBFILES > BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ > ${LAYERDIR}/recipes-*/*/*.bbappend" > > BBFILE_COLLECTIONS += "saxo" > BBFILE_PATTERN_saxo = "^${LAYERDIR}/" > BBFILE_PRIORITY_saxo = "4" > > I copied the proftpd folder with a working bbappend file into the meta-saxo > folder. But during bitbake I got an error massage: > Warning: No bb files matched BBFILE_PATTERN_saxo > '^/home/kz/oe-core/build/../stuff/meta-saxo/' > > I played around with the priority without success. > > Do you have any idea what am I doing wrong? I'd like to collect all my > modifications in 1 layer. If you have .bbappend file(s) but no .bb files in your layer you would expect that message, it's telling you one of the entries in BBFILES is not matching. There are several options here: 1) You can ignore the warning (it's just a warning) 2) Remove the .bb entry from BBFILES in meta-saxo/conf/layer.conf (you can add it back if and when you need it - of course that does mean you could forget to do that and then wonder why adding a .bb file doesn't work) 3) Set BBFILE_PATTERN_IGNORE_EMPTY_saxo = "1" to disable the warning. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Force recipe(non library) to build 32bit packages(only) for 64bit machine
On Wed, 24 Oct 2018 at 09:11, Andrey Strunin wrote: > My machine configuration is Mips64 and I use MULTILIB. It works ok, but > there is a question... > Is it possible to build a recipe(non library) only for 32bit? > I know about lib32-${libname} notation, but what about non-libraries? > The sources I have to compile aren't build on 64bit at all (or build but > doesn't work properly) > So, I have to build ONLY 32 bit version. The notation isn't lib32-[library name] but lib32-[recipe name], so just prefix any recipe with lib32- and it will built for 32-bit (assuming that is how you configured multilib, of course). Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Layers for AMD Geode LX 800
Hi all. Do you know if there is some layers ready for the board in subject? It is an IBASE IB550F. Thanks all Mauro -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] time zone
Hi All, I noticed in my device that the time is 2 hours early and UTC. Could you suggest a correct way to set the timezone with a recipe file to Europe/Budapest? Thanks, Zoli -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Compilation error while backporting xserver-xorg of poky master branch to rocko
Hello, I am trying to run Weston 5.0 using poky's rocko branch, so I backported a few packages from poky master branch to my own custom layer. But in this process xserver-xorg is giving me a compilation error. The contents of the log file are as follows: aarch64-pdm3-linux-gcc --sysroot=/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../../xorg-server-1.20.1/hw/xwayland -I../../include -I../../../xorg-server-1.20.1/glamor -I../../../xorg-server-1.20.1/dri3 -DHAVE_DIX_CONFIG_H -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/libdrm -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/libdrm -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/pixman-1 -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/freetype2 -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/X11/dri -I../../../xorg-server-1.20.1/include -I../../include -I../../../xorg-server-1.20.1/Xext -I../../../xorg-server-1.20.1/composite -I../../../xorg-server-1.20.1/damageext -I../../../xorg-server-1.20.1/xfixes -I../../../xorg-server-1.20.1/Xi -I../../../xorg-server-1.20.1/mi -I../../../xorg-server-1.20.1/miext/sync -I../../../xorg-server-1.20.1/miext/shadow -I../../../xorg-server-1.20.1/miext/damage -I../../../xorg-server-1.20.1/render -I../../../xorg-server-1.20.1/randr -I../../../xorg-server-1.20.1/fb -I../../../xorg-server-1.20.1/dbe -I../../../xorg-server-1.20.1/present -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0=/usr/src/debug/xserver-xorg/2_1.20.1-r0 -fdebug-prefix-map=/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot-native= -fdebug-prefix-map=/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot= -pthread -c -o Xwayland-tablet-unstable-v2-protocol.o `test -f 'tablet-unstable-v2-protocol.c' || echo '../../../xorg-server-1.20.1/hw/xwayland/'`tablet-unstable-v2-protocol.c aarch64-pdm3-linux-gcc --sysroot=/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../../xorg-server-1.20.1/hw/xwayland -I../../include -I../../../xorg-server-1.20.1/glamor -I../../../xorg-server-1.20.1/dri3 -DHAVE_DIX_CONFIG_H -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/libdrm -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/libdrm -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/pixman-1 -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/freetype2 -I/media/iepl/iepl1/work/yocto_build/build-weston/tmp/work/aarch64-pdm3-linux/xserver-xorg/2_1.20.1-r0/recipe-sysroot/usr/include/X11/dri
[yocto] adding new layer
Hi, I created a new layer, modified the conf file content according to the decumentation: # We have a conf and classes directory, add to BBPATH BBPATH .= ":${LAYERDIR}" # We have recipes-* directories, add to BBFILES BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "saxo" BBFILE_PATTERN_saxo = "^${LAYERDIR}/" BBFILE_PRIORITY_saxo = "4" I copied the proftpd folder with a working bbappend file into the meta-saxo folder. But during bitbake I got an error massage: Warning: No bb files matched BBFILE_PATTERN_saxo '^/home/kz/oe-core/build/../stuff/meta-saxo/' I played around with the priority without success. Do you have any idea what am I doing wrong? I'd like to collect all my modifications in 1 layer. Thanks, Zoli -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Force recipe(non library) to build 32bit packages(only) for 64bit machine
Hi, folks! My machine configuration is Mips64 and I use MULTILIB. It works ok, but there is a question... Is it possible to build a recipe(non library) only for 32bit? I know about lib32-${libname} notation, but what about non-libraries? The sources I have to compile aren't build on 64bit at all (or build but doesn't work properly) So, I have to build ONLY 32 bit version. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[linux-yocto] [PATCH] ipv4: net namespace does not inherit network configurations
From: He Zhe patch from https://lkml.org/lkml/2014/7/29/119 Ipv4 net namespace requires a similar logic change as commit a79ca223e029 [ipv6: fix bad free of addrconf_init_net] introduces for newer kernels. Since a net namespace is independent to another. That is, there is no any relationship between the net namespaces. So a new net namespace should not inherit network configurations from another net namespace including the host. CC: Hong Zhiguo CC: David S. Miller Signed-off-by: Zhu Yanjun Signed-off-by: yzhu1 Signed-off-by: He Zhe --- This is for linux-yocto-dev, linux-yocto master and 4.18 branches. net/ipv4/devinet.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index ea4bd8a..f69b2dd 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c @@ -2412,28 +2412,23 @@ static __net_init int devinet_init_net(struct net *net) #endif err = -ENOMEM; - all = _devconf; - dflt = _devconf_dflt; + all = kmemdup(_devconf, sizeof(ipv4_devconf), GFP_KERNEL); + if (all == NULL) + goto err_alloc_all; - if (!net_eq(net, _net)) { - all = kmemdup(all, sizeof(ipv4_devconf), GFP_KERNEL); - if (!all) - goto err_alloc_all; - - dflt = kmemdup(dflt, sizeof(ipv4_devconf_dflt), GFP_KERNEL); - if (!dflt) - goto err_alloc_dflt; + dflt = kmemdup(_devconf_dflt, sizeof(ipv4_devconf_dflt), GFP_KERNEL); + if (dflt == NULL) + goto err_alloc_dflt; #ifdef CONFIG_SYSCTL - tbl = kmemdup(tbl, sizeof(ctl_forward_entry), GFP_KERNEL); - if (!tbl) - goto err_alloc_ctl; + tbl = kmemdup(tbl, sizeof(ctl_forward_entry), GFP_KERNEL); + if (tbl == NULL) + goto err_alloc_ctl; - tbl[0].data = >data[IPV4_DEVCONF_FORWARDING - 1]; - tbl[0].extra1 = all; - tbl[0].extra2 = net; + tbl[0].data = >data[IPV4_DEVCONF_FORWARDING - 1]; + tbl[0].extra1 = all; + tbl[0].extra2 = net; #endif - } #ifdef CONFIG_SYSCTL err = __devinet_sysctl_register(net, "all", NETCONFA_IFINDEX_ALL, all); -- 2.7.4 -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto