**** BEGIN LOGGING AT Tue Nov 14 03:00:01 2017 Nov 14 10:36:10 Hello. For building a java project using ant I show that ant-native recipe exists. Nov 14 10:36:27 Is there anything similar for maven? Nov 14 10:36:55 Or I can also invoke maven from host machine? Nov 14 10:53:46 hi everyone, I'm making a test-layer with example recipe in it, I added the layer to bblayers.conf file, now when I bitbake the example recipe it gives me error .. how to solve this? Nov 14 10:54:41 previously I fixed this with do_package_qa [noexec] = "1", but that is a work around... what it really means and it's fix? Nov 14 10:55:14 after kernel build as part of image build, I go to ../work/../linux/git but I don't see .config .... Nov 14 10:57:28 ranran: you should do to the build dir Nov 14 10:57:46 ranran: .../linux/.../build Nov 14 11:01:14 ping Nov 14 11:03:12 xtron: find out which QA fails. usually the message is considerably more verbose than what you gave us. Nov 14 11:08:24 LetoThe2nd: maybe because the default recipe don't have do_package_qa, Nov 14 11:09:00 xtron: i've never had to add that explicitly. Nov 14 11:09:41 xtron: I think all recipes have this task by default Nov 14 11:10:05 or the majority of them. Nov 14 11:11:19 LetoThe2nd: https://pastebin.com/DhhW9SRz here is the error message if you can take a look Nov 14 11:11:58 I don't know, I'm using script Nov 14 11:13:57 Tamis: this can be related to yocto version, I'm using version 2.2 Morty Nov 14 11:14:27 Tamis: as newer version has additional scripts Nov 14 11:15:42 xtron: I am using the same branch as you. Nov 14 11:16:14 all recipes have do_package_qa unless they delete it Nov 14 11:16:24 xtron: From the error I guess you forgot the enviroments LDFLAGS to your linking Nov 14 11:17:59 xtron: the real failure is: QA Issue: No GNU_HASH in the elf binary: Nov 14 11:18:22 Tamis: so if you execute it has do_package_qa, what is weird ... Nov 14 11:19:19 xtron: the QA check is perfectly fine, it just triggers because something in your recipe is broken Nov 14 11:19:20 LetoThe2nd: I assume the example reicpe "example_0.1.bb should work out of the box Nov 14 11:20:08 xtron: thats correct. but i've already had my share of assumptions from your side, to be honest Nov 14 11:20:27 xtron: let me test that Nov 14 11:20:28 xtron: so if you don't mind, i'll give the example recipe my own test and then report back, ok? Nov 14 11:20:44 LetoThe2nd: ok Nov 14 11:20:59 xtron: your release is what? Nov 14 11:21:20 that warning normally happens if you didn't pass LDFLAGS to the linker Nov 14 11:21:37 ah the example was broken back then Nov 14 11:21:37 LetoThe2nd: Yocto Morty 2.2 Nov 14 11:22:09 rburton: how to pass LDFLAGS and where? Nov 14 11:23:57 xtron: http://git.yoctoproject.org/cgit.cgi/poky/commit/scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb?h=rocko&id=9d4a69fd0de8fc52fa80ea14a437ad5d0e368d84 Nov 14 11:24:17 its only a thing for hand-crafted recipes, and nobody was ever using the tool, so nobody noticed Nov 14 11:25:08 yeah its broken Nov 14 11:25:24 It is still broken. I just tested on morty Nov 14 11:25:33 was not back ported Nov 14 11:27:55 rburton: I modified the recipe and it working. thanks Nov 14 11:28:18 its a very dumb example recipe, i recommend deleting it Nov 14 11:28:57 rburton: yeah, it leads to headaches like this: https://stackoverflow.com/questions/47204368/yocto-multifile-compilation Nov 14 11:29:26 maybe we should add gnu hello to meta-yocto or such Nov 14 11:30:30 NOOOOOOO Nov 14 11:30:46 LetoThe2nd: actually look at gnu hello Nov 14 11:31:19 its part of the docs for devtool and causes pain as it won't build out of the box Nov 14 11:31:26 but mainly because its everything wrong with GNU Nov 14 11:33:00 $ du -s hello/ Nov 14 11:33:00 122M hello/ Nov 14 11:33:01 HAHAHAHA Nov 14 11:33:15 that's a configured but not built checkout of gnu hello :) Nov 14 11:34:08 LetoThe2nd: rburton if possible it should be updated at least, annoying for new guys Nov 14 11:35:11 xtron: ok, mea culpa Nov 14 11:35:20 ah dang, rburton ^^^ Nov 14 11:35:38 LetoThe2nd: its also got a build race so won't always build Nov 14 11:36:37 rburton: i see. but i think it would be worthwhile to have a simplish autotoolized (or cmaked, whatever) helloworld-example Nov 14 11:36:48 LetoThe2nd: well, devtool kind of makes that redundant Nov 14 11:36:58 pick an upstream, point devtool at it Nov 14 11:37:04 (thus, gnu hello in the docs) Nov 14 11:37:53 rburton: as much as i like devtool for some tasks, i don't think that this is a good way for newbies. Nov 14 11:38:19 its definitely the way to start for newbies, that's the entire point. it writes the boring bits. Nov 14 11:39:03 I never used it. But I think I have to switch to it. I always use devshell Nov 14 11:39:46 rburton: i see the point, but i'm just not convinced that it works for that case. Nov 14 11:40:02 rburton: maybe if the yocto-create layer tool was gone completely. Nov 14 11:40:35 yeah its gone :) Nov 14 11:40:48 yocto-kernel, yocto-layer, yocto-bsp, all deleted in master Nov 14 11:40:49 is it? Nov 14 11:41:12 ok, then i officially contradict all my former statements hereby! Nov 14 11:44:16 Ok let me repeat me previous question. For ant I show at meta-java that ant-native exists Nov 14 11:44:35 do you know if yocto has something also for maven? Nov 14 11:46:03 Tamis: http://layers.openembedded.org/ says that there's a recipe in meta-iot-cloud Nov 14 11:46:13 no doubt it should be reviewed and moved to meta-java Nov 14 11:48:31 thanks a lot. I was using wrong google terms Nov 14 11:48:44 to search for it. Now I found it Nov 14 11:49:03 always use layers.openembedded.org to find recipes Nov 14 11:49:40 after kernel build as part of image build, I go to ../work/../linux/git but I don't see .config . Anyone knows why ? Nov 14 11:50:11 rburton: yeah. I know that. ty again Nov 14 11:50:22 ranran: probably because you're not looking in the build directory but the source directory Nov 14 11:50:46 ranran: did you check the build folder also? Nov 14 11:53:00 hi, I bumped our project to use poky rocko but I started seeing issues with metadata hash for some task Nov 14 11:53:06 is there some option how to debug that? Nov 14 11:53:15 This is the build folder, Right ? /fsl-release-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/4.9.11-r0/git Nov 14 11:54:14 How can I verify that this is the build folder ? Nov 14 11:56:05 ranran: no. just try one folder back. you should see a build folder also Nov 14 11:56:14 I'm trying to make sense of where Yocto is placing ipk files. It looks to me like duplicates of every ipk exist as a result of every build I make Nov 14 11:56:32 ranran: the git folder is just a symbolic link Nov 14 11:56:46 tmp/deploy/ipk/corei7-64/libz1_1.2.8-r0_corei7-64.ipk and tmp/work/corei7-64-poky-linux/zlib/1.2.8-r0/deploy-ipks/corei7-64/libz1_1.2.8-r0_corei7-64.ipk Nov 14 11:56:55 for example Nov 14 11:57:30 These two files are produces from bitbake even though I only specified a single build target, my release build Nov 14 11:58:10 *ALSO*, when I look in the manifest for the build, I notice that zlib is named as a package, but in fact, the package is not named zlib Nov 14 11:58:22 Smit-Tay: no it does not duplicate anything. Most of them are hard links Nov 14 11:58:26 it's named libz1 Nov 14 11:59:23 Tamis, Thank you. I now see it. by the way, is there a way to find the build folder for each package ? something like bitbake -e | grep ^D= Nov 14 12:00:15 Smit-Tay: the one at the work dir is the first created. The other you see is just a hard link Nov 14 12:00:43 ranran: I do not know that. Nov 14 12:01:03 Thanks Tamis. Nov 14 12:01:04 Tamis: Why are the inodes different ? Nov 14 12:02:49 tmp/deploy is the final resting place for stuff that is built Nov 14 12:03:12 tmp/work/blaa/blaa/deploy-ipkgs is just a staging area, and if you inherit rm_work, will be deleted for you Nov 14 12:03:35 as to the also, my default debian.bbclass is inherited, which renames packages that only contain libraries to match their soname Nov 14 12:03:40 so zlib->libz Nov 14 12:03:46 glibc->libc6 Nov 14 12:03:47 etc Nov 14 12:04:34 So, how do I make sense of what's in the manifest ? It shows the name of the "Package" which doesn't match the name of the ipk file Nov 14 12:05:44 what manifest in particular? Nov 14 12:06:14 license.manifest Nov 14 12:07:19 found in /tmp/deploy/licenses Nov 14 12:18:54 hi everybody Nov 14 12:19:36 I have a question about the e2fsprogs package Nov 14 12:20:35 is there a particular reason why the fsck.extX binaries from this package are standalone binaries rather than having them be symlinks to e2fsck? Nov 14 12:22:04 tront_: they're hardlinked Nov 14 12:31:48 right, thanks Nov 14 12:41:43 If we change sdk path (copy the entire sdk to somewhere else), is it sufficient to change the path in the environment setup script ? Nov 14 13:16:35 PK, I'm even more confused. What is package.manifest, and why are its contents so different than license.manifest ? License.manifest indicates the combination of package and version that *mostly* can be found as ipk files. Whereas package.manifest contains a bare name (no version) of packages - which, at least has the redeeming feature that renamed packages like zlib->libz1 show up with the right (renamed) package name. What's the purpose of two Nov 14 13:16:35 files, and why is the "core" data (i.e. the package name) different ? Nov 14 13:26:05 still not sure where you're finding license.manifest and package.manifest Nov 14 13:26:26 when i say the manifest, i mean the .manifest in tmp/deploy/images Nov 14 13:26:52 which uses real package names, such as libz1 Nov 14 13:27:09 (and versions) Nov 14 13:27:14 eg libz1 core2_64 1.2.11 Nov 14 13:34:31 ah there they are, generated by the license class Nov 14 13:35:13 Smit-Tay: clearly they need to be merged and fixed. if you just want a manifest, use the one in the images directory Nov 14 14:01:12 OK, that appears to solve my problem. Thanks again rburton Nov 14 14:02:33 rbuton, what is the second element in the row communicating ? Nov 14 14:04:14 I see at least three different values (corei7-64, all, hpad_al_54_uefi) Nov 14 14:04:19 in the same file Nov 14 14:24:52 can I use example recipe for both helloworld.c compiling and image creation using ? Nov 14 14:25:23 no Nov 14 14:25:29 packages != images Nov 14 14:26:00 if you want a custom image, copy/paste one of the existing images that is close to what you want Nov 14 14:28:46 rburton: right, Nov 14 14:40:36 Are EGL implementations of video drivers (ie, TI's DDK) agnostic to windowing system (ie X11 or Weston)? Nov 14 14:45:47 theoretically yes Nov 14 14:46:00 there are extensions the drivers need to support for eg wayland to work Nov 14 14:47:15 Ok. On a Wayland/Weston system, to bind a legacy X11/EGL application to Xwayland would simply need X11-EGL extension. Correct? Nov 14 14:49:03 is there a reason why the recipe for gpgme was removed between morty & pyro, but the rest of the config left? Nov 14 14:49:27 what configuration specifically? Nov 14 14:49:51 wait ignore that, just typo'd an ls.... Nov 14 14:52:25 rburton: I'm trying to move an sdk from morty to pyro, it's complaining that nothing rprovides gpgme-pthread. Trying to see what's changed between recipe versions/configs Nov 14 14:59:01 presumably from this commit http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6075e4978d344faabede03829ebacd82dcfd392b Nov 14 15:03:02 so I need to change the rdpends to handle it.. Nov 14 15:13:52 rburton: same scenario but this time the removal of sgml-common? Nov 14 15:16:45 ah..... http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=671780de49f93ec1cc28f5ad2a7eebe211918b85 Nov 14 15:18:13 CTtpollard: obviously we don't commit to maintaining stuff for all eternity :) Nov 14 15:24:58 Hi all Nov 14 15:25:52 Can someone tell me how to undo the forced flag ? Nov 14 15:26:51 I ran bitbake -f -c configure systemd. Now each time I run bitbake I have this message "systemd_232.bb.do_configure is tainted from a forced run", please. Nov 14 15:27:45 diembed: -c clean it doesn't do the trick? Nov 14 15:29:07 kanavin: understandable, git revert is fine for my needs here :) Nov 14 15:30:15 CTtpollard: why do you need sgml stuff? has been obsolete for years Nov 14 15:32:46 zeddii (IRC): ping Nov 14 15:34:22 LetoThe2nd: Thank you. I will try it when current build will be finished Nov 14 15:36:47 Newbie question. I see version information that looks like this: "1:2.44.1-r0" What's the "1:" part called / indicating ? Nov 14 15:37:12 Smit-Tay: package epoch Nov 14 15:37:18 I also have the flag forced for an image (let's say core-image-minimal), if I run "bitbake -c clean core-image-minimal", does all packages will be recompiled at next execution of "bitbake core-image-minimal" ? Nov 14 15:37:48 diembed: no Nov 14 15:37:51 diembed: nope, the command clears only the state for the given recipe Nov 14 15:38:15 so if the caches are hot AND valid, only the image will be recreated Nov 14 15:38:25 kanavin and LetoThe2nd: Cool, thanks a lot Nov 14 15:39:33 Smit-Tay: it's indicating whether the package previously used one versioning scheme, and then switched to another versioning scheme. to avoid confusing the two, package epoch clearly separates moving from one to another Nov 14 15:40:21 Smit-Tay: or if we need to downgrade a package version for whatever reason Nov 14 15:42:08 rburton: was the meson patchset ever given to AB? Nov 14 15:42:34 (don't do it if it wasn't; I'm preparing a new version, and want to see any failures that happened) Nov 14 15:43:00 I have an other question : I created a systemd_%.bbappend file with these two lines: Nov 14 15:43:02 PACKAGECONFIG += " networkd resolved timedated timesyncd" Nov 14 15:43:06 EXTRA_OECONF_append = " --with-ntp-servers=0.pool.ntp.org --with-dns-servers= " Nov 14 15:44:17 I tried to move them to my machine configuration file but it does not work. Here the two lines added in file "machine/myboard.conf": Nov 14 15:44:37 #PACKAGECONFIG_systemd += " networkd resolved timedated timesyncd" Nov 14 15:44:41 EXTRA_OECONF_systemd_append = " --with-ntp-servers=0.pool.ntp.org --with-dns-servers= " Nov 14 15:44:54 diembed: PACKAGECONFIG_on-systemd += "..." Nov 14 15:45:04 dang, typo PACKAGECONFIG_pn-systemd += "..." Nov 14 15:45:04 (without # for PACKAGECONFIG_systemd, of course) Nov 14 15:45:06 SO, why is epcoh removed from the actual ipk file name ?? (And included in the manifest ??) Nov 14 15:45:27 Smit-Tay: no idea. I'm a rpm specialist :) Nov 14 15:45:43 And Is EXTRA_OECONF OK ? Nov 14 15:45:46 Smit-Tay: if you find the place in code where the filename is formed, you might see some clues Nov 14 15:46:11 diembed: no idea if it works for EXTRA_OECONF too, but if, it will need the _pn- syntax too Nov 14 15:46:34 diembed: you probably want these in your distro config, not your machine config, if you need to support several boards in the future Nov 14 15:46:51 LetoThe2nd: Thank you. I appreciate your help very much. Nov 14 15:47:07 diembed: :-) Nov 14 15:47:12 diembed: and what kanavin said Nov 14 15:47:35 libglib-2.0-0, is an example. the manifest says it's version 1:2.44.1-r0, but the ipk file is named "libglib-2.0-0_2.44.1-r0_corei7-64.ipk" (missing the epoch) Nov 14 15:47:54 kanavin: I put it in Machine as all futures machines will not necessarily need these options Nov 14 15:48:52 diembed: still, it belongs in the distro - machine config should only have stuff related to hardware Nov 14 15:49:21 diembed: if you need different settings, define another distro Nov 14 15:49:32 kanavin: and as you see I am not very familiar with all Yocto stuff. So I will do that later ;) Nov 14 15:49:51 kanavin: Thank you for advises Nov 14 15:55:14 PACKAGECONFIG_pn-systemd += "..." and EXTRA_OECONF_pn-systemd += "..." in machine file work perfectly (with bbappend disabled) Nov 14 15:56:00 _pn += will erase any existing value, rather than appending to it Nov 14 15:56:04 you want _append_pn- instead Nov 14 15:56:51 kergoth: ah interesting, thx Nov 14 15:57:04 note that _append won't add the space separator for you Nov 14 16:00:00 https://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#variable-interaction-worked-examples mentions the _append_foo vs _foo_append / _foo +=, though possibly not as clearly as i'd like given such a common point of confusion Nov 14 16:01:02 kergoth: yeah, "try various ways until it works" Nov 14 16:01:43 that's not generally a good way to proceed, that's how you end up with files riddled with bad stuff that others then copy and paste into their own files, and wrong stuff gets spread around to new layers Nov 14 16:01:50 then it takes ages to fix them all Nov 14 16:02:10 kergoth: yes, but that's how people tend to do things Nov 14 16:02:16 sadly yes Nov 14 16:02:19 kergoth: exhibit a: autotools Nov 14 16:02:21 which is why layer quality is as bad as it is Nov 14 16:02:23 that too Nov 14 16:02:40 autotools shows the sad lack of configuration management and build engineering expertise in open source projects Nov 14 16:02:44 too much emphasis on just the code Nov 14 16:04:29 the yocto project is thankfully an exception to that, though Nov 14 16:05:47 * kergoth ponders Nov 14 16:06:06 kergoth: no one ever wants to be an expert in configuration management or build engineering. It's boring! :) People want to hack the code, and make it do exciting stuff, so those things are largely seen as necessary evil. Nov 14 16:11:04 unfortunate, but true. configuration management is important, but not exciting Nov 14 16:11:23 kergoth: Indeed, since my modification xsltproc is no more found while compiling systemd, Thank you Nov 14 16:14:56 kergoth: I read a lot of docs for Yocto (including official one, for course) but I worked several years with LITB and I had to "learn" very fast Yocto to start a new project. I am the first to say that documentation must be read and the command "man" is my best friend but sometimes, it is not enough to understand all the underlaying stuff ;) Nov 14 16:15:38 yeah, not blaming you there, there's a substantial learning curve, and this is a common area of confusion Nov 14 16:15:45 Which of the directory is applied with the patches, the source or the destination ? Nov 14 16:16:22 ranran: what do you mean? Nov 14 16:16:34 ranran: what good would it do to path the destination/build directory? Nov 14 16:17:55 I understand there is source directory ${S} and destination directory ${D}. Nov 14 16:18:30 SRC_URI is sources by definition. Nov 14 16:18:39 the whole point of patches in SRCURI is to patch the source tree Nov 14 16:18:39 If I understand correctly: fetch is into source, then it is also patched (in source) ? Nov 14 16:19:05 sources are downloaded from upstream to DL_DIR in do_fetch, then unpacked from DL_DIR into WORKDIR in do_unpack, then patches are applied to S in do_patch Nov 14 16:19:58 kergoth, thank you very much, that's make sense now. !! Nov 14 16:20:02 np Nov 14 16:20:58 D is only ever written to directly in do_install Nov 14 16:21:19 then the contents of D are split up into individual packages in do_package, and then written to binary package files in the do_package_write_* tasks Nov 14 16:21:50 kergoth: hey don't burst my bubble "its all magic!" Nov 14 16:21:53 iirc the behavior of the main tasks is covered by the yocto project docs as well as the yocto chapter of the architecture of open source systems book Nov 14 16:22:02 in case you want to read more Nov 14 16:23:31 of course, if you're really curious, you can just read base.bbclass, patch.bbclass, staging.bbclass, package.bbclass, and read the definitions of the tasks, but most dont' want that deep a dive :) Nov 14 16:24:57 Thanks, I had to understand the basic , before diving, and I understand now better, with the help of this group. Thanks a lot Nov 14 16:27:51 * kergoth nods, no problem Nov 14 16:41:58 joshuagl: o/ Nov 14 16:42:43 With fresh copy of poky.morty, bitbake core-image-minimal throwing error of "changing ownership of... operation not permitted" Nov 14 16:45:10 ping Nov 14 16:45:50 Are there any examples of IMAGE_QA_COMMANDS in Yocto, or is this some infrastructure that hasn't got any tests yet? Nov 14 16:49:26 New news from stackoverflow: GStreamer understanding (gst-pligins-base,... gst-plugin-vspfilter, element, pipeline) [on hold] Nov 14 16:50:35 kanavin: can't recall, please rebase and ping when you have a moment Nov 14 17:01:41 Is there any further informations about SRC_URI than this one http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-SRC_URI ? I need to clone a git repository with submodules. I don't known if the recipe does it the right way : https://git.yoctoproject.org/cgit/cgit.cgi/meta-tlk/tree/common/recipes-support/sbsigntool/sbsigntool-native_git.bb?id=863590f9bc7104fef698ce6b89ec24dfce542df1 Nov 14 17:02:55 (I already create other recipes with git repository and understand all the variable but the is the first I have to write for a project with submodule. Nov 14 17:04:07 So I don't know if git submodule init/update will do done automatically (I doubt it) or if I have to specify all submodules revision Nov 14 17:04:57 (like in sbsigntoll) or if there is an intermediate declaration of git+submodules repositories Nov 14 17:06:58 without the need of declaring each submodules' destination directory ? Nov 14 17:30:46 I will ask again tomorrow ;) Bye and thanks Nov 14 17:36:58 Hello, I see 2 source directory for linux, what's the difference between them ? build/tmp/work-shared/lec-imx6/kernel-source/ & build/tmp/work/lec_imx6-poky-linux-gnueabi/linux-imx/4.1.15-r0/git Nov 14 17:49:39 New news from stackoverflow: GStreamer understanding (gst-pligins-base,... gst-plugin-vspfilter, element, pipeline) [closed] Nov 14 18:06:25 has anyone built openjdk-8-native in morty branch. It seems to fail at icedtea-native Nov 14 18:08:31 plus the build prints a lot of warnings: ....exception IndexError: string index out of range Nov 14 18:35:50 has devtool been updated since fido to allow it to work with linux-yocto? Nov 14 18:50:31 rburton: i sent the u-boot update Nov 14 20:05:10 Does anyone knows why there are 2 source folders for linux: build/tmp/work-shared/lec-imx6/kernel-source/ build/tmp/work/lec_imx6-poky-linux-gnueabi/linux-imx/4.1.15-r0/git ? Nov 14 20:05:40 the 'work-shared' is the source for the kernel that is shared between all users of that source (as there are multiple users) Nov 14 20:05:59 the copy on the w'owkr' directory (assuming it's using STANDARD tooling) is specific instance for that build.. Nov 14 20:06:15 often a BSP vendor will do their own thing, so the work-shared version is never really shared.. Nov 14 20:09:03 thank fray Nov 14 20:09:07 thanks Nov 14 20:18:18 hi, i've got a question: is it possible to build several image recipes with one bitbake target? Nov 14 20:19:04 ? Nov 14 20:19:08 I would like to build rootfs and additionally small ramdisk image Nov 14 20:19:20 the bitbake command accepts any arbitrary number of targets on the commandline, is that insufficient? Nov 14 20:20:36 didn't thought about it that way, should be ok Nov 14 20:21:55 Hi again :) Nov 14 20:22:35 diembed: just use gitsm:// instead of git:// to let the bitbake fetcher handle a remote git repo with submodules Nov 14 20:22:38 nothing else you need to do Nov 14 20:24:41 kergoth: Thank you. I found this in a stackoverflow's post (or similar) but I was not sure it was the best way (and tought it was obsolete as it is not in docs) Nov 14 20:27:03 A last question: I try to populate a custom license (for vim recipe imported to my layer from official meta-oe layer) but I have this warning "The license listed vim was not in the licenses collected for recipe vim" Nov 14 20:27:28 I added "LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"" to mylayer/conf/layer.conf Nov 14 20:28:18 *to meta-mylayer/conf/layer.conf Nov 14 20:28:38 I added the vim license file to meta-mylayer/files/custom-licenses Nov 14 20:29:42 and in meta-mylayer/repices-oe/vim/vim_8.0.0427.bb there is this line : LICENSE = "vim" Nov 14 20:29:54 Do you any lead for me, please ? Nov 14 20:32:07 I used http://www.yoctoproject.org/docs/2.1/bsp-guide/bsp-guide.html and I don't see what is wrong Nov 14 21:17:01 MWelchUK: \o I added that so that we could implement things like: http://git.yoctoproject.org/clean/cgit.cgi/meta-swupd/tree/classes/swupd-image.bbclass#n572 Nov 14 21:54:56 Bye and thanks for help Nov 15 00:08:44 Hi, If I add tools-sdk to Image features, I get Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Nov 15 00:08:52 Any Ideas? Nov 15 00:17:31 Guest93429: you think you're adding but most likely you are setting and that is overriding the default value set with ?= Nov 15 00:17:46 Guest93429: I assume you are doing this from local.conf? Nov 15 00:18:27 yes!, but I usually have this line in local.conf anyways Nov 15 00:18:29 XTRA_IMAGE_FEATURES = "debug-tweaks" Nov 15 00:19:18 Guest93429: so you are just putting tools-sdk in the end of that? or doing it separately? Nov 15 00:19:29 end of that Nov 15 00:19:40 and I take it out and it boots fine Nov 15 00:20:11 well, that's odd.. I can't immediately see how that would have such an effect Nov 15 00:20:31 which target machine is this for? Nov 15 00:20:42 Only thing I can think is maybe its too big for initramfs? if I compare logs before and after its 170M vs 50M Nov 15 00:20:51 a zynq machine Nov 15 00:20:52 oh, right Nov 15 00:21:08 yeah, so, this is a prime example of why you shouldn't set this kind of thing from local.conf Nov 15 00:21:14 create yourself a proper image recipe and set it there Nov 15 00:21:26 then it won't interfere with your initramfs image Nov 15 00:22:04 (usually: take a copy of some base image, give it the name you want, and then modify it as desired) Nov 15 00:22:45 Ohh I see.. does that make a difference? Nov 15 00:23:11 Guest93429: well, if you set an image variable from local.conf, it affects any image you build, and that includes the image recipe used to generate the initramfs Nov 15 00:23:56 we really ought to tweak our documentation in this area Nov 15 00:24:28 ah I kind of see Nov 15 00:24:31 I will try this Nov 15 00:24:32 thank you Nov 15 00:39:26 @bluelightning, seeing the same error unfortunately Nov 15 00:39:57 Crofton|work: any suggestions? ^ Nov 15 00:40:30 Guest93429: you did remove the feature from the line in local.conf right? Nov 15 00:40:37 made a asdf.bb where I require the image.bb, then set tools-sdk in there then build asdf Nov 15 00:40:40 and yes Nov 15 00:40:45 removed from local.conf Nov 15 00:41:14 ok, I'm stumped then I'm afraid... I haven't had any experience with the zynq boards unfortunately Nov 15 00:41:23 it may be image size related perhaps, but that's a guess Nov 15 00:42:14 Ok appreciate the help Nov 15 01:19:34 sorry working on dinner **** ENDING LOGGING AT Wed Nov 15 03:00:01 2017