**** BEGIN LOGGING AT Fri Oct 20 03:00:02 2017 Oct 20 06:18:18 Using a predefined wic file, how can i alter grub arguments for the mkefidisk? Oct 20 07:22:24 can someone tell me what exactly this means? 2 installed and not shipped files. [installed-vs-shipped] Files/directories were installed but not shipped in any package: Oct 20 07:22:56 I did a package where i replace etc/inittab using install -m 0755 ${WORKDIR}/inittab ${D}/etc/inittab Oct 20 07:25:11 styler2go: you need to add all paths to FILES_${PN}... Oct 20 07:25:19 to avoid this QA issue Oct 20 07:25:32 in which receipt? Oct 20 07:25:43 in my scritp which replaces the inittab? Oct 20 07:30:04 styler2go: yes Oct 20 07:30:18 open-nandra, thank you Oct 20 07:43:06 oh well.. actually i just forgot to add it in there Oct 20 07:49:48 Hi all Oct 20 07:50:08 I have some issues with metadata hashes: the basehash value changed from 27 Oct 20 07:50:19 I have custom class which is running some scripts Oct 20 07:50:36 and I'm using date command in class Oct 20 07:51:04 I've added class[vardepsexclude] = "DATETIME" Oct 20 07:51:10 but I still see an issue Oct 20 07:51:15 any idea how to debug that? Oct 20 07:58:12 Can i somehow override a file if another package already installed it? Oct 20 07:59:03 check_data_file_clashes: Package recovery wants to install file /mnt/upboard/build-recovery/tmp/work/up_board-poky-linux/recovery-image/1.0-r0/rootfs/etc/inittab But that file is already provided by package * sysvinit-inittab Oct 20 08:05:32 styler2go: the correct way is to have an append to the original recipe, instead of trying to overwrite its outcome Oct 20 08:06:06 LetoThe2nd: any idea how to debug metadata hash issue? Oct 20 08:06:38 open-nandra: no. Oct 20 08:07:20 LetoThe2nd: I checked it can be disabled but I'm curious why I see such issue Oct 20 08:08:56 open-nandra: if i had an idea, i would've told you, don't worry. but the hashing respectively sstate altogether is basically a piece of "magic" i just use Oct 20 08:09:19 LetoThe2nd: yes sure, sorry for bothering ;) Oct 20 08:09:40 open-nandra: np, good luck Oct 20 08:42:58 what does the operand ?= mean? Oct 20 08:43:20 styler2go: only set if not already set Oct 20 09:00:31 If i add the IMAGE_FSTYPE in my local.conf, can i prevent any other script from overwriting it? i have the problem that i just want to create the wic file but for exmaple in the machine.conf there it states ext4 Oct 20 09:01:25 which operand you use ? Oct 20 09:01:46 in local and in machine ? Oct 20 09:01:51 or, at least be sure that no other script overwrites it by using IMAGE_FSTYPE = Oct 20 09:02:03 the machine is a predefined, not from me. there therey used = operand Oct 20 09:02:09 in my local.conf i also used = Oct 20 09:02:31 now i changed the machine.conf to += and it works Oct 20 09:12:08 Also, i always need to execute bitbake 2-3 times until i get my .wic file because it gets the error: cp recovery-image-1.0/hddimg/EFI/BOOT/* boot/EFI/BOOT returned '1' instead of 0 Oct 20 09:19:38 maybe change cp by cp -f Oct 20 09:24:18 but that's somethin wic does, i do not do that in any of my scripts Oct 20 09:28:15 maybe my bitbake version is too old and has bugs.. i am using 1.30.0 Oct 20 09:28:55 styler2go: i already told you yesterday. try to find out what in the cp fails, it can't be much. usually either the source file doesn't exist, or the destination directory. Oct 20 09:29:40 LetoThe2nd, yes the source doesn't exist. but how can i possibly fix this when it's wic interal? Oct 20 09:31:29 styler2go: i don't think thats "internal", but some step earlier in the process missing. have you modified the .wks file? Oct 20 09:31:42 No Oct 20 09:31:49 i am using mkefidisk Oct 20 09:32:04 ed21: ping ^^^^^ Oct 20 09:32:57 ? Oct 20 09:34:26 styler2go: be patient and hope the wic guy is around :) Oct 20 09:49:44 styler2go: Can you create bug for this issue? It looks like a bug in wic code. Oct 20 09:51:12 It seems like i found the issue. It first creates the ext4 file, then it fails. When i reexecute it, it create the hddimg file but wic fails again. when i then execute it again, it works (the iso file does exist now) Oct 20 09:51:45 So it seems like wic doesn't wait until all image types (especially the iso file) are created Oct 20 09:52:32 https://p.styler2go.de/3897236 see the timestamps Oct 20 09:55:11 in my IMAGE_FSTYPE i only have "ext4 wic". could that be a problem? Oct 20 10:42:39 ed21, any idea about that behavior? Oct 20 11:17:52 Does anyone else know how i can set the order in which the image types are created? Oct 20 11:25:03 styler2go: there is a variable somewhere that can specify dependencies between image types, I'm not sure what it's called Oct 20 11:25:38 styler2go: http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html#var-IMAGE_TYPEDEP Oct 20 11:26:21 sounds like an idea, will try that, thanks Oct 20 11:36:07 boucman_work, did not fix it Oct 20 11:36:14 I guess i'll just have to live with it Oct 20 11:41:51 styler2go: I use that feature a lot, i'm pretty sure it works; could you pastebin your type definition ? Oct 20 11:43:02 https://p.styler2go.de/5698018 that's my image stuff inside local.conf Oct 20 12:33:10 hello Oct 20 12:33:28 one recipe we got from someone else is using "source" Oct 20 12:33:41 my suspicion is it fails for us because ubuntu/dash Oct 20 12:33:51 is there a way to force bitbake use bash? Oct 20 13:08:32 styler2go: that looks correct... Oct 20 13:09:06 it just executed do_image_wic and do_image_hddimg simultanously and therefore wic fails.. Oct 20 13:14:16 robsta: you have the fail log ? Oct 20 13:17:34 robsta: can you submit a change for the recipe to use . instead of source? otherwise you might want to change the shell you use for OE builds :-/ Oct 20 13:24:29 styler2go: please run "bitbake -e" and check what exactly is in the IMAGE_TYPEDEP* variables... chances are that wic has other deps that you implicitely break... so it's worth checking Oct 20 13:28:13 boucman_work, https://p.styler2go.de/9302907 Oct 20 13:28:27 Is that enough? I tried to collect it from that huge output Oct 20 13:28:55 styler2go: maybe add do_image_wic[depends] += "xxx:do_image_hddimg" in your machine conf ? Oct 20 13:31:38 robsta: fix it to use . as source is a bashism and you can't rely on bash Oct 20 13:31:41 robsta: there's verify-bashisms in scripts/contrib to run all the recipe script fragments through a bashism detection tool if you want :) Oct 20 13:32:05 nayfe, i then get errors like depends upon non-existent task do_image_iso (tried hddimg too) Oct 20 13:33:22 you replaced xxx with correct recipe name ? Oct 20 13:34:22 yes Oct 20 13:34:48 it might work now.. i did do_image Oct 20 13:34:56 no error till now Oct 20 13:36:31 yepp, that worked, nayfe :) Oct 20 13:36:58 \o/ bitbake magic Oct 20 13:37:21 now i willn clean up the folder and do one final test :D Oct 20 13:37:23 nayfe: that works but it's not "the proper way" Oct 20 13:37:39 styler2go: lool line 1..7 of your pastebin Oct 20 13:37:41 it's the magic way Oct 20 13:38:00 line 2 is the line from your local.conf Oct 20 13:38:10 line 4 is the line from image-live.bbclass Oct 20 13:38:21 boucman_work: why it isnt correct ? Oct 20 13:38:23 as you see, the yocto-provided class overrides your local.conf changes Oct 20 13:38:36 because both of you write the variable using "=" Oct 20 13:38:49 you need to do it that way : Oct 20 13:39:26 IMAGE_FSTYPES_iso_append = "hddimage" Oct 20 13:39:59 as a general rule, learn "bitbake -e" and "bitbake -e " it's one of the best tools to debug yocto Oct 20 13:40:03 nayfe, oh well, this magic failed too :( Oct 20 13:41:09 boucman_work, but that won't fix the problem i am having :/ Oct 20 13:42:20 well, yes it should, IIUC Oct 20 13:42:28 right now you have the following dependencies Oct 20 13:42:38 iso after ext4 Oct 20 13:42:50 wic after iso Oct 20 13:43:00 hddimage after ext4 Oct 20 13:43:13 you lost iso after ext4 in the process Oct 20 13:43:16 which is what I fix Oct 20 13:43:28 and that explains your ordering problem, right ? Oct 20 13:43:29 i am so confused now Oct 20 13:43:55 styler2go: do you know how to read the output of bitbake -e that I asked you to pastebin ? Oct 20 13:44:25 i didn't know about -e yet, so probably no. what does the pre-expansion value mean? Oct 20 13:44:33 the default value before any script? Oct 20 13:44:52 basically, for each variable it gives all the operations that were done to the variable and in what order Oct 20 13:45:06 so, for IMAGE_TYPEDEP_iso Oct 20 13:45:13 so, a history of all vars? Oct 20 13:45:20 that really sounds awesome Oct 20 13:45:21 yes Oct 20 13:45:26 it is :) Oct 20 13:45:31 if it only would be sorted by var names :P Oct 20 13:45:41 yocto will never be the same for you, once you know that :P Oct 20 13:46:00 so in your case, for IMAGE_TYPEDEP_iso Oct 20 13:46:12 it is first set to "hddimage" by your local.conf Oct 20 13:46:26 (line 2 & 3 in your pastebin) Oct 20 13:46:49 then set to "ext4" by image-live.bbclass (thus overriding what you did) Oct 20 13:47:38 the pre-expansion part is only usefull when your variable contains some variables to expand (${..} blocks) Oct 20 13:48:21 so, we need a way to append something to the variable, without colliding with image-live.bbclass Oct 20 13:48:28 which we do using the _append mechanism Oct 20 13:49:11 ( styler2go if you read french I did a blog article about variable expansions in bitbake, not in english unfortunately) Oct 20 13:50:26 ça m'intéresse :) Oct 20 13:51:44 No, i'm noth french actually Oct 20 13:52:17 but Oct 20 13:52:25 why am i appending hddimg to iso? Oct 20 13:52:28 http://www.linuxembedded.fr/2015/12/yocto-comprendre-bitbake/ Oct 20 13:52:38 http://www.linuxembedded.fr/2016/05/la-mise-au-point-des-recettes-yocto/ Oct 20 13:53:05 you are appending hddimage to IMAGE_TYPEDEP_iso Oct 20 13:53:17 yes Oct 20 13:53:21 oh wait Oct 20 13:53:28 I wrote something stupid earlier Oct 20 13:53:31 gimme a sec Oct 20 13:53:45 IMAGE_TYPEDEP_iso_append = "hddimage" Oct 20 13:54:04 and check that what I wrote is correct with "bitbake -e" after that :P Oct 20 13:54:36 IMAGE_FSTYPES_iso_append = "hddimg" Oct 20 13:54:36 IMAGE_FSTYPES_hddimg_append = "wic" Oct 20 13:54:44 should i do it like that? append wic after hddimg? Oct 20 13:55:50 boucman_work: merci pour les liens Oct 20 13:57:20 boucman_work, now it's even crazier Oct 20 13:57:30 https://p.styler2go.de/457559 why is iso now ext4? Oct 20 13:58:28 styler2go: could you pastebin the extract of your local.conf ? Oct 20 13:59:26 https://p.styler2go.de/2353033 Oct 20 14:00:22 styler2go: it's my fault, I told you to append to IMAGE_FSTYPES when I meant IMAGE_TYPEDEP Oct 20 14:00:31 so replace line 51 and 52 with Oct 20 14:00:43 IMAGE_TYPEDEP_iso_append = "hddimage" Oct 20 14:00:48 oh wow Oct 20 14:00:51 i didn't notice it Oct 20 14:00:57 IMAGE_TYPEDEP_hddimg_append = "wic" Oct 20 14:01:17 and check that the resulting variables are what you expect with bitbake -e Oct 20 14:01:23 sure Oct 20 14:01:28 i will use -e forever now Oct 20 14:01:54 i just wish it would be a bit easier .. like grepping the results or just having a second parameter where i can say i jzst want to see IMAGE_TYPEDEP* Oct 20 14:02:23 boucman_work, _append doesn't add spaces so i also need to add spaces, right? Oct 20 14:02:32 IMAGE_TYPEDEP_iso="ext4hddimg" is the current result Oct 20 14:02:42 styler2go: note that when using -e bitbake will not compile, it will only print its variables Oct 20 14:03:10 styler2go: probably... I am not very clear on which call adds space... I just check what happens with -e Oct 20 14:03:25 yes, -e says ext4hddimg Oct 20 14:03:47 ok, so yes add a space (or use += which adds the space for you) Oct 20 14:03:59 append with spoaces would be += Oct 20 14:04:14 yeah, well, i just added the spaces manually now Oct 20 14:04:46 looks good now, i will try building it Oct 20 14:04:57 styler2go: no, you need bot append and += (the explanation is a bit complicated for IRC) Oct 20 14:05:34 actually i didn't notice it's that late already.. i gotta go Oct 20 14:05:48 thanks for your assistance, i really appreciate <3 Oct 20 14:07:43 no prob Oct 20 14:39:13 updating to pyro, menuconfig gives me an error: pastebin.com/XiS88dpv Oct 20 14:40:02 nathani_: why not rocko if I may ask , Oct 20 14:40:12 something to do with ncurses. using imx-linux kernel. Oct 20 14:41:28 buying a SOM from a 3rd part and they haven't updated their bsp yet for rocko Oct 20 14:42:56 did you have a try with linux-fslc or linux-fslc-imx Oct 20 14:43:53 nathani_: that's a pure host problem, do you know the kernel version you are using ? do you have ncurses installed on your machine ? did you clean everything when updating ? Oct 20 14:43:55 you had a look on that topic ? http://lists.openembedded.org/pipermail/openembedded-core/2015-May/105363.html ? Oct 20 14:46:14 Hello! I am looking for some tips on getting my Yocto SDK configured with X11 libraries. The target uses Wayland unfortunately and I can't seem to add libx11 as X11 has been removed from the DISTRO_FEATURE. Has anyone ran into this issue? Oct 20 14:46:54 yeah i built from scratch. menuconfig still works on my other builds, so i assumed my host was good Oct 20 14:48:12 I also am building the SDK from scratch via with -c populate_sdk Oct 20 14:48:16 kernel is a linux-imx6 fork by boundary devices Oct 20 14:48:49 v4.1.15 Oct 20 14:49:08 Nathan, sorry I am confused. Are you talking to.. me? Oct 20 14:49:45 no, sorry Adam, you signed on mid convo Oct 20 14:50:00 Haha sorrry apologies Oct 20 14:57:24 nathani_: did you made a clean new environment after upgrading ? or still with sstate-cache or build ? Oct 20 14:58:51 Adam_: maybe add libx11 in your image recipe ? Oct 20 14:59:50 did $sudo apt-get install libncurses-dev, works now Oct 20 15:00:03 nayfe, thanks for the help Oct 20 15:01:04 FYI, i did make a clean enviro and started a new build from scratch. Oct 20 15:01:27 nathani_: ok, great! Oct 20 15:04:12 neyfe, adding libx11 to the image is not possible as long as Wayland is included. X11 and Wayland cannot co-exist. Oct 20 15:04:40 well thats not true Oct 20 15:04:48 you can run xwayland to have x11 apps under weston Oct 20 15:04:51 I think I should still be able to build libx11-native or nativesdk-libx11 into the SDK however, regardless of X11 inclusion in the target Oct 20 15:05:21 rburton, right that is true. However, I can't figure out how to include libx11 along with xwayland Oct 20 15:05:24 you *cant* build libx11 if the DISTRO_FEATURES have had x11 removed, but you can easily add it back Oct 20 15:05:45 that refusal to build is to stop things building with X if the distro disabled X Oct 20 15:05:50 you want X, so don't disable it Oct 20 15:05:57 rburton, but I can't put X11 back in DISTRO_FEATURES as long as Wayland or XWayland is included. Oct 20 15:06:03 yes you can Oct 20 15:07:15 Hmmm let me look at that. I am using TI's AM57xx EVM image. I believe TI's graphics driver doesn't play well with X11. It likes Wayland better. But let me check. Oct 20 15:07:32 if you're using xwayland then that's irrelevant Oct 20 15:08:25 also, bsp having bad drivers is a bsp problem, you can build wayland images with libx11 in if you want. how else would xwayland work? Oct 20 15:08:45 rburton, so you are saying I do not put x11 in the "DISTRO_FEATURES_remove" and only include xwayland in "DISTRO_FEATURES", right? Oct 20 15:09:04 xwayland isn't a DISTRO_FEATURE, unless your distro has added it Oct 20 15:09:11 don't remove x11 if you want to use x11 Oct 20 15:09:24 rburton, that's right - libx11 shouldn't be a prolbem to Wayland/Xwayland. I believe TI's graphics driver needs improvement Oct 20 15:09:27 if you want xwayland in an image, add it to the image. Oct 20 15:10:06 as i said we *do* have logic to abort builds of libx11 if x11 isn't in DISTRO_FEATURES but that's a sanity check to stop apps building against X when the distro said it didn't want X Oct 20 15:11:00 I see. I will add xwayland to the IMAGE_FEATURES Oct 20 15:11:06 IMAGE_INSTALL Oct 20 15:11:10 and leave wayland in DISTRO_FEATUERS Oct 20 15:11:12 ah ok Oct 20 15:11:25 see core-image-weston Oct 20 15:11:36 as the package you want isn't called xwayland Oct 20 15:13:21 joshuagl: it's not a public recipe Oct 20 15:13:32 question is how to force bash for bitbake, yes Oct 20 15:13:45 when /bin/sh is dash Oct 20 15:13:49 you can't Oct 20 15:14:01 and the bitbake is running on a jenkins where you can't tweak everything to your liking Oct 20 15:14:08 ok Oct 20 15:14:10 either you need metadata which is POSIX sh compliant or to force /bin/sh to bash Oct 20 15:14:15 rburton, ok thank you let me check on the weston image Oct 20 15:14:30 joshuagl: .