**** BEGIN LOGGING AT Thu May 11 03:00:02 2017 May 11 07:07:48 hello May 11 07:16:28 Hi everyone ! I have some trouble with this line that I have added May 11 07:16:30 ln -sf ${WORKDIR}/testQML ${D}${bindir}/QtDemo May 11 07:16:49 When we use ${WORKDIR}, it the files that we put in SRC_URI right ? May 11 07:19:00 and when we use ${D}${bindir} it's to specify that we would like in the target having QtDemo in usr/bin ? May 11 07:20:08 can enyone tell what shouldt do when one of the apps got error when compile May 11 07:20:33 eg i got error when compile elflibs May 11 07:22:27 pastebin the error ? May 11 07:23:00 now is not possible, May 11 07:23:11 after work paste this error May 11 07:40:59 I'm wondering why a line as that : ln -sf ${datadir}/${PN}/testQML ${D}${bindir}/QtDemo can fail May 11 07:57:25 well, it could fail if the target directory does not exist yet? May 11 08:00:01 You mean that usr/bin for the target isn't created before I do that recipe ? May 11 08:03:58 Hi all i'm not working with Yocto for a while, so my question is maybe stupid. I have 2 image recipes, one is for production and the other one is used only for development purpose. The development recipe require production recipe and add some debug tools. The trouble is i would to remove root password on the dev image recipe but i don't how to do this because the password is inside the production recipe ... any idea ? Thx :) May 11 08:05:50 pinkSnake : Maybe it's stupid what im seing, but you can define in your production image the variable as "overideable" and then you overide it in your development recipe no ? May 11 08:07:25 pinkSnake : Or maybe doing FOO_remove =" " May 11 08:07:38 pinkSnake : and you remove what you want to take out May 11 08:09:40 @ChrysD ho nice i'm going to try that! Thank you for the trick ;) May 11 08:13:08 pinkSnake : np May 11 08:53:10 Hello! The recipe python-gst was removed from meta-openembedded in commit 1ec074eca0165de351ee45f173321f14408e3862. Is it compiled in another recipe or should I re-add the recipe (but with an updated version, for morty)? May 11 08:54:48 For barebox, I took an image with recipes already done by a company, but i would like to change the environment of barebox directly to the image. How can I do it ? Thanks. May 11 08:58:31 I think i found it. The reicpe for barebox have python that directly write there, just need to patch it and it's done May 11 09:45:33 @ChrysD the trick doesn't work directly, maybe because i use it with ROOTFS_POSTPROCESS_COMMAND_remove command :S May 11 09:46:25 pinkSnake : The password for root, isn't it debug-tweaks ? May 11 09:46:46 pinkSnake : What variable is responsible of the behavior you don't want ? May 11 09:47:09 @ChrysD i'm going to pastebin ;) May 11 09:48:26 hello May 11 09:48:40 trying to build for qemu for the first time May 11 09:48:51 i've been recommended to set MACHINE to QEMU May 11 09:49:11 i'm confused why that is needed or what that is causing May 11 09:49:34 you get a kernel that has virtio drivers and doesn't use instructions that qemu doesnt support May 11 09:50:00 thanks for making me feel like the noob i am May 11 09:50:13 np May 11 09:50:15 just doing my job May 11 09:50:23 MACHINE=qemux86-64 is the one you want May 11 09:50:30 @ChrysD https://pastebin.com/LJqdEsjQ for prod recipe and https://pastebin.com/T2PUt1PT for debug May 11 09:50:38 robsta: you can then tell runqemu to use KVM for extra speed May 11 09:51:02 look i'm only interested in doing the build May 11 09:51:07 not running it :p May 11 09:51:33 i personally always recommend qemuarm, as it gives you more breakage and therefore better error detection ;-) May 11 09:53:50 @ChrysD it's maybe a trouble with Yocto cache because in tmp/sysroots/custom-board/etc/passwd --> root::0:0:root:/home/root:/bin/sh and in tmp/work/custom-board-poky-linux-gnueabi/base-debug-image/1.0-r0/rootfs/etc/passwd --> root:x:0:0:root:/home/root:/bin/sh May 11 09:53:52 qemuarm for MACHINE=qemux86-64 ? May 11 09:54:41 robsta: my standard buld testcase is MACHINE ?= "qemuarm" in local.conf May 11 09:59:54 pinkSnake : Sorry i was busy May 11 10:01:01 pinkSnake : what about patching the prod recipe ? and you apply the patch only if you are in dev ? Maybe is using a bazooka to kill a bee but should work May 11 10:04:17 pinkSnake : and what about ROOTFS_POSTPROCESS_COMMAND_remove := "set_rood_password" ? May 11 10:05:42 pinkSnake : Oh i read your other post, yeah maybe the cache May 11 10:05:48 pinkSnake : CLean the project ? May 11 10:07:08 @ChrysD i tried -cleansstate and -cleanall maybe there is an other way to clean rootfs :S May 11 10:07:29 If one turns off IMAGE_FEATURE package-management, does this also imply that the postinstall steps does not run on firstboot on target? May 11 10:08:06 pinkSnake : Be aware that if you cleanup everything, you can loose your conf/local.conf May 11 10:08:16 pinkSnake : don't forget to make a backup of it just in case May 11 10:08:18 pinkSnake: -c cleansstate and -c cleanall perhaps? May 11 10:08:56 @ChrysD ok thanks, i will add ":=" also to be sure May 11 10:10:14 pinkSnake : I tihnk it won't change May 11 10:10:19 pinkSnake : I'm a total newbie in yocto May 11 10:20:07 im having trobble with QT qml controls. im getting module "QtQuick.Dialogs" is not installed error when i execute it on the device. after some research i can conclud that i have qtquickcontrols listed in my .bb file. but im missing libqtquickcontrolsplugin.so and some qml files on the target May 11 11:07:58 pinkSnake : Any news about your problem ? May 11 11:11:30 @ChrysD nothing change after -cleanall and -cleansstate i tried to remove caches, it's building... May 11 11:13:10 pinkSnake : What you mean by -cleanall ? May 11 11:13:16 pinkSnake : you mean -c cleanall ? May 11 11:21:42 @ChrysD yep :) May 11 11:28:59 Someone know how I can expand the yocto partition to use all a disk ? I flasher a sd card with dd. The yocto image is a .hddimg. The image use 1.9 Go only and the disk is a 15 Go May 11 11:35:15 hey guys May 11 11:35:15 allah is doing May 11 11:35:21 sun is not doing allah is doing May 11 11:35:26 to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger May 11 11:36:09 I'm missing libqtquickcontrolsplugin.so on my target. but i have included qtquickcontrols, qtdeclarative-qmlplugins, etc May 11 11:41:00 Someone know how I can expand the yocto partition to use all a disk ? I flasher a sd card with dd. The yocto image is a .hddimg. The image use 1.9 Go only and the disk is a 15 Go May 11 11:41:13 MarcWe : Are you sure it exists ? May 11 11:43:32 MarcWe : I've checked and yes. It's weird because i use it on my QtApps on my board but don't have this .so :s May 11 11:44:26 MarcWe : oh ok I have it on => usr/lib/qt5/qml/QtQuick/Controls/ May 11 11:44:38 MarcWe : Maybe try with qtquickcontrols-qmlplugins May 11 11:51:37 MarcWe : Do you have it ? May 11 11:52:12 ChrysD: i have qtquickcontrols-qmlplugins May 11 11:53:40 ChrysD: i must say its in a RDEPENDS_${PN} and not in image_install May 11 11:53:56 MarcWe : Have ytou see if others .so are missing from the same file you have put the list of RDEPENDS_${PN} ? May 11 11:56:35 Which patch format is used for yocto projects ? Any of them ? May 11 11:56:37 I'm missing all the qml files in that dir. libqtquicktemplate2plugin.so is also missing ( maybe more ) May 11 11:57:18 MarcWe : Maybe a stupid question, but have you image_install the package which have the RDEPENDS_${PN} ? May 11 11:58:03 nope May 11 11:58:41 MarcWe : So ifyou dont install the package which have run time depends of it, you won't have the plugins. May 11 11:59:05 oke tnx so far May 11 11:59:59 MarcWe : Think that way, but for example, why yocto should brings tennis rackets, if you don't take the tennis balls ? May 11 12:00:27 MarcWe : Maybe the contrary suit more, but you understand. May 11 12:07:44 ChrysD: yes i understand. ty for explaning, I'm a bit of a noob. May 11 12:08:52 MarcWe : You're telling me ! May 11 12:08:59 MarcWe : I'm pretty new to yocto too. May 11 12:16:56 when ytou have a file in .cfg. Does it's a file that defined kernel config ? May 11 12:17:58 In case of the same variable in a .cfg being in two different state, does the one that is in the layer with the biggest priority "won" ? May 11 12:31:38 Someone know how I can expand the yocto partition to use all a disk ? I flasher a sd card with dd. The yocto image is a .hddimg. The image use 1.9 Go only and the disk is a 15 Go May 11 12:33:40 hamdyaea: is the file system ext? May 11 12:36:49 hamdyaea: if yes then resize2fs /dev/XXX May 11 12:42:31 MarcWe : yes it is but resize2fs is not include in any yocto package. And when I take the card in my computer I see only /dev/sda but not /dev/sda1, sda2, sda3, sda4 May 11 12:44:06 Is there a way to set a default /etc/locale.conf from yocto recipes/conf files? May 11 12:47:03 pidge: your blog rss doesn't have a title set May 11 12:47:11 so you're in my rss reader as No Title May 11 12:47:36 rburton: ahhh, which one, oryx or togán labs? May 11 12:48:10 pidge: the togan labs wordpress on May 11 12:48:40 rburton: hrm, oddness. I'll poke about and fix, ty. May 11 12:48:56 np May 11 12:49:08 need to find the time to read that post properly :) May 11 12:49:43 rburton: it's pretty cool stuff we've been working on, we're kinda pleased with it. May 11 12:50:52 I have the following problem : failure: Unable to find file file://bareboxenv.patch anywhere May 11 12:51:09 If i do remember, when i do a .bbappend in another layer which SRC_URI my file May 11 12:51:17 For bitbake i'm still in the layer of the original recipe May 11 12:51:44 I've tried to use EXTRAPATHS_prepend May 11 12:52:21 Like that : EXTRAPATHS_prepend := "${THISDIR}/${PN}" May 11 12:52:43 so i guess it's working as, ${THISDIR} = the dir which is located the .bbappend May 11 12:52:55 and then looking to a directory which name is ${PN} May 11 12:53:35 Which is the case May 11 12:54:01 The name of the file is : barebox_2016.11.0-phy4.bbappend and have put a directory which the name is barebox. May 11 12:54:03 What's wrong ? May 11 12:54:09 Thanks by advance. May 11 12:56:04 Someone know how I can expand the yocto partition to use all a disk ? I flasher a sd card with dd. The yocto image is a .hddimg. The image use 1.9 Go only and the disk is a 15 Go May 11 12:59:38 To get utf-8 support in yocto, do I need to specify something with IMAGE_LINGUAS? I'm looking for "en_US.UTF-8" but IMAGE_LINGUAS seems to expect "en-us" with dash not underline May 11 13:17:47 ChrysD: if added qtquickcontrols-qmlplugins to install but still no joy May 11 13:18:55 Setting GLIBC_GENERATE_LOCALES="en_US.UTF-8" didn't seem to have any effect to get UTF-8 support May 11 13:19:48 MarcWe : I was speaking of the package to but on install, not the qtquickcontrols-qmlplugins May 11 13:20:07 MarcWe : If I remember, you told me that you have a recipe which there is RDEPENDS_${PN} May 11 13:20:20 MarcWe : And you also told me that the package of this recipe isn't installed May 11 13:21:07 MarcWe : to put* May 11 13:24:26 ChrysD: yes RDEPENDS_${PN}= "qtquickcontrols-qmlplugins qtdeclarative-qmlplugins qtdeclarative-plugins" May 11 13:24:49 and i dit put all the Rdepends in image_install May 11 13:25:10 @all someone here knows the difference between -- DEPENDS = "virtual/kernel" ------ and ----- do_configure[depends] += "virtual/kernel:do_compile_kernelmodules" in custom custom kernel module recipe ? May 11 13:32:40 MarcWe : It wasn't what i was speaking about ahah May 11 13:33:03 MarcWe : I was telling you that if for example you have toto_0.1-r0.bb containing RDEPENDS etc May 11 13:33:11 MarcWe : you shuold image_install toto May 11 13:53:25 pinkSnake: I believe that DEPENDS = "foo" is equivalent to do_configure[depends] = "foo:do_populate_sysroot" May 11 13:53:57 How do you do patch ? For example i have a file which name is toto.original and another one toto.modified May 11 13:54:10 I've done diff -Naur toto.original toto.modified > toto.patch May 11 13:54:56 and i have this error : https://pastebin.com/i5H52Pce May 11 13:55:47 pinkSnake: At least that's what it is on older versions, the exact task may be different in newer versions with the rss changes, but I think the idea is the same May 11 13:56:26 I deleted the bzImage file. How can I recreate it ? May 11 13:56:26 @JPEWhacker ok cool thx for info :) May 11 13:56:52 @hamdyaea bitbake virtual/kernel ? May 11 13:59:02 @hamdyaea if not, try: bitbake -f -c deploy virtual/kernel? May 11 14:01:21 pinkSnake, JPEWhacker I am doing a core-image-x11 May 11 14:02:32 now I try that bitbake linux-yocto -c populate_sysroot -f May 11 14:04:31 hey, i'm trying to build a package, but everytime i get an error at oe_runmake. It says: "fatal error: stdlib.h: No such file or directory". Does anyone know what this could be? May 11 14:06:07 @hamdyaea i should follow @JPEWhacker advice May 11 14:06:44 pinkSnake, : ok I try it May 11 14:07:38 hi I have a recipie for a systemd unit file. I am installing it in the systemd/system dir. My question is how do I get this service to run on boot up. I have to manually start it up each time I make a fresh card and start the system May 11 14:07:54 my bb file https://pastebin.com/HSWeLavQ May 11 14:07:56 @maka_ custom package ? May 11 14:09:56 pinkSnake: nope, available on the internet May 11 14:10:33 pinkSnake: the recipe is costum however May 11 14:10:40 custom* May 11 14:11:26 this is my .service unit file https://pastebin.com/Uu7qcwUh May 11 14:12:39 bzimage is a virtual kernel ? May 11 14:13:47 from what I understand for the service to start automatically a link will need to be created in this directory systemd/system/multi-user.target.wants. It seems to happen for other unit files but not this one. May 11 14:15:11 HavoK_ : have done this way https://pastebin.com/Wpa5Q646 May 11 14:17:31 HavoK_ : I'm using systemd_system_unitdir instead of your systemd_unitdir May 11 14:18:44 ChrysD let me try that quick May 11 14:18:49 HavoK_: SYSTEMD_AUTO_ENABLE will run 'systemctl enable' on the unit file. what link is created depends on the contents of the unit file. May 11 14:20:12 HavoK_ : Maybe in my case it work directly because i use Wants=systemd-udev-settle.service After=systemd-udev-settle.service May 11 14:27:31 JPEWhacker, : bitbake -c clean virtual/kernel : it dont work. May 11 14:28:28 I still miss bzImage May 11 14:28:44 someone can help me ? May 11 14:29:17 hamdyaee: can you try bitbake -c cleanall virtual/kernel ? May 11 14:30:54 JPEWhacker, OK I Try May 11 14:32:20 Do you know a good tutorial to customize a recipe ? I have to much difficulty with patch applying... May 11 14:42:35 kergoth there are other files that work that are in the same layer. They don’t have SYSTEMD_AUTO_ENABLE. Do I need to do this for each bb file? May 11 14:44:17 HavoK_ : I thinks when you use after or wants with a service that will be up, it works May 11 14:45:21 ChrysD I have WantedBy=multi-user.target in my unit file May 11 14:45:31 HavoK_ : Wants=systemd-udev-settle.service After=systemd-udev-settle.service May 11 14:46:11 hmm May 11 14:48:42 HavoK_ : When you use After= i think your service will be run after the one you have listed May 11 14:49:23 @ChrysD what do you mean about applying patch ? May 11 14:49:40 pinkSnake : I have a recipe, i would like to change it May 11 14:49:58 pinkSnake : But the recipe isn't made by me. So I would like to patch it and put in my custom layer May 11 14:50:44 hi all sorry if there is an ongoing discussion I am interrupting May 11 14:51:06 my yocto deploy/images doesnt contain sdcard images May 11 14:51:21 where do i set this so that an sd card img is generated? May 11 14:52:11 @ChrysD i'm not an expert i added some patchs for u-boot, you have to add the file in SRC_URI --> file://0001-Add-MTD-and-MTDPARTS-config.patch and the recipe will aplly automaticly the patch during do_patch cmd May 11 14:53:01 pinkSnake : I don' thave problem to apply a patch from somebody May 11 14:53:09 pinkSnake : But i have a problem when I would like to patch my self May 11 14:53:21 @ChrysD ha ok you want to create your own patch ? May 11 14:53:29 pinkSnake : yeah May 11 14:53:43 pinkSnake : everytime I get this => can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? May 11 14:55:22 nikincn, : IMAGE_FSTYPES += "iso" then flash the .hddimg May 11 14:56:02 yeah google said same IMAGE_FSTYPES is what needs change but I dont know where is it ? May 11 14:56:04 nighty-, : in local.conf May 11 14:56:33 thanks but It is there in mine , so I just add it ? May 11 14:56:36 nikincn, : poky / build / conf May 11 14:57:14 @ChrysD ok so i'm not expert and it's probably dirty but it works : you can use -c devshell , do you changes and create patch --> git add ; git commit -s -m ''; git format-patch -1 May 11 14:57:25 nikincn, : just add this line May 11 14:58:03 ok thanks May 11 14:58:05 @ChrysD take to use "git format-patch -1" in the checkout directory May 11 14:58:14 take care * May 11 14:58:39 I'd like to set localectl set-locale LANG=en_US.utf8 on postinst. Does it work to set this during host postinst, or must I run this on target? May 11 14:58:54 Or does Yocto have a scheme for setting default LANG in images? May 11 15:03:27 pinkSnake : I have done the same with quilt May 11 15:03:48 pinkSnake : time to go out =) Thanks for you help ! Bye. May 11 15:04:05 @ChrysD bye May 11 15:08:35 @sveinse maybe a clue http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#var-IMAGE_LINGUAS May 11 15:10:09 JPEWhacker, : It worked thx May 11 15:15:49 i tried adding IMAGE_FSTYPES I have only file with extension .tgz it is modules.........tgz can this be the sd card file? May 11 15:16:36 nikincn: have you unzipped it with tar -xvzf ? May 11 15:16:43 nikincn: the modules tarball is the kernel modules, not an image. May 11 15:17:04 nikincn, : you need to bitbake again May 11 15:17:11 ok so then i have nothing to extract for sdcard May 11 15:18:46 hm poky pyro is still using bb.data.getVar() in its bitbake copy May 11 15:19:22 pinkSnake: No, I've searched the manuals and grepped the code to find info about this, but there is very little apparently May 11 15:20:03 I can of course run "localctl set-local LANG=en_US.utf8" in one of our app's postinstalls, but it feels not to be the right place for this May 11 15:20:20 oh wait. nevermind. my mistake. May 11 15:20:24 sveinse: I don't know of any way to automatically set LANG short of modifying /etc. IMAGE_LINGUAS only controls what locales are installed, not configuration May 11 15:20:40 kergoth: right, ok May 11 15:21:16 kergoth: do you happen to know if utf-8 is available at all in yocto? May 11 15:21:24 i don't understand the question May 11 15:21:46 any locale supported by the c library works just fine May 11 15:21:55 it's just a linux system, not magic May 11 15:22:50 Where can I read about yocto best practices for maintaining a custom layer in source control? I am thinking I should have a folder in git, with a set of submodules, each being a separate meta-* layer? Also, What's the best way to offload as many settings as possible from local.conf? Put them into a custom image for my bsp? May 11 15:22:53 http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/conf/local.conf.sample?h=bernard May 11 15:23:07 sir_mivond: that depends on what the setting is May 11 15:23:34 sir_mivond: and submodules sounds like unnecessary complexity. just put everything in a git repo, either one git repo per layer or one repo with multiple layers May 11 15:23:37 kergoth: yes, and localctl list-locales on a krogoth target, lists en_US and en_GB. On my desktop it lists en_US and en_US.utf8, and our app is dependent on having utf-8 encoding available May 11 15:23:50 sveinse: so use IMAGE_LINGUAS to change what locales are installed May 11 15:24:02 or GLIBC_GENERATE_LOCALES to change which locales are produced in the first place May 11 15:24:17 IMAGE_LINGUAS defaults to en_US and en_GB, you canp ut whatever ones you want there May 11 15:24:38 kergoth: yeah, i'm not a big fan of submodules, just didn't know if that was the way to go. I have a lot of settings in local.conf which set values for 3rd party recipes I'm using May 11 15:24:45 kergoth: How for IMAGE_LANGUAS. It expects en-us (dash, not underbar), while the encoding is named en_US.utf8, so that does not work. May 11 15:25:11 is there something stopping you from setting en-us.utf8? May 11 15:25:15 doesn't seem very difficult to me May 11 15:25:17 Next GLIBC_GENERATE_LOCALES does not respond to any items with .utf8 in them. No changes to the system apparently May 11 15:25:31 it's just going based on the binary packages emitted by the glibc-locale recipe May 11 15:25:42 you can look in tmp/deploy/ to see what ones exist May 11 15:26:15 would be nice if it accepted the regular locale names and internally translated them to the package names, though May 11 15:26:53 hmmmm May 11 15:28:17 * kergoth ponders May 11 15:28:38 E: Unable to locate package locale-base-en-us.utf8 May 11 15:28:51 ^ while setting IMAGE_LINGUAS="en-us.utf8" May 11 15:28:56 ah, i see May 11 15:29:04 sveinse: check out LOCALE_UTF8_IS_DEFAULT May 11 15:29:11 ../poky/meta/conf/documentation.conf May 11 15:29:11 269:LOCALE_UTF8_IS_DEFAULT[doc] = "If set, locale names are renamed such that those lacking an explicit encoding (e.g. en_US) will always be UTF-8, and non-UTF-8 encodings are May 11 15:29:11 renamed to, e.g., en_US.ISO-8859-1. Otherwise, the encoding is specified by glibc's SUPPORTED file. Not supported for precompiled locales." May 11 15:29:22 see also LOCALE_UTF8_ONLY May 11 15:29:57 so my guess is that's set to 1 for you right now, so your en_US is already utf8, hence the inability to explicitly choose a .utf8 variant May 11 15:30:38 * kergoth stands corrected, didn't know about those vars May 11 15:31:12 yeah, its LOCALE_UTF8_IS_DEFAULT is default 1 (baah), and LOCALE_UTF8_ONLY is at the default 0 value May 11 15:31:44 right, which is good May 11 15:31:51 so the installed en_US and en_GB locales are already utf-8, picking one of those should do the job May 11 15:31:58 good to know May 11 15:32:27 * sveinse wonders why the Qt app croaks when it sees a LANG name without ".utf8" suffix May 11 15:32:32 was looking for an example configuration, and ran a grep -r locale.\*utf May 11 15:32:35 heh May 11 15:33:09 I had a suspicion that yocto was running utf8 in the first place, but that is was implicit May 11 15:33:53 No, you won't find too much utf-8 stuff (except file encodings) in the poky sources May 11 15:35:11 to clarify, it's a distro choice, defaulted to this in oe-core. not 'yocto'. i hate to nitpick, though :) May 11 15:35:57 yeah, sure. *poky* has little mention about utf-8 May 11 15:38:19 I'm wondering if "localectl set-locale LANG=whatever" is equivalent of echo "LANG=whatever" >/etc/locale.conf ... May 11 15:38:27 kergoth: For example, Mender (https://docs.mender.io/1.0/artifacts/building-mender-yocto-image). It provides update support. It has a list of settings you need in local.conf, but I'd much rather have these in some source control. I just don't know yocto best practices, i.e. set these in a bbappend, or in a custom image, etc. May 11 15:38:43 again, it depends on the setting May 11 15:38:47 each individual setting May 11 15:38:49 right May 11 15:38:59 sir_mivond, need to bug the mender guys about that May 11 15:39:33 their irc was dead last time I checked :/ May 11 15:39:35 distro, machine, and image are orthogonal axes of the build. it's important to keep them that way. so it's important to think carefully about what goes in each May 11 15:39:46 ok May 11 15:39:54 they do better on their list May 11 15:40:07 you have to catch them at the right time on irc :) May 11 15:40:49 some of the local.conf is MACHINE specific and some liek using mender at all, is not clear to me May 11 15:40:49 ok, ill try to bug them May 11 15:41:29 update mechanism sounds like one of those things that's specific to both, bsp has to support it, and distro has to want to use it May 11 15:41:30 * kergoth shrugs May 11 15:41:36 right May 11 15:41:49 If I'm not mistaking, localctl list-locales shows the locales which IMAGE_LINGUAS specify. How can I list runtime the locales specified with GLIBC_GENERATE_LOCALES ? May 11 15:42:13 GLIBC_GENERATE_LOCALES controls what locale packages exist May 11 15:42:22 unless you've set up a package feed, you won't be abl eto see that on target May 11 15:42:34 right May 11 15:43:31 is there a way to generate locale info (like AM/PM, date format), but not each package's locale package? May 11 15:44:27 When we added all the locales our app supports, the image increased by 150%, by 450Mb, due to all the locales for all apps. Which I don't want to include May 11 15:47:03 probably want either locale-base, glibc-localedata, or glibc-binary-localedata. don't recall offahnd May 11 15:54:58 Ok I tried systemd_system_unitdir and SYSTEMD_AUTO_ENABLE May 11 15:55:08 still no luck the service doesn’t run on startup May 11 15:56:12 is there some way of seeing the debug for this recipe? I have recipes in the same folder that are working just not the ones I made and I mirrored them. May 11 15:56:25 and the unit file May 11 15:58:06 Should I expect changes to default-distrovars, such as LOCALE_UTF8_ONLY to automatically trigger the glibc recipes? It might seem it does not May 11 16:05:17 it should rebuild the appropriate recipes if you re-bitbake your image or the recipes in question May 11 16:06:45 If openembedded provides a recipe for a library, but I need a different version with different make targets and different src_uri, is it still better to use a bbappend, or make a new recipe in my (higher priority) layer? i'm not sure how to edit ${PV} in a bbappend May 11 16:06:59 and i don't know if i want to May 11 16:07:20 making a new recipe is best when changing version May 11 16:07:25 k, thanks May 11 16:07:38 particularly when the version is in the filename, but in general May 11 16:07:49 right, that's what i was worried about May 11 16:07:51 it's in the file name May 11 16:08:12 less of an issue when e.g. changing SRCREV which changes the underlying version of an _git recipe, for example, but debatable there May 11 16:08:42 note that you can always require the existing version recipe in yours, rather than copying it May 11 16:08:49 of course, if upstream rmeoves that version, it'd break you, but.. May 11 16:09:18 true May 11 16:09:39 i.e. 'require recipes-foo/bar/bar_1.0.bb' at the top of yours. your call which approach you want to take there May 11 16:11:13 ok thanks kergoth May 11 16:11:42 np May 11 16:12:09 I'm beyond the initial hurdle of learning yocto principles, now it's learning best practices May 11 16:14:37 I have GLIBC_GENERATE_LOCALES in the image recipe, which when being changed, does not trigger glibc rebuild May 11 16:15:15 *in the image recipe* May 11 16:15:20 so glibc won't see it May 11 16:16:04 Apparently this is a distro feature, and it can go to local.conf. How can I learn about which vars is scoped to what? Is there a tip for that? May 11 16:16:49 if its a variable that glibc recipe listens to then you need to set it in a location where it can see it May 11 16:16:53 such as local or distro conf May 11 16:18:37 Well, to be honest, as entry user, I find it completely logical to have such configs in the image recipe, because that is where you collect all packages for your image, right. So apparently this is something I should have known. May 11 16:18:50 one recipe can't touch the metadata of another May 11 16:19:00 GLIBC_GENERATE_LOCALES isn't used in the image, it's used by another recipe May 11 16:19:24 GLIBC_GENERATE_LOCALES is about how somehting *builds*, what packages get *created*, not what ones go into the image May 11 16:19:26 So generically, how can I know what is scoped to where? Grepping and then seeing another recipe => distro/local config? May 11 16:19:27 at that point it's too late May 11 16:20:08 yeah I understand that -- and it makes sense now. But I had to struggle a bit to get there in lack of knowledge May 11 16:20:59 i'd expect what it affects / where it should be defined to be covered in the reference documentation on the variables. if not, i'd see that as a documentation gap May 11 16:21:06 but yes, worst case grep would tell you where things are used May 11 16:21:43 https://www.dropbox.com/s/gxb6uxlputaupmj/OpenEmbedded%20-%20Metadata%20Structure%20-%20Distro%2C%20Machine%2C%20Image.txt?dl=0 might be of interest. be warned the writing isn't the best May 11 16:22:12 :D I have a text editor with grep in one window, and the mega manual in the other. So yeah, you need both to navigate yocto/poky May 11 16:23:05 Yes, I think it starts to be high time I make custom DISTRO May 11 16:24:43 I'm currently overloading poky and core-image, but as pointed out, quite a few variables are being set there May 11 16:24:46 aaahhhhh May 11 16:25:48 That's why: I see that I can set IMAGE_LINGUAS from the image recipe, but not GLIBC_GENERATE_LOCALE. But that is completely misplaced and being invisible from glibc which needs it May 11 16:26:03 * sveinse had an epiphany May 11 16:28:58 Tomorrow I'll learn how to make a distro May 11 16:29:49 sveinse: cp poky.conf mydistro.conf May 11 16:30:06 rburton: not inherit it? May 11 16:30:21 only if you want to base your distro on poky explicitly May 11 16:30:29 best to just copy and then delete/change as required May 11 16:30:52 rburton: well I am today, but thanks for the tip May 11 16:30:59 tbh, a minimal distro.conf is basically empty May 11 16:31:05 so I noticed teh runtime script that gets generated has a difference betwen the unit file that works and the one that doesn’t work https://www.diffchecker.com/AhUNOh37 May 11 16:31:31 one is using ${SYSTEMD_SERVICE} variable the other is using the actual service name May 11 16:32:11 I have SYSTEMD_SERVICE_${PN} set to the correct service May 11 16:33:26 kergoth: thanks for the document May 11 16:34:09 np May 11 16:36:03 So if I have got this right, GLIBC_GENERATE_LOCALES determines which locales glibc is generating (if not all), while IMAGE_LINGUAS is an image command which selects which of those locales to include into the image. Is this correct? May 11 16:37:00 sounds right May 11 16:37:12 great, thanks May 11 16:37:20 we *really* need a bit in the manual about this May 11 16:37:31 rburton: I updated kraj/master with todays master May 11 16:37:34 feel free to start a wiki page with a list of relevant variables and pakage names May 11 16:37:54 khem: cool. still waiting on the 4.1 stuff though... May 11 16:37:57 rburton: there still are some package fixes which can be applied independent of gcc7 update May 11 16:38:18 rburton: no new updates though just a rebase May 11 16:39:12 khem: yeah we're diverging today so i'll be picking the safe bits. can you post the series to the list so everything that goes in has been on the list at least once? May 11 16:39:37 rburton: the implicit utf-8 stuff could need mention as well. I see from googling about it that the yocto mailing list has occational questions about precisely the same as I had today: How to set LANG="something.utf-8" May 11 16:56:10 khem, rburton, kergoth: I did just diverge things and started to take some "safe" pieces into testing. Also cleared some of my own patch queue May 11 16:56:28 still torn on the parallelisation changes without pseudo fixes :/ May 11 16:56:37 seebs: did you have a chance to try any further experiments? May 11 16:59:21 not yet, sorry. everything's happening at once. how practical is it to just bump open files with ulimit? May 11 16:59:31 that said, i was thinking about this May 11 16:59:46 for this to happen, we have to have ~1k processes running *within one recipe*. May 11 16:59:58 because if they're not all in the same recipe, they should be different pseudo servers. May 11 17:00:20 and if we're seeing 1k processes in a single recipe, that sounds unduly high. like, it feels like this shouldn't be what actually happens. May 11 17:09:15 ok finally got the systemd unit file to work on boot after a fresh image i had to add May 11 17:09:16 NATIVE_SYSTEMD_SUPPORT = "1" May 11 17:09:17 SYSTEMD_PACKAGES = "${PN}" May 11 17:09:49 most scripts I saw were happy with just SYSTEMD_SERVICE_${PN} = May 11 17:10:00 not sure why that was the case but it works now May 11 17:11:20 huh May 11 22:49:10 seebs: its more complex than that. The number of threads is getting set at ~176 on this machine. There are four tasks running in parallel, two being heavily parallelised. Its not entirely surprising it can exceed 1000 open files :/ **** ENDING LOGGING AT Fri May 12 03:00:02 2017