Yatekii | bah I don't understand how versioning of the packages works :( | 00:02 |
---|---|---|
khem | Yatekii: its based on debian version policy mainly https://www.debian.org/doc/debian-policy/ch-controlfields.html#version | 00:06 |
Yatekii | khem: I am trying to make my recipe with autorev work ... | 00:06 |
Yatekii | now I get WARNING: raichu-core-${SRCPV}-r0 do_unpack: raichu-core: the directory ${WORKDIR}/git (/home/yatekii/repos/raichu/build-openstlinuxtkrt-stm32mp1-raichu-cubemx/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_tkrt-linux-gnueabi/raichu-core/${SRCPV}-r0/git) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to | 00:06 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-rebzhdpdrvpatjyj> has joined #yocto | 00:07 | |
Yatekii | https://gist.github.com/Yatekii/0fe441777b3a25c9cad29763e82b7fb1 is my receipe | 00:07 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-rebzhdpdrvpatjyj> has quit IRC | 00:07 | |
Yatekii | idk, all the guides and stuff are so unprecise ... | 00:07 |
khem | remove tag= | 00:08 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 00:09 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 00:09 | |
khem | and SRC_URI should be SRC_URI = "git://github.com/rust-embedded/gpio-utils.git;protocol=https" | 00:09 |
Yatekii | https://gist.github.com/Yatekii/8dc9de1aa9c0a675abc192206abeda8c is what I get | 00:12 |
Yatekii | adding the protocol instead of the tag didn't help much :/ | 00:12 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-omwufmuounewwdca> has joined #yocto | 00:13 | |
khem | does SRCREV = "282ea12416d2ad29a3f4c8612fa56c14cd569c2c" work ? | 00:17 |
Yatekii | https://gist.github.com/Yatekii/4464ec800db6ce5e1a1ee44cc0a76dbf nah, same as in the afternoon | 00:20 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-xawnexischvhopxf> has joined #yocto | 00:20 | |
Yatekii | even if I add the tag 0.3.0 and name the receipe raichu-core_0.3.0 it does not work | 00:24 |
Yatekii | when I look into the work dir there is a file called gpio-utils.git which contains the html of the git repo LOL and the git dir is empty | 00:24 |
Yatekii | .... | 00:24 |
*** JPEW <JPEW!~JPEW@2600:1f16:181:f300:d350:982:b6f5:216c> has quit IRC | 00:25 | |
*** zbooth <zbooth!~zbooth@ec2-18-219-251-161.us-east-2.compute.amazonaws.com> has quit IRC | 00:25 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 00:27 | |
Yatekii | uhm it was the http:// ... | 00:28 |
Yatekii | it needed to be git:// | 00:29 |
khem | well you should read messages | 00:30 |
Yatekii | they don't tell | 00:31 |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC | 00:31 | |
Yatekii | and why do they do it like this in the example then lol | 00:31 |
Yatekii | well | 00:31 |
khem | messages here i meant thats what i wrote above | 00:31 |
*** zbooth <zbooth!~zbooth@2600:1f16:181:f300:d350:982:b6f5:216c> has joined #yocto | 00:31 | |
Yatekii | khem: ohhhhhh sorry I just saw the end | 00:32 |
Yatekii | thanks! | 00:32 |
Yatekii | why did they do it wrong in the example then? :/ | 00:32 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-txlkkeyzfronwdwa> has joined #yocto | 00:32 | |
khem | to err is human :) | 00:32 |
khem | file a bug | 00:32 |
Yatekii | khem: well that readme exists for many months now ... I mean somebody must have recognized ... | 00:33 |
Yatekii | well anyhow | 00:33 |
khem | where did you pick the example from ? | 00:34 |
khem | they might be using http fetcher which is fine | 00:35 |
khem | you were trying to use git fetcher | 00:35 |
Yatekii | I wonder what the issue here is: bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Conflicting revisions (AUTOINC from SRCREV and git from the url) found, please specify one valid value | 00:35 |
Yatekii | I read the guide on AUTOREV but I still don't understand :/ | 00:35 |
Yatekii | khem: uhm how do I know which fetcher it's using? :/ | 00:35 |
khem | it cant get to the repo and run git ls-remote | 00:35 |
*** JPEW <JPEW!~JPEW@ec2-18-219-251-161.us-east-2.compute.amazonaws.com> has joined #yocto | 00:36 | |
Yatekii | uhm oh, so this worked wat | 00:36 |
Yatekii | I don't understand yet ... | 00:37 |
khem | https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#bb-fetchers | 00:37 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-mdftyhhfadskhwbe> has joined #yocto | 00:37 | |
Yatekii | yes, it says the url prefix determines the fetcher | 00:38 |
Yatekii | so when I am using https:// it should use that fetcher which didn't work | 00:38 |
*** zbooth <zbooth!~zbooth@2600:1f16:181:f300:d350:982:b6f5:216c> has quit IRC | 00:38 | |
*** JPEW <JPEW!~JPEW@ec2-18-219-251-161.us-east-2.compute.amazonaws.com> has quit IRC | 00:38 | |
Yatekii | anyhow, seems to be building the image just fine now :) | 00:39 |
Yatekii | hmm how is D determined? | 00:40 |
khem | SRCPV needs a scm fetcher | 00:40 |
*** JPEW <JPEW!~JPEW@ec2-18-219-251-161.us-east-2.compute.amazonaws.com> has joined #yocto | 00:40 | |
Yatekii | well I tried without that cursed variable and just use the git tag | 00:41 |
Yatekii | which didn't work either | 00:41 |
khem | read about fetchers they are quite configurable | 00:43 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-zjdseqkcwejksqlk> has joined #yocto | 00:44 | |
khem | one can get the syntax wrong easily | 00:44 |
*** roussinm <roussinm!~mroussin@ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca> has quit IRC | 00:44 | |
*** zbooth <zbooth!~zbooth@ec2-18-219-251-161.us-east-2.compute.amazonaws.com> has joined #yocto | 00:46 | |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-gdpeohxvdwurvftc> has joined #yocto | 00:52 | |
*** stuom1 <stuom1!3eecd81d@62.236.216.29> has quit IRC | 00:56 | |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-ftpjpwoiznxhgnwy> has joined #yocto | 00:58 | |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-ttvfhbizmqkuwthe> has joined #yocto | 01:05 | |
Yatekii | hmm can I clone a private repo somehow if I have a creadential store? | 01:11 |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-fcgowvhhuzooxaha> has joined #yocto | 01:11 | |
*** JaMa <JaMa!~martin@109.238.218.228> has joined #yocto | 01:12 | |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-mrcfhyprlgarsvag> has joined #yocto | 01:23 | |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-rsuafpufkznctpnq> has joined #yocto | 01:38 | |
*** sgw <sgw!sgw@nat/intel/x-yxqwtcrfhrhidppp> has quit IRC | 01:48 | |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-pfgcwqajensaylpg> has joined #yocto | 01:50 | |
*** net_wayfarer <net_wayfarer!net_wayfar@gateway/shell/ircnow/x-fwkzlnkfnddmpecg> has joined #yocto | 01:56 | |
khem | yes | 02:00 |
khem | use git://user@host:......;protocol=ssh for SRC_URI | 02:00 |
khem | you can use ~/.netrc to specify password for accessing git server | 02:01 |
*** rangergord <rangergord!~rangergor@modemcable186.198-70-69.static.videotron.ca> has quit IRC | 02:24 | |
*** armpit <armpit!~armpit@45.19.219.178> has quit IRC | 02:31 | |
*** hpsy <hpsy!~hpsy@85.203.15.14> has quit IRC | 03:40 | |
*** sgw <sgw!sgw@nat/intel/x-rymcjmwunpvgzhnw> has joined #yocto | 03:45 | |
*** lfa_ <lfa_!~lfa@217.19.35.51> has joined #yocto | 03:54 | |
*** lfa <lfa!~lfa@217.19.35.51> has quit IRC | 03:57 | |
*** davisr_ <davisr_!davisr@gateway/vpn/privateinternetaccess/davisr> has joined #yocto | 04:48 | |
*** davisr <davisr!~davisr@cpe-184-58-235-7.wi.res.rr.com> has quit IRC | 04:50 | |
*** armpit <armpit!~armpit@2601:202:4180:a5c0:fd83:79d8:6b68:b6b6> has joined #yocto | 05:07 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has quit IRC | 05:40 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has joined #yocto | 05:40 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has quit IRC | 05:45 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@cst-prg-73-43.cust.vodafone.cz> has joined #yocto | 05:47 | |
*** agust <agust!~agust@p508B64CC.dip0.t-ipconnect.de> has joined #yocto | 06:36 | |
*** stuom1 <stuom1!3eecd81d@62.236.216.29> has joined #yocto | 06:37 | |
*** AndersD <AndersD!~AndersD@h-98-128-162-82.NA.cust.bahnhof.se> has joined #yocto | 06:45 | |
*** AndersD <AndersD!~AndersD@h-98-128-162-82.NA.cust.bahnhof.se> has quit IRC | 07:02 | |
LetoThe2nd | angelo__: no, i won't be at fosdom, sorry. but lots of other cool folks and content to be found there! | 07:02 |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto | 07:02 | |
*** guerinoni <guerinoni!~guerinoni@internet.micro-systems.it> has joined #yocto | 07:03 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@cst-prg-73-43.cust.vodafone.cz> has quit IRC | 07:07 | |
*** pohly <pohly!~pohly@p5B05600C.dip0.t-ipconnect.de> has joined #yocto | 07:12 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@cst-prg-95-133.cust.vodafone.cz> has joined #yocto | 07:16 | |
yocti | New news from stackoverflow: How to remove linker error Problem undefined reference to `VTimeGetActiveHorzWidth' <https://stackoverflow.com/questions/59746449/how-to-remove-linker-error-problem-undefined-reference-to-vtimegetactivehorzwid> | 07:24 |
*** ThomasD13 <ThomasD13!~ThomasD13@DSL01.212.114.255.148.ip-pool.NEFkom.net> has joined #yocto | 07:25 | |
ThomasD13 | Good morning | 07:27 |
ThomasD13 | I've got a linux-ti-staging_%.bbappend file which looks like this: FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI += "files://spi.cfg" | 07:28 |
ThomasD13 | So just add files/spi.cfg as source file. When building this package, I get this error: | 07:29 |
ThomasD13 | bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception NoMethodError: Could not find a fetcher which supports the URL: 'files://spi.cfg' | 07:29 |
erbo | ThomasD13: it's file:// | 07:30 |
ThomasD13 | arrrrgh! Thanks erbo :) | 07:30 |
erbo | No worries :) | 07:30 |
*** PinkSnake <PinkSnake!51ff1123@81.255.17.35> has joined #yocto | 07:32 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has joined #yocto | 07:35 | |
*** jmiehe <jmiehe!~Thunderbi@p578c106e.dip0.t-ipconnect.de> has joined #yocto | 07:35 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:4475:5b7:3b7d:d914> has joined #yocto | 07:36 | |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto | 07:43 | |
PinkSnake | Morning all, I'm trying to create a custom image type ( with company crypto stuff) and i'm stuck when I want to copy rootfs from DEPLOY_IMAGE_DIR to an other folder. --> FATAL ERROR: Error reading file into data: Is a directorymkimage ||any idea to fix that ? | 07:57 |
*** kreyren[m] <kreyren[m]!~kreyrenm]@cst-prg-95-133.cust.vodafone.cz> has quit IRC | 08:09 | |
*** yann <yann!~yann@91-170-159-152.subs.proxad.net> has quit IRC | 08:31 | |
*** jmiehe <jmiehe!~Thunderbi@p578c106e.dip0.t-ipconnect.de> has quit IRC | 08:34 | |
*** mcfrisk <mcfrisk!mcfrisk@kapsi.fi> has quit IRC | 08:43 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 08:56 | |
*** leon-anavi <leon-anavi!~Leon@78.130.245.67> has joined #yocto | 08:59 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 08:59 | |
*** mckoan|away is now known as mckoan | 09:00 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 09:00 | |
*** florian_kc <florian_kc!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 09:00 | |
*** florian_kc is now known as florian | 09:04 | |
*** tprrt <tprrt!~tprrt@217.114.204.178> has joined #yocto | 09:20 | |
*** jmiehe <jmiehe!~Thunderbi@p578c106e.dip0.t-ipconnect.de> has joined #yocto | 09:22 | |
*** lucaceresoli <lucaceresoli!~lucaceres@45.11.168.109.cust.ip.kpnqwest.it> has quit IRC | 09:23 | |
*** lucaceresoli <lucaceresoli!~lucaceres@45.11.168.109.cust.ip.kpnqwest.it> has joined #yocto | 09:29 | |
*** nacknick <nacknick!b9b8f483@185.184.244.131> has joined #yocto | 09:33 | |
nacknick | I want to add kernel feature to my image (CONFIG_SECCOMP_FILTER) how to to that? | 09:34 |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 09:35 | |
*** yann <yann!~yann@85.118.38.73> has joined #yocto | 09:37 | |
qschulz | nacknick: which kernel are you using? | 09:39 |
qschulz | (more specifically, which recipe) | 09:39 |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-zezgbzfmfygvywxn> has joined #yocto | 09:47 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 09:49 | |
*** sveinse <sveinse!~sveinse@7.92-221-150.customer.lyse.net> has quit IRC | 09:49 | |
nacknick | qschulz: I'm not sure. It's for Raspberry PI 3. How should I check which version? | 09:50 |
*** goliath <goliath!~goliath@nat008-WLTE1.uibk.ac.at> has joined #yocto | 09:51 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@cst-prg-92-10.cust.vodafone.cz> has joined #yocto | 09:53 | |
qschulz | nacknick: bitbake virtual/kernel -e | grep PREFERRED_PROVIDER_virtual/kernel | 09:58 |
qschulz | nacknick: there might be a better way to know which one's used but I don't remember on top of my head | 09:58 |
*** mcfrisk <mcfrisk!mcfrisk@kapsi.fi> has joined #yocto | 10:00 | |
qschulz | nacknick: basically the answer depends. If that recipe has "inherit kernel-yocto" somehwere, then you can create a defconfig fragment (.scc or .cfg) and add it to SRC_URI, that should do it I think (never used that mechanism tbh) | 10:07 |
qschulz | nacknick: if it does not, then it's recipe specific. Does it have a similar mechanism? usually if not, kernel recipes allow to pass a full defconfig to it in SRC_URI | 10:08 |
nacknick | qschulz: PREFERRED_PROVIDER_virtual/kernel="linux-raspberrypi" | 10:13 |
qschulz | nacknick: check in linux-raspberrypi*.bb | 10:15 |
qschulz | from what I read from the master version of this recipe, there is a `require recipes-kernel/linux/linux-yocto.inc` and in this file you have inherit kernel-yocto | 10:15 |
qschulz | so create a defconfig fragment which ends in .scc or .cfg and add it in SRC_URI | 10:16 |
qschulz | (in a bbappend in your layer) | 10:16 |
Yatekii | qschulz: https://gist.github.com/Yatekii/2ff8be70835b820109bc9883cbb73b1d this is my receipe now. hope that's ok. the only thing I don't understand is why I need to set the PV variable and why to that strange value. I read the docs but it still doesn't make sens to me fully. | 10:17 |
qschulz | Yatekii: LICENSE="CLOSED" => NOT true. As per https://github.com/rust-embedded/gpio-utils#license it's LICENSE="Apache-2.0 | MIT" | 10:18 |
LetoThe2nd | and autorev + srcvpv is strange | 10:19 |
qschulz | LetoThe2nd: that's what's asked by https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-AUTOREV | 10:20 |
qschulz | https://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#automatically-incrementing-a-binary-package-revision-number | 10:20 |
LetoThe2nd | qschulz: hmkay. looks strange to me, but hey. | 10:20 |
Yatekii | qschulz: I am aware. it was because the license fuckery was so annoying and now I am gonna use my private repo anyways, so I can decide the terms :) | 10:20 |
Yatekii | qschulz: yeah I read both of those, but somehow the exact internas are still not 100% clear to me. but I have a bleeding edge setup and a fixed tag one working :) | 10:21 |
Yatekii | now I am gonna try and use our closed git repo ... couldn't get it to work at home | 10:22 |
qschulz | Yatekii: you don't decide what the license is. If you base your project on that code, you need to have a license which is compliant with the one from the original project | 10:22 |
qschulz | anyway, lawyer stuff, you do you | 10:23 |
Yatekii | qschulz: yes, but I am not basing my code on the project :D | 10:23 |
qschulz | Yatekii: I don't know exactly where PV is used. But, it's used in the sstate-cache, in the name of packages, in the path to the workdir etc... I guess it's so that you can differentiate between two versions of the same recipe and package | 10:23 |
Yatekii | I just used it for a very basic example :) I already replaced it with my private repo | 10:23 |
*** kreyren[m] <kreyren[m]!~kreyrenm]@cst-prg-92-10.cust.vodafone.cz> has quit IRC | 10:24 | |
qschulz | so if you don't set this, it's gonna overwrite the previous recipe at best, at worst fuck up some internals | 10:24 |
qschulz | I cannot give more info as I don't have them :) | 10:24 |
qschulz | in do_install, use install -d ${D}${bindir}/ instead of mkdir | 10:25 |
qschulz | and your cp looks weird | 10:25 |
Yatekii | yeah :) | 10:25 |
Yatekii | qschulz: well there is no .deb file | 10:25 |
qschulz | why's the file in that directory? | 10:25 |
Yatekii | so I can't use install | 10:25 |
Yatekii | because that's the rust build location | 10:25 |
Yatekii | it's standard for rust | 10:25 |
qschulz | what do you mean you can't use install? | 10:27 |
qschulz | tasks are executed on your host system | 10:27 |
LetoThe2nd | qschulz: i guess there's evil magic hidden in the cargo class | 10:27 |
qschulz | I'm pretty sure your distro has support for install | 10:27 |
Yatekii | it tells me it can't find an installation receipe (I mean that does apt install which ofc doesn't work for my rust binary) | 10:27 |
LetoThe2nd | Yatekii: gah. no. look at other recipes! | 10:27 |
*** teo_piaz <teo_piaz!d4f31afe@212.243.26.254> has joined #yocto | 10:27 | |
Yatekii | ? | 10:27 |
LetoThe2nd | install -m 644 from to | 10:27 |
LetoThe2nd | instead of cp | 10:28 |
qschulz | LetoThe2nd: yes, install for cp and install -d for mkdir basically | 10:28 |
qschulz | sorry for Yatekii ^ | 10:28 |
LetoThe2nd | qschulz++ | 10:28 |
qschulz | Yatekii: man install on your host and you'll see :) | 10:28 |
qschulz | (I personnally didn't know what it was before using Yocto so no worries) | 10:29 |
Yatekii | I mean it's an apt thing, so yeah :) | 10:29 |
LetoThe2nd | no, its no apt thing! | 10:29 |
Yatekii | or at least it calls apt internally | 10:29 |
LetoThe2nd | perfect example: https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/recipes-core/tiny-init/tiny-init.bb#n23 | 10:29 |
*** teo_piaz <teo_piaz!d4f31afe@212.243.26.254> has left #yocto | 10:29 | |
qschulz | go in a temp directory in your host system, and type install -d foo | 10:30 |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has joined #yocto | 10:30 | |
qschulz | you'll have a foo directory | 10:30 |
LetoThe2nd | *this* is no apt thing. i am absolutely sure. https://gist.github.com/Yatekii/2ff8be70835b820109bc9883cbb73b1d#file-raichu-core_git-bb-L14 | 10:30 |
LetoThe2nd | so s/mkdir/install -d/g, and s/cp/install -m/g | 10:30 |
Yatekii | LetoThe2nd: I did not say that anywhere | 10:30 |
Yatekii | :) | 10:30 |
LetoThe2nd | 10:29 < Yatekii> I mean it's an apt thing, so yeah :) | 10:30 |
Yatekii | LetoThe2nd: the install command calls apt install. | 10:31 |
LetoThe2nd | no | 10:31 |
Yatekii | yes | 10:31 |
Yatekii | I was debugging it yesterday | 10:31 |
LetoThe2nd | we are totally talking about that very speific "do_install" in your recipe, and that you're doing it wrong. | 10:31 |
Yatekii | well anyhow Imma try this again | 10:31 |
*** Mat80 <Mat80!d4f31afe@212.243.26.254> has joined #yocto | 10:31 | |
qschulz | then check your .bashrc .zshrc or whatever is ran at login because install is NOT apt | 10:31 |
Yatekii | I am not saying I'm doing it right | 10:31 |
LetoThe2nd | no idea what you are talking about, but there is is *no* apt, and i think we gave pretty exact information on how to do it right. | 10:31 |
qschulz | Yatekii: or run `alias` and see if there's an entry for install | 10:32 |
Yatekii | yesterday when I tried to use install (yes I looked at other receipes, even if you donm't believe it) it complained about an apt command it executed which was missing an install receipe. | 10:32 |
Yatekii | whcih is why I resorted to mkdir and cp | 10:32 |
LetoThe2nd | not even that cargo.bbclass has anysigns of crazyness with apt: https://github.com/rust-embedded/meta-rust-bin/blob/master/classes/cargo.bbclass#L111 | 10:33 |
Mat80 | Hi all, I'm trying to build the sphinx package. I've found this recipe http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-devtools/python/python-sphinx_1.7.8.bb?h=warrior. I have put it in my personal layer in recipes-devtools/python but bitbake is not finding it. What can I do? | 10:33 |
LetoThe2nd | Yatekii: so no idea what you did or what you looked at, but get it out of your head REAL QUICK! | 10:33 |
stuom1 | try alias | grep install= on your host | 10:33 |
Yatekii | LetoThe2nd: I can just tell what the log said. I am not making any assumptions how bitbake really works | 10:33 |
Yatekii | there is no alias on this system and I don'0t believe there is at home. but i'll try at home again | 10:34 |
LetoThe2nd | Mat80: why not just using meta-virtualization as-is? | 10:34 |
Mat80 | I'm really a newbie for yocto, Since that is the only recipe that I need I was thinking to not download the whole layer | 10:35 |
qschulz | Yatekii: reading https://github.com/rust-embedded/meta-rust-bin/blob/master/classes/cargo.bbclass, I think you don't even need your do_install in your recipe | 10:35 |
Mat80 | I was thinking more layer => more parsing time for bitbake => slow | 10:36 |
qschulz | Yatekii: https://github.com/rust-embedded/meta-rust-bin/blob/master/classes/cargo.bbclass#L120-L122 it looks for files in WORKDIR/target/[release|debug]/ | 10:36 |
Yatekii | qschulz: hmm you are right :/ | 10:37 |
Yatekii | yes, this is the right behavior | 10:37 |
Yatekii | kk imma try if this works :) | 10:37 |
Mat80 | but other than perf issue, what I'm doing wrong? can't I just add a recipe in a layer (that is present in bblayers.conf) and be able to find it using bitbake? | 10:37 |
qschulz | Yatekii: if that does not work, maybe check if it's not trying to find files in debug instead of release | 10:37 |
LetoThe2nd | Mat80: while the parsing time assumption is correct, you put the maintenance burden on yourself, and that has to be correlated. | 10:38 |
qschulz | Yatekii: also, figure out why the heck install is not working in your recipe, because that's supposed to work and expected to work (except very specific uses cases, install instead of mkdir or cp is used throughout Yocto) | 10:39 |
LetoThe2nd | Mat80: technically, if you adhere to the recipes-*/*/*.bb scheme then there should be no problem | 10:39 |
LetoThe2nd | Mat80: if you have the layer on github or such we can have a look | 10:39 |
Mat80 | LetoThe2nd I know, but this is just for testing, I'm not sure I'll need it later | 10:39 |
Mat80 | no sorry is not public | 10:40 |
LetoThe2nd | Mat80: other things in the layer work? | 10:40 |
Mat80 | yes | 10:40 |
Yatekii | qschulz: yes I will try as you both suggested and see if I maybe just operated it wrong :) | 10:41 |
Yatekii | qschulz ok one question tho: I am trying to clone a private repo over http (most likely it's gonna be public in the end but you never know). I have a the user and pw in .netrc as fond on the web and advised by khem. I don't like that solution particularly but it's okay. but what I struggle is to find the right url ... khem told me to use: git://user@host:......;protocol=ssh . I then did: SRC_URI = "git://nh@code.technokrat.ch/project/raichu-core.git;transport | 10:42 |
Yatekii | =https" which does not work sadly. do I need to add the host twice? or do I need to insert a : in ".../:ch..." ? | 10:42 |
Yatekii | I also I tried to take a look at the git fetcher docs but it seems to miss to explain that is there maybe more specific docs I am missing? | 10:42 |
LetoThe2nd | Mat80: then the only thing that comes to my mind is triple checking that your recipe name + path match the scheme just given. | 10:42 |
Mat80 | ok I sourced again the oe-init-build-env script and not It works | 10:42 |
Mat80 | thank your for your time | 10:42 |
qschulz | Yatekii: https://www.yoctoproject.org/pipermail/yocto/2014-April/019135.html try with this first? | 10:48 |
qschulz | otherwise /me shrug | 10:49 |
qschulz | I don't use private repos | 10:49 |
*** hpsy <hpsy!~hpsy@217.66.60.5> has joined #yocto | 10:49 | |
nacknick | qschulz: seems like I don't have any linux-raspberrypi*.bb file | 10:50 |
nacknick | Oh. I've found something | 10:52 |
Yatekii | qschulz: I can try, but then I rather make the repo public than use this solution ^^ | 10:53 |
Yatekii | I don't use private repos mostly either. for some company stuff I ned to | 10:53 |
Yatekii | *need | 10:53 |
nacknick | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"LINUX_VERSION ?= "4.9.80"SRCREV = "7f9c648dad6473469b4133898fa6bb8d818ecff9"SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y"require linux-raspberrypi.inc | 10:54 |
qschulz | Yatekii: sure, it's just to test that Yocto can actually connect to your thing :) If it can then at least you know it works within Yocto in some ways | 10:54 |
qschulz | nacknick: what is this :) ? | 10:55 |
nacknick | qschulz: This is all the content, there is no`require recipes-kernel/linux/linux-yocto.inc` | 10:55 |
qschulz | where's this file? what's its name? | 10:55 |
Yatekii | qschulz: I agree :) | 10:55 |
nacknick | meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.9.bb | 10:55 |
stuom1 | nacknick you need to check inside linux-raspberrypi.inc | 10:55 |
qschulz | nacknick: yeah sorry, I read the .inc :) | 10:56 |
nacknick | stuom1: You're right. inside it there is `require recipes-kernel/linux/linux-yocto.inc` | 10:56 |
Yatekii | qschulz: yeah ofc my pw has a slash in it which is considered part of the URL XD | 10:57 |
Yatekii | hmm basically it tries to fetch from remote with git://user:pwd\/@code.technokrat.ch/ecarup/raichu-core.git and it tells me "unable to look up user:pwd" and my receipe has this: SRC_URI = "git://code.technokrat.ch/ecarup/raichu-core.git;transport=https;user=user:pwd\/" | 11:06 |
angelo__ | how can i find where a wic image is defined ? | 11:09 |
mckoan | angelo__: look for .wks files | 11:10 |
LetoThe2nd | angelo__: please define "defined" | 11:10 |
*** goliath <goliath!~goliath@nat008-WLTE1.uibk.ac.at> has quit IRC | 11:10 | |
paulbarker | `bitbake -e <image_name>` and look for `WKS_FULL_PATH` should tell you which wks file is used | 11:12 |
RP | kanavin: I've a hack for python 3.8 in -next. Torn on whether its a good idea | 11:14 |
angelo__ | LetoThe2nd, paulbarker thanks, found it | 11:16 |
angelo__ | it comes from a lower layer | 11:17 |
Yatekii | ok so I also can't curl my private repo, qschulz which is odd ... now I don't know how git clones this at all lol | 11:17 |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 11:17 | |
angelo__ | can i override it with a different .wks ? | 11:18 |
LetoThe2nd | angelo__: should be no problem | 11:18 |
kanavin | RP, I'd rather get to the bottom of it :-( it's okay to merge, but I'll try to find time to revert that and look into it | 11:20 |
RP | kanavin: I would rather too, I added it mainly to see whether it was the only problem | 11:23 |
RP | kanavin: its rather like the locale problem which we had open for years :/ | 11:23 |
kanavin | RP, yes, that was an epic issue, and was solved by someone outside of the main contributors circle :) | 11:24 |
RP | kanavin: indeed, although Jason does work heavily with the project, just not so much on the core | 11:25 |
*** jdowner <jdowner!~jdowner@50.239.151.2> has joined #yocto | 11:32 | |
jdowner | I'm trying to figure out if there is a way to get bitbake to write a rootfs to a directory rather than a tarball. does anyone known if that is possible or where I can find that information? | 11:34 |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has quit IRC | 11:38 | |
*** hpsy <hpsy!~hpsy@217.66.60.5> has quit IRC | 11:41 | |
*** lucaceresoli <lucaceresoli!~lucaceres@45.11.168.109.cust.ip.kpnqwest.it> has quit IRC | 11:42 | |
*** guerinoni <guerinoni!~guerinoni@internet.micro-systems.it> has quit IRC | 11:43 | |
rburton | jdowner: ownerships wont be right, does that matter? | 11:48 |
rburton | bitbake can't write a file with root ownerships in if it isn't root | 11:48 |
jdowner | that makes sense, but I don't think it'll be a problem | 11:49 |
jdowner | in the setup I am currently using the rootfs is not owned by root. it is used via a bwrap container, and at that point the ownership is set to root | 11:51 |
jdowner | I should mention that this is only something I want to do for active development | 11:52 |
jdowner | the creation of the tarball and subsequent extraction is a bit of a bottleneck | 11:52 |
qschulz | LetoThe2nd: is there actually a PROPRIETARY license or what is just a `foo`-like way to say you should put your license there? | 11:56 |
qschulz | LetoThe2nd: wrt the tweet you sent on @YoctoThe | 11:57 |
qschulz | Yatekii: https://git.yoctoproject.org/cgit.cgi/poky/tree/bitbake/lib/bb/fetch2/git.py the code is here (checkout the correct branch beforehand) | 11:58 |
rburton | jdowner: should be easy to make a new imagetype that just copies the rootfs instead of doing anything to it | 11:58 |
*** berton <berton!~berton@189.103.49.163> has joined #yocto | 12:02 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has quit IRC | 12:04 | |
jdowner | rburton: thanks! I'll take a look into that | 12:06 |
*** goliath <goliath!~goliath@nat008-WLTE1.uibk.ac.at> has joined #yocto | 12:07 | |
paulbarker | Has anyone tried to use kernel-yocto.bbclass with a non-git source for the kernel? I'm hoping to use kernel config fragments but the kernel in question is in svn not git | 12:10 |
ndec | paulbarker: you must have done something really bad in life to be forced to use a kernel on svn ;) | 12:11 |
paulbarker | $CLIENT uses svn for everything. It's not much of a problem except in this instance | 12:12 |
paulbarker | The nice config fragment and KERNEL_FEATURES handling really should be separated from the machine branch handling and git magic in kernel-yocto.bbclass. I imagine that's a whole chunk of work to pull them apart though | 12:13 |
*** berton_ <berton_!~berton@189.103.49.163> has joined #yocto | 12:14 | |
LetoThe2nd | qschulz: no, "proprietary" is actually an already existing keyword | 12:15 |
*** berton <berton!~berton@189.103.49.163> has quit IRC | 12:17 | |
*** beratiks <beratiks!4eba19f9@78.186.25.249> has joined #yocto | 12:18 | |
qschulz | LetoThe2nd: May I ask what's the difference then? | 12:18 |
qschulz | I see this for example: meta/files/common-licenses/Proprietary but it's practically empty | 12:18 |
*** hpsy <hpsy!~hpsy@217.66.60.5> has joined #yocto | 12:19 | |
*** stuom1 <stuom1!3eecd81d@62.236.216.29> has quit IRC | 12:19 | |
*** stuom1 <stuom1!3eecd81d@62.236.216.29> has joined #yocto | 12:20 | |
LetoThe2nd | qschulz: CLOSED means that bitbake outright ignores the license. whereas for proprietary you have to supply a file containing the very license you have, and bitbake can trigger if it changes. | 12:21 |
qschulz | I see... Question then :) | 12:21 |
qschulz | Since the license file is already in meta/files/common-licenses/Proprietary | 12:22 |
qschulz | is there some override mechanism for that? | 12:22 |
qschulz | e.g. we have a bunch of recipes using CLOSED now because... it's straightforward | 12:22 |
qschulz | but we don't have licenses in the sources of all recipes | 12:23 |
LetoThe2nd | qschulz: not exactly override, you have to provide those you refer to. | 12:23 |
qschulz | But AFAIK, they should be identical | 12:23 |
LetoThe2nd | qschulz: meta-atmel can serve as a good example, AFAIK: https://github.com/linux4sam/meta-atmel | 12:23 |
qschulz | LetoThe2nd: yup, then you have a specific license, not "Proprietary" | 12:23 |
LetoThe2nd | qschulz: indeed, but we're only talking about names now. i personally advocate using "proprietary-mylic" instead of just "mylic" because its clearer. | 12:25 |
LetoThe2nd | qschulz: and you can whitelist easier with the prefix. | 12:25 |
rburton | trying to think of a replacement name for 'closed' | 12:26 |
qschulz | rburton: well, if you don't want people to use it, just throw a warning at their face :p | 12:26 |
LetoThe2nd | qschulz: but the key point is: it has to be defined != closed so bitbake can check it. if its CLOSED, then bitbake will happily shovel it into your MIT & BSD-only image, totally breaking compliance. | 12:26 |
qschulz | LetoThe2nd: that's understood. Thx | 12:27 |
LetoThe2nd | rburton: s/CLOSED/IGNOREBECAUSEIJUSTWANTTOGETRIDOFTHATMESSAGEEVENIFIHAVENOFUCKINGCLUEWHATITACTUALLYMEANS/g | 12:27 |
rburton | sounds good | 12:27 |
LetoThe2nd | \o/ | 12:27 |
paulbarker | Well now I'm surprised, my hack actually worked. I just set `do_kernel_checkout[noexec] = "1"` and `do_validate_branches[noexec] = "1"` and fixed what looks like a bug in do_kernel_metadata. I'll see if I can think of how to upstream that as a supported option | 12:27 |
RP | LetoThe2nd: needs to be a bit more descriptive? :) | 12:27 |
rburton | like some of the unstable gnome libraries used to need you to #define YES_I_KNOW_THIS_LIBRARY_ISNT_READY_YET | 12:28 |
LetoThe2nd | rburton: i can add more swearing if desired. | 12:28 |
RP | kanavin: python3 fails reproducibility tests | 12:28 |
LetoThe2nd | RP: IGNOREBECAUSEIJUSTWANTTOGETRIDOFTHATMESSAGEEVENIFIHAVENOFUCKINGCLUEWHATITACTUALLYMEANSSOEVERYTIMESOMEBODYSPOTSTHISINTHEWILDIHAVETOEITHERBUYLETOTHE2NDABEERORPRESENTONMYSUPIDITYONTHENEXTYOCTODEVELOPERDAY | 12:29 |
qschulz | LetoThe2nd: couldn't it be something we explain in the docs? why one shouldn't do this? | 12:29 |
qschulz | LetoThe2nd: I hope we don't have a 255-long string issue with that one | 12:29 |
LetoThe2nd | qschulz: hehe | 12:29 |
LetoThe2nd | RP: netter? | 12:29 |
LetoThe2nd | RP: better, even? | 12:29 |
RP | LetoThe2nd: yes, everyone should buy you beer | 12:29 |
RP | qschulz: patches to docs welcome | 12:30 |
paulbarker | LetoThe2nd: I think you're too used to those German compound nouns | 12:30 |
RP | LetoThe2nd: trouble is you add something like that, then someone complains it needs better line wrapping | 12:30 |
LetoThe2nd | paulbarker: hrhr | 12:30 |
LetoThe2nd | RP: it must be painful to see. | 12:31 |
qschulz | LetoThe2nd starting a cult: "Bring your bear to the altar". "Please repeat after me: "Recipe data is local, conf data is global."" | 12:31 |
qschulz | beer* | 12:31 |
RP | LetoThe2nd: right, there is a certain irony there | 12:31 |
LetoThe2nd | then, and only then people will try to avoid it. | 12:31 |
LetoThe2nd | qschulz++ | 12:31 |
LetoThe2nd | RP: its like static_cast<>() in c++. its ugly and painful to type. but that way you are reminded that you are doing potentially very bad. | 12:32 |
qschulz | LetoThe2nd: how about THISVARIABLEISPURPOSEFULLYLONGENOUGHTOMAKEYOUTHINKTWICEBEFOREYOUCHOOSETHISSPECIFICLICENSEBECAUSEITISNTACTUALLYALICENSEBUTJUSTAHACKANDYOUDONTWANTHACKSDONTYOUOKTHISWASCALLEDCLOSEDBEFORE | 12:32 |
LetoThe2nd | qschulz: not insulting enough. | 12:33 |
qschulz | LetoThe2nd: Sorry my leader. I'll try better next time I promise | 12:33 |
paulbarker | My licensing talk said "don't use Proprietary or CLOSED" | 12:33 |
LetoThe2nd | paulbarker: :) | 12:34 |
qschulz | LetoThe2nd: I think there might be a niche for comics based on https://webcomicname.com/ for your @YoctoThe | 12:34 |
LetoThe2nd | qschulz: if in doubt, listen to paulbarkerinstead of me when it comes to licensing. just to be clear. | 12:35 |
qschulz | (if you don't know, all comics ends with the same frame: "Oh no" | 12:35 |
* LetoThe2nd doesn't know. there is only one relevant webcomic, and its called 'xkcd' | 12:36 | |
qschulz | RP: sure. I'm still wrapping my head around how to write a section on OVERRIDES mechanism and the consequences | 12:38 |
LetoThe2nd | qschulz: get yourself a webcam and just explain! | 12:39 |
qschulz | LetoThe2nd: that's weird man. I'm fine presenting at conferences: you see the people you're talking to. | 12:40 |
qschulz | LetoThe2nd: also, I only have a Chromebook so... setting up the thing... meh | 12:40 |
Yatekii | qschulz: ok imma try and understand the code :) I also thought of cloning the repo separately and then use file:// but that seems not nice | 12:40 |
qschulz | Yatekii: <insert oh no comics> | 12:41 |
LetoThe2nd | qschulz: :( | 12:41 |
Yatekii | qschulz: xD | 12:41 |
qschulz | LetoThe2nd: i'll think about it I promise | 12:42 |
qschulz | i'll write a blog post/doc somewhere first and get it reviewed somehow | 12:42 |
qschulz | not confident enough that I won't say crap | 12:43 |
RP | qschulz: there are people who can read/review :) | 12:43 |
LetoThe2nd | qschulz: hey, its ok. people are different. i personally find it awful to write anything longer than a couple of words (under normal cirrcumstances), but i have to problem in just talking an hour or two about random stuff | 12:43 |
qschulz | RP: PEOPLE CAN READ? | 12:43 |
RP | qschulz: sometimes not as many as would be ideal but yes, some | 12:44 |
LetoThe2nd | qschulz: RP: rburton: if you have somethign you'd like to have presented, i can certainly also do that. | 12:44 |
* LetoThe2nd is reminded to make anmouncements! | 12:45 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 12:45 | |
qschulz | LetoThe2nd: maybe you can provide a mail address or form on a website when you're on Twitch or in YT comments so people can suggest topics? | 12:45 |
paulbarker | Ok, I have the dumb. kernel-yocto.bbclass works fine if you set a dummy KBRANCH value, do_kernel_checkout sets up a local git repository and all the subsequent tasks work | 12:47 |
paulbarker | I have a few fixes to upstream though :) | 12:47 |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC | 12:51 | |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto | 12:53 | |
nacknick | In *linux-raspberry.inc* there is a line: `KBUILD_DEFCONFIG_raspberrypi3 ?= "bcm2709_defconfig"` | 12:58 |
nacknick | I added the line `CONFIG_SECCOMP_FILTER=y` to *bcm2709_defconfig* file - this is how I should add that feature to the kernel? | 12:59 |
nacknick | If that is the way - How to rebuild the kernel to apply changes? | 13:00 |
* LetoThe2nd hereby declares todays anthem: https://www.youtube.com/watch?v=th4Czv1j3F8 | 13:02 | |
LetoThe2nd | attention: metal, lyrically nsfw. | 13:02 |
qschulz | nacknick: what *exactly* did you do? | 13:04 |
qschulz | (and no, you can basically do echo 'CONFIG_SECCOMP_FILTER=y' > seccomp-filter.scc and then add it in a bbappend, that should work and be enough) but I can explain how you could have done it the way you wanted to do it if you give more info | 13:06 |
nacknick | qschulz: inside *build/tmp/work-shared/raspberrypi3/kernel-source/arch/arm/configs/bcm2709_defconfig* i added the line `CONFIG_SECCOMP_FILTER=y` | 13:07 |
nacknick | Is that file relevant for configuration? | 13:07 |
qschulz | LetoThe2nd: I think we have a new chant for your sect. | 13:07 |
qschulz | nacknick: Do not touch the tmp dir :) | 13:07 |
nacknick | OK | 13:08 |
qschulz | it could technically work in some cases but as soon as some tasks of the kernel will be triggered, you'll lose your changes | 13:08 |
LetoThe2nd | qschulz: rule #666: if it exists, there is a metal version of it :) | 13:08 |
nacknick | I should create a file called *seccomp-filter.scc* - where?qschulz | 13:08 |
qschulz | LetoThe2nd: it was wrt modifying whatever is in tmp :) | 13:08 |
qschulz | nacknick: in your layer | 13:09 |
LetoThe2nd | qschulz: yeah i know | 13:09 |
qschulz | nacknick: place it at the correct place. https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#using-bbappend-files can be helpful if you never done bbappends before | 13:09 |
qschulz | If I'm correct, you should need two lines in your bbappend | 13:10 |
nacknick | qschulz: Should I add a new layer or only modify an existing recipe? | 13:10 |
qschulz | nacknick: do not modify anything that you don't have control over is my advice | 13:11 |
qschulz | so you are git cloning a repo? don't modify anything in it. Except for upstreaming the changes to the original repo :) | 13:11 |
nacknick | OK | 13:12 |
nacknick | So I will add a new layer, what next? | 13:12 |
qschulz | for testing, it is *tolerated* IMHO but anyway you'll need your own layer later :) | 13:12 |
qschulz | create the scc file the way I told you, put it in the right place, create the bbappend. Rule over the world. | 13:13 |
qschulz | (the last two steps are explained in the link I sent you, read it carefully and make sure you don't have any typo) | 13:13 |
qschulz | And don't stop reading before the end of the section, there's important info til the end | 13:14 |
nacknick | including "rule over the world"? hh | 13:14 |
nacknick | Is it necessary to create a recipe? or just a layer? | 13:14 |
*** nacknick <nacknick!b9b8f483@185.184.244.131> has quit IRC | 13:19 | |
qschulz | you need the layer because you'll want to share your changes to some other people | 13:19 |
qschulz | and it's a recipe, it's an append to a recipe | 13:19 |
qschulz | ah, they're gone | 13:20 |
*** nacknick <nacknick!b9b8f483@185.184.244.131> has joined #yocto | 13:20 | |
*** tgamblin <tgamblin!~tgamblin@128.224.252.2> has joined #yocto | 13:22 | |
dev1990 | qschulz wrote: you need the layer because you'll want to share your changes to some other people | 13:22 |
dev1990 | qschulz wrote: and it's a recipe, it's an append to a recipe | 13:22 |
dev1990 | qschulz wrote: ah, they're gone | 13:22 |
dev1990 | nacknick: ^ | 13:22 |
nacknick | dev1990: thanks. disconnected :| | 13:23 |
dev1990 | np | 13:23 |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has joined #yocto | 13:23 | |
*** stuom1 <stuom1!3eecd81d@62.236.216.29> has quit IRC | 13:23 | |
qschulz | dev1990: thx | 13:26 |
nacknick | dev1990: can you copy the instructions qschulz wrote before I was disconnected? I have to refresh the page and all's gone | 13:33 |
dev1990 | sec | 13:33 |
qschulz | you need the layer because you'll want to share your changes to some other people | 13:34 |
qschulz | and it's a recipe, it's an append to a recipe | 13:34 |
qschulz | (and no, you can basically do echo 'CONFIG_SECCOMP_FILTER=y' > seccomp-filter.scc and then add it in a bbappend, that should work and be enough) but I can explain how you could have done it the way you wanted to do it if you give more info | 13:34 |
dev1990 | nacknick: https://www.yoctoproject.org/irc/%23yocto.2020-01-15.log.html | 13:34 |
qschulz | dev1990: WE'RE BEING MONITORED? | 13:34 |
dev1990 | hehehe | 13:34 |
*** goliath <goliath!~goliath@nat008-WLTE1.uibk.ac.at> has quit IRC | 13:34 | |
dev1990 | most of irc channels are logged, I think | 13:36 |
nacknick | qschulz: The link you sent talks about bbappend, but I could not understand what recipe I'm appending to... | 13:37 |
*** sgw <sgw!sgw@nat/intel/x-rymcjmwunpvgzhnw> has quit IRC | 13:37 | |
mckoan | meta-browser doesn't have branches after morty, is it supposed to use master only now? | 13:38 |
LetoThe2nd | mckoan: afaik yes. | 13:39 |
mckoan | however unfortunately firefox build fails due to rust :-( | 13:40 |
LetoThe2nd | yeah, i've given it a spin a couple of days back too and got stuck real quick. | 13:41 |
*** beratiks <beratiks!4eba19f9@78.186.25.249> has quit IRC | 13:41 | |
LetoThe2nd | luckily it was just for experimentation, no real need. | 13:41 |
mckoan | maybe khem knows it better | 13:43 |
*** berton_ <berton_!~berton@189.103.49.163> has quit IRC | 13:45 | |
nacknick | qschulz: What recipe should I append to? and where *seccomp-filter.scc* should be reside? | 13:52 |
*** sgw <sgw!sgw@nat/intel/x-hfnodmmgxyfsrrsb> has joined #yocto | 13:59 | |
qschulz | nacknick: well, what's the recipe we've been looking into for the kernel? | 14:01 |
qschulz | where the file should reside is also explained in the link I sent you | 14:01 |
nacknick | qschulz: you mean this one? meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.9.bb | 14:02 |
dev1990 | is there a better solution than this: FILENAME_WITHOUT_PATH = "${@d.getVar('FILE_WITH_PATH', d, 1).split('/').pop()}" | 14:03 |
qschulz | nacknick: linux-raspberrypi yes, I don't know if it's 4.9 you're using but yes | 14:04 |
qschulz | dev1990: what's your need first? if you can call a sh function, basename ${FILENAME_WITHOUT_PATH} should do it? | 14:05 |
paulbarker | Python also has `os.path.basename()` IIRC | 14:07 |
dev1990 | paulbarker: then somethink like this should work: ${@os.path.basename(d.getVar('FILE_WITH_PATH', d, 1))} ? | 14:08 |
paulbarker | Yes, assuming os.path is already imported in that context. I don't recall the full list of what bitbake imports for those expressions | 14:09 |
nacknick | qschulz: I read all the section. But if I create the *seccomp-filter.scc* using the bbappend recipe, it will create it in the bbappend recipe's directory | 14:11 |
qschulz | I haven't said that you should create seccomp-filter.scc | 14:12 |
qschulz | if you recall the very beginning of our discussion, I said you can either have .scc, .cfg (if kernel-yocto is inherited) or full defconfig (if implemented by the recipe) passed in SRC_URI of a recipe | 14:13 |
qschulz | And I told you also that exactly two lines in your bbappend should be enough | 14:13 |
Yatekii | hmm I think the git fetcher does not use https | 14:13 |
Yatekii | which is why it doesn't work :/ | 14:13 |
qschulz | Yatekii: protocol=hhtps | 14:13 |
qschulz | Yatekii: protocol=https | 14:13 |
Yatekii | qschulz: that's what I have | 14:14 |
Yatekii | SRC_URI = "git://code.technokrat.ch:443/ecarup/raichu-core.git;transport=https" | 14:14 |
Yatekii | ohhh | 14:14 |
Yatekii | I am stupid | 14:14 |
Yatekii | pls don't mind me | 14:14 |
qschulz | Read carefully when we send docs :) especially typo wise :) | 14:14 |
dev1990 | port ? :) | 14:14 |
dev1990 | a ok | 14:15 |
qschulz | dev1990: s/transport/protocol/ | 14:15 |
qschulz | nacknick: if you are waiting for a highlight to checkout your IRC, read ~10 messages above | 14:15 |
Yatekii | qschulz: well, when you are convinced that you already added that parameter, it's hard to read properly :/ | 14:15 |
dev1990 | ah, yes | 14:15 |
nacknick | qschulz: sorry, I thought you wrote `echo bla bla > seccomp-filter.scc` inside the bbappend | 14:16 |
qschulz | Yatekii: careful reading before coding :) | 14:16 |
Yatekii | yeah, you are right, I should not do that 3am :/ because I added that yesterday night | 14:17 |
qschulz | ah no, it was meant to be run on your host. Just a way to say that the only content in seccomp-filter.scc should be CONFIG_SECCOMP_FILTER=y :) | 14:17 |
qschulz | Yatekii: tired you is idiot you :) (I mean that as general you ;) ) | 14:17 |
Yatekii | haha yeah 100% ssecond that :) | 14:18 |
Yatekii | hmm I still got the install commands wrong ... https://gist.github.com/Yatekii/c908f8007ff1134d024e303fdb1e97aa it wants a second arg ... but I just wanna create a dir, not move one :/ | 14:18 |
Yatekii | or the contents | 14:18 |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 14:18 | |
rburton | Yatekii: -m takes an argument | 14:19 |
qschulz | Yatekii: and again, you shouldn't need that in your recipe | 14:19 |
qschulz | the do_install is managed by cargo bbclass IIUC | 14:20 |
Yatekii | qschulz: yep I know :) I just wanted to try if I can get it to work | 14:20 |
Yatekii | for science reasons you know | 14:20 |
Yatekii | rburton: that worked apparently :) thx | 14:20 |
Yatekii | I thought it already dies on the first command | 14:20 |
nacknick | qschulz: what is the second line you mean I should add to linux-raspberrypi_4.9.bbappend? :S | 14:21 |
nacknick | I mean besides SRC_URI | 14:21 |
qschulz | Yatekii: read the error log when that happens, it usually gives you info which line failed I think | 14:23 |
qschulz | nacknick: it's explained in the link, re-read again :) | 14:24 |
qschulz | it has to do with where Yocto is looking for files | 14:24 |
nacknick | OK | 14:25 |
qschulz | nacknick: found it? | 14:31 |
nacknick | not yet | 14:31 |
nacknick | maybe I read it and don't understand that this is the answer | 14:31 |
nacknick | I'll read again | 14:31 |
*** nemgti-og <nemgti-og!nemgti-og@gateway/vpn/protonvpn/nemgti-og> has joined #yocto | 14:33 | |
jww | Hello, I'm using a separate partition for /boot mmcblk0p1 and I wish to have the file boot.scr also installed to mmcblk0p2 which is rootfs.I made a .bbappend for rpi-u-boot-scr ( http://dpaste.com/15N6RJB ) but it doesn't copy the file to mmcblk0p2. does someone have an idea on how to fix this ? | 14:34 |
nemgti-og | Hello. Here a newbie question: When building sdk_ext, how can I add a receipe that is normally not included? | 14:34 |
qschulz | nacknick: SRC_URI just gives the path to a file you want to include, but it's a relative path. Yocto has a default for recipes to know where to look for. Since appends are in a different absolute path, Yocto will not look for that path by default so you need to tell Yocto to look for *files* in *extra paths* | 14:35 |
LetoThe2nd | nemgti-og: https://www.yoctoproject.org/docs/3.0.1/sdk-manual/sdk-manual.html#sdk-adding-individual-packages AFAIK | 14:36 |
nacknick | yea. I read about the FILESEXTRAPATHS | 14:36 |
qschulz | nacknick: well you need that one then, that's one line | 14:36 |
qschulz | and you need SRC_URI, that's a second line :) | 14:36 |
qschulz | and then fingers crossed, it works | 14:37 |
nemgti-og | Hi! LetoThe2nd. Thanks! I began watching your tutorials in Youtube yesterday! I like them! Ich mache gerade was du normalerweise am ende machst! :D | 14:39 |
LetoThe2nd | nemgti-og: dann, prost! | 14:39 |
nemgti-og | I guess I an not that patient to go through all of them before attemting to do some stuff | 14:39 |
nacknick | I just could not understand how those things connect together. I did not understand how those line will finally add *CONFIG_SECCOMP_FILTER=y* to *bcm2709_defconfig* | 14:39 |
LetoThe2nd | nemgti-og: depends on what you mean by "stuff", but the first 3 should be enough to cover entry level tasks | 14:40 |
*** ThomasD13 <ThomasD13!~ThomasD13@DSL01.212.114.255.148.ip-pool.NEFkom.net> has quit IRC | 14:41 | |
nemgti-og | LetoThe2nd: but the sdks are not covered in the first three videos | 14:41 |
nemgti-og | actually I am just now realizing it is covered in the fourth | 14:42 |
LetoThe2nd | nemgti-og: SDKs is #4 | 14:42 |
nemgti-og | jap. thanks! I hope I get to drink a beer with you and to talk about yocto in a pub | 14:42 |
LetoThe2nd | plus, SDKs are pretty much overrated except for very specific producer-consumer situations. | 14:42 |
LetoThe2nd | unless you're running a large team or are a HW vendor, its usually way easier to just let everybody use a proper build | 14:43 |
qschulz | nacknick: it's the kernel-yocto class which is taking those .scc files and merging them to the defconfig. You provide an .scc file, without those lines, Yocto does not know it has to use this file | 14:43 |
nemgti-og | I see... well to be honest I am just playing around and enjoying myself | 14:43 |
LetoThe2nd | nemgti-og: forget about SDKs, then. | 14:44 |
LetoThe2nd | nemgti-og: save the brain capacity for understanding and writing recipes. | 14:44 |
nemgti-og | haha ok. Will do | 14:44 |
qschulz | nacknick: AFAICT, https://git.yoctoproject.org/cgit.cgi/poky/tree/meta/classes/kernel-yocto.bbclass#n72 this is the function which is handling scc files | 14:44 |
LetoThe2nd | nemgti-og: #7 is also quite important | 14:45 |
nemgti-og | noted | 14:45 |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC | 14:50 | |
nacknick | qschulz: thanks. make much more sense | 14:51 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 14:53 | |
*** nacknick <nacknick!b9b8f483@185.184.244.131> has quit IRC | 14:56 | |
*** PinkSnake <PinkSnake!51ff1123@81.255.17.35> has quit IRC | 15:01 | |
*** nacknick <nacknick!b9b8f483@185.184.244.131> has joined #yocto | 15:02 | |
nacknick | that lame IRC server... always disconnects me >.< | 15:03 |
nacknick | by the way question: recently I get the following error while trying to build the image: | 15:03 |
nacknick | `ERROR: Unable to start bitbake serverERROR: Last 10 lines of server log for this session (/home/user/yocto/poky/build/bitbake-cookerdaemon.log): self.add_filewatch(self.data.getVar("__base_depends", False), self.configwatcher) File "/home/user/yocto/poky/bitbake/lib/bb/cooker.py", line 287, in add_filewatch watcher.add_watch(f, | 15:03 |
nacknick | self.watchmask, quiet=False) File "/home/user/yocto/poky/bitbake/lib/pyinotify.py", line 1924, in add_watch raise WatchManagerError(err, ret_)pyinotify.WatchManagerError: add_watch: cannot watch /home/user/yocto/poky/build/conf WD=-1, Errno=No space left on device (ENOSPC)ERROR: No space left on device or exceeds | 15:03 |
nacknick | fs.inotify.max_user_watches?ERROR: To check max_user_watches: sysctl -n fs.inotify.max_user_watches.ERROR: To modify max_user_watches: sysctl -n -w fs.inotify.max_user_watches=<value>.ERROR: Root privilege is required to modify max_user_watches.` | 15:03 |
nacknick | after log off and log on it builds with no problem, but after few minutes getting that error again | 15:04 |
LetoThe2nd | nacknick: well whats not clear about that? | 15:04 |
nacknick | I have enough space | 15:04 |
LetoThe2nd | read on. | 15:05 |
qschulz | enough inodes left? | 15:05 |
nacknick | qschulz: don't know what those | 15:05 |
LetoThe2nd | "To check max_user_watches: sysctl -n fs.inotify.max_user_watches." | 15:05 |
nacknick | what does it mean | 15:06 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 15:06 | |
paulbarker | nacknick: irccloud is your friend if you keep getting disconnected | 15:07 |
LetoThe2nd | nacknick: https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached | 15:08 |
LetoThe2nd | nacknick: and | 15:08 |
LetoThe2nd | https://hub.docker.com/r/wolverine2k/yocto-build-env/ | 15:08 |
nacknick | LetoThe2nd: thanks. I'll look at it | 15:08 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 15:08 | |
qschulz | LetoThe2nd: btw, any Yocto docker to recommend? | 15:10 |
tgamblin | The one that was linked seems a little old | 15:11 |
tgamblin | It's easy enough to build a new container, though | 15:11 |
nemgti-og | qschulz: I am using crops/poky | 15:11 |
JPEW | qshcultz: https://github.com/garmin/pyrex | 15:12 |
nemgti-og | so far without any issues at all | 15:12 |
JPEW | Ack, forgot to tab complete again :) | 15:12 |
qschulz | JPEW: calling me names like this. How dare you | 15:12 |
qschulz | :) | 15:12 |
JPEW | qschulz, if you do look at pyrex, pull from the "next" branch, it has all the latest goodies. Hopefully we'll be release 1.0.0 soon :) | 15:13 |
nemgti-og | hah | 15:13 |
qschulz | JPEW: ubuntu-14.04? | 15:15 |
qschulz | wait I'm so confused :D | 15:16 |
LetoThe2nd | qschulz: depends (TM) | 15:16 |
JPEW | qschulz, pyrex has ubuntu-14.04, ubuntu-16.04 and ubuntu-18.04 images | 15:16 |
JPEW | You can use it all the way back with Yocto 2.1 | 15:16 |
LetoThe2nd | qschulz: the obvious choices are crops, pyrex and homebrewn, obviously. and kas-docker if you are a kas guy. | 15:16 |
JPEW | (hence why we have so many images) | 15:16 |
JPEW | Hmm, perhaps I should add a "quickstart" guide to the documentation :) | 15:17 |
LetoThe2nd | qschulz: given current activity i would probably suggest pyrex these days, but admittedly i've never tried it. | 15:18 |
LetoThe2nd | JPEW: erm... do you have a webcam? :P | 15:18 |
JPEW | LetoThe2nd, yes.... why? | 15:18 |
qschulz | I'm gonna have a look at the different options (some colleagues have some docker because running gentoo or arch) | 15:18 |
qschulz | JPEW: IT'S A TRAP | 15:18 |
LetoThe2nd | JPEW: consider getting in front of it and do a live coding session to show it to the world :) | 15:19 |
JPEW | LetoThe2nd, Sure! | 15:19 |
JPEW | LetoThe2nd, After we get the 1.0.0 release out (which should be really soon here) | 15:20 |
LetoThe2nd | JPEW: awesome! | 15:20 |
JPEW | ^^^ kergoth, moto-timo Speaking of which.... | 15:20 |
*** stephano <stephano!~stephano@c-73-164-244-205.hsd1.or.comcast.net> has joined #yocto | 15:21 | |
yocti | New news from stackoverflow: Start an Electron app at boot on Raspberry Pi 3 with yocto <https://stackoverflow.com/questions/59754556/start-an-electron-app-at-boot-on-raspberry-pi-3-with-yocto> | 15:26 |
*** tprrt <tprrt!~tprrt@217.114.204.178> has quit IRC | 15:29 | |
*** Mat80 <Mat80!d4f31afe@212.243.26.254> has quit IRC | 15:34 | |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 15:59 | |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 15:59 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 16:05 | |
*** MeanEngi <MeanEngi!~MeanEngi@95.168.124.153> has joined #yocto | 16:18 | |
*** jdowner <jdowner!~jdowner@50.239.151.2> has quit IRC | 16:22 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 16:22 | |
*** rangergord <rangergord!~rangergor@modemcable186.198-70-69.static.videotron.ca> has joined #yocto | 16:25 | |
angelo__ | i would like u-boot to display ghash with version at boot. Can i set up this form yocto recipe ? | 16:26 |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has quit IRC | 16:30 | |
*** yann <yann!~yann@85.118.38.73> has quit IRC | 16:32 | |
Yatekii | hmm I am trying to do "devtool deploy-target raichu-core user@host" and it tells me "ERROR: No recipe named 'raichu-core' in your workspace" ... when I run "devtool edit-recipe raichu-core" it opens the correct recipe tho. any ideas? | 16:35 |
*** MeanEngi <MeanEngi!~MeanEngi@95.168.124.153> has quit IRC | 16:37 | |
*** nacknick <nacknick!b9b8f483@185.184.244.131> has quit IRC | 16:41 | |
*** develonepi3 <develonepi3!~devel@2600:1700:69f0:42c0::12> has quit IRC | 16:44 | |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 16:53 | |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 16:55 | |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto | 16:55 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 16:56 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 17:03 | |
*** jmiehe <jmiehe!~Thunderbi@p578c106e.dip0.t-ipconnect.de> has quit IRC | 17:09 | |
mckoan | nacknick: https://koansoftware.com/yocto-linux-lab-2018-florence/?lang=it | 17:11 |
*** thierryE <thierryE!sid286446@gateway/web/irccloud.com/x-vnjdiwkfjixtsjvw> has quit IRC | 17:23 | |
*** thierryE <thierryE!sid286446@gateway/web/irccloud.com/x-buoqmevlkgozsqvy> has joined #yocto | 17:24 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:4475:5b7:3b7d:d914> has quit IRC | 17:32 | |
*** rubdos <rubdos!~rubdos@2a02:578:859d:700:8b44:5716:382d:a7da> has quit IRC | 17:36 | |
qschulz | Yatekii: devtool modify then devtool build then devtool deploy-target. | 17:47 |
*** yann <yann!~yann@91-170-159-152.subs.proxad.net> has joined #yocto | 17:48 | |
*** uhaider <uhaider!sid307926@gateway/web/irccloud.com/x-lphtifazbzfpqhnm> has quit IRC | 17:48 | |
*** uhaider <uhaider!sid307926@gateway/web/irccloud.com/x-beyueozntuhitlva> has joined #yocto | 17:49 | |
*** leon-anavi <leon-anavi!~Leon@78.130.245.67> has quit IRC | 17:49 | |
Yatekii | qschulz: oh so i need modify first :) didnt find that in the guide ... weird | 17:50 |
qschulz | Yatekii: what were you trying to do? | 17:50 |
Yatekii | qschulz: well i built the receipe with bitbake -c build raichu-core and wanted to deploy that to my existing target to test it because i didnt want to flash the entire rootfs again ofc :) | 17:53 |
qschulz | if it's just to upload a new package version without reflashing the image, you can do bitbake raichu-core, take the pkg from tmp/deploy/[ipk|deb|rpm] send it to your board and install it with [apt|opkg|dpkg...]. Though you need this to be installed on your current rootfs | 17:53 |
Yatekii | well deploy target is just very convenient which is why i wanted to use it :) | 17:54 |
qschulz | it is very convenient but I also see you forgetting to run devtool reset raichu-core and loosing some hair on why the heck your recipe isn't updated ;) | 17:55 |
qschulz | BUT it is actually a good idea when developing an app or debugging it | 17:55 |
mckoan | I'd like to append the content of a recipe local file into the final image artefact | 17:55 |
mckoan | something like cat cat ${S}/myfile.txt >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 17:55 |
mckoan | instead of simply echoing like printf "${RPI_EXTRA_CONFIG}\n" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 17:55 |
mckoan | any idea? | 17:55 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has quit IRC | 17:56 | |
mckoan | http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-bsp/bootfiles/rpi-config_git.bb | 17:56 |
qschulz | well.... who's adding this config.txt and how? | 17:56 |
qschulz | ok :) | 17:56 |
qschulz | why don't you patch this recipe then? | 17:56 |
mckoan | qschulz: I'm doing it into my bbappend do_deploy_append() | 17:56 |
*** ericch <ericch!~ericch@50-205-235-218-static.hfc.comcastbusiness.net> has joined #yocto | 17:57 | |
qschulz | what's the issue then? | 17:57 |
Yatekii | qschulz: why would i run reset? | 17:57 |
mckoan | qschulz: doesn't find the ${S}/myfile.txt | 17:57 |
qschulz | Yatekii: because if you don't the sources in your devtool workspace will be used instead of the recipe in your layers | 17:58 |
qschulz | so the day comes you want to use your recipe again... | 17:58 |
qschulz | mckoan: ${WORKDIR} instead of ${S} I highly suspect is what you want | 17:58 |
qschulz | mckoan: http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-bsp/bootfiles/rpi-config_git.bb#n14 | 17:59 |
qschulz | but files from SRC_URI are in ${WORKDIR} by default | 17:59 |
qschulz | Yatekii: just don't forget to run reset when you are finished with active development or debugging ;) | 18:00 |
mckoan | qschulz: doh! it's been a hard day. Thank you! | 18:02 |
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto | 18:06 | |
*** mckoan is now known as mckoan|away | 18:11 | |
*** hpsy <hpsy!~hpsy@217.66.60.5> has quit IRC | 18:14 | |
*** hpsy <hpsy!~hpsy@217.66.60.5> has joined #yocto | 18:14 | |
*** ecclescake <ecclescake!~tomeccles@78.40.148.171> has quit IRC | 18:15 | |
*** ecclescake <ecclescake!~tomeccles@78.40.148.171> has joined #yocto | 18:17 | |
Yatekii | qschulz: hmm sorry, but can you link me some straight forward docs which explain a basic step by step for this? because I was reading the help docs of devtool and also in the yocto guides but I didn't see reset or anything similar mentioned in there :/ | 18:23 |
Yatekii | and just from the help info it's hard to tell how to go | 18:23 |
Yatekii | for example I didn't understand how I get into a devtool workspace and whether I am supposed to create a new one | 18:23 |
Yatekii | I just used bitbake to rebuild my image and just wanted to deploy the binary inside the image via devtool to not flash the entire image. | 18:24 |
*** rubdos <rubdos!~rubdos@2a02:578:859d:700:8b44:5716:382d:a7da> has joined #yocto | 18:25 | |
*** elfGamal <elfGamal!~elg@181.215.183.160> has quit IRC | 18:28 | |
*** elGamal <elGamal!~elg@83.97.114.17> has joined #yocto | 18:28 | |
*** Crofton|road <Crofton|road!uid401373@gateway/web/irccloud.com/x-ygrfgheccqoacfbx> has quit IRC | 18:29 | |
*** fury <fury!uid193779@gateway/web/irccloud.com/x-hrapgqsptkyfbnmv> has quit IRC | 18:30 | |
*** ndec <ndec!sid219321@linaro/ndec> has quit IRC | 18:30 | |
*** fancer <fancer!fancer@gateway/web/irccloud.com/x-dplbjmjvgfyvvvwv> has quit IRC | 18:30 | |
*** nohit <nohit!sid334887@gateway/web/irccloud.com/x-pmdnybykzbazjivf> has quit IRC | 18:30 | |
*** ukembedded <ukembedded!sid304355@gateway/web/irccloud.com/x-bwekuwbjdenqrdac> has quit IRC | 18:30 | |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-wdlehheaevlhavkm> has quit IRC | 18:30 | |
*** ernstp <ernstp!sid168075@gateway/web/irccloud.com/x-vspfiewyrvqldfkb> has quit IRC | 18:30 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-zezgbzfmfygvywxn> has quit IRC | 18:30 | |
*** mithro <mithro!sid24875@gateway/web/irccloud.com/x-jjkzianqypvotzdh> has quit IRC | 18:30 | |
*** Crofton|road <Crofton|road!sid401373@gateway/web/irccloud.com/x-ewfqxotxjrtnclbd> has joined #yocto | 18:30 | |
*** marex-cloud <marex-cloud!sid137234@gateway/web/irccloud.com/x-bjljvfezwgvgiaql> has quit IRC | 18:31 | |
*** mdp <mdp!sid49840@gateway/web/irccloud.com/x-nkepsnpbscijdfaw> has quit IRC | 18:31 | |
*** ribalda <ribalda!sid306640@gateway/web/irccloud.com/x-ymlnldhoxjxreexn> has quit IRC | 18:31 | |
*** darknighte <darknighte!sid214177@pdpc/supporter/professional/darknighte> has quit IRC | 18:31 | |
*** dl9pf <dl9pf!uid395223@opensuse/member/dl9pf> has quit IRC | 18:31 | |
*** uhaider <uhaider!sid307926@gateway/web/irccloud.com/x-beyueozntuhitlva> has quit IRC | 18:32 | |
*** jonmason <jonmason!sid36602@gateway/web/irccloud.com/x-xeugvhvbxzdauoez> has quit IRC | 18:32 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has quit IRC | 18:32 | |
*** ernstp <ernstp!sid168075@gateway/web/irccloud.com/x-mzteypsgsvrlijow> has joined #yocto | 18:33 | |
*** fury <fury!uid193779@gateway/web/irccloud.com/x-odlkabnntvsneeqn> has joined #yocto | 18:33 | |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-eciogjljpeavflht> has joined #yocto | 18:33 | |
*** darknighte <darknighte!sid214177@pdpc/supporter/professional/darknighte> has joined #yocto | 18:34 | |
*** mdp <mdp!sid49840@gateway/web/irccloud.com/x-efjzhdyfqsumyuab> has joined #yocto | 18:34 | |
*** jonmason <jonmason!sid36602@gateway/web/irccloud.com/x-kiaqpeshibcgafuy> has joined #yocto | 18:34 | |
*** zopsi <zopsi!~zopsi@96.126.123.81> has quit IRC | 18:34 | |
*** dl9pf <dl9pf!sid395223@opensuse/member/dl9pf> has joined #yocto | 18:35 | |
*** ribalda <ribalda!sid306640@gateway/web/irccloud.com/x-kwuvavqkcihvmtzt> has joined #yocto | 18:35 | |
khem | RP: The Milestone tags are only created on poky repo, can this be extended to oe-core and bitbake repos too ? | 18:35 |
zeddii | paulbarker: you should have pinged me about the linux-yocto stuff, I've had a queue for what you were looking for, for ages. | 18:36 |
*** ukembedded <ukembedded!sid304355@gateway/web/irccloud.com/x-yvhgpazytaayozjj> has joined #yocto | 18:37 | |
*** mithro <mithro!sid24875@gateway/web/irccloud.com/x-zudacrjlrhmgbrme> has joined #yocto | 18:38 | |
khem | zeddii: how would one know unless you posted it to ml or some public forum ? | 18:38 |
zeddii | it's been posted | 18:38 |
zeddii | plus, comon | 18:38 |
khem | I see, then perhaps it would be based on that ? | 18:38 |
zeddii | who the else hacks linux-yocto ? you think you'd ping the maintiner first. | 18:39 |
* zeddii is annoyed | 18:39 | |
zeddii | as I suffer through new kernels | 18:39 |
zeddii | and get a comment like that. | 18:39 |
zeddii | comon | 18:39 |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has joined #yocto | 18:39 | |
khem | sometimes people need to get it out of their way and results in patches | 18:40 |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-eciogjljpeavflht> has quit IRC | 18:40 | |
*** ecclescake <ecclescake!~tomeccles@78.40.148.171> has quit IRC | 18:42 | |
*** ecclescake <ecclescake!~tomeccles@78.40.148.171> has joined #yocto | 18:42 | |
zeddii | true 'dat. | 18:48 |
* zeddii goes to hunt for food. | 18:48 | |
*** uhaider <uhaider!sid307926@gateway/web/irccloud.com/x-xpxxpawugjrxkjyb> has joined #yocto | 18:53 | |
*** stephano <stephano!~stephano@c-73-164-244-205.hsd1.or.comcast.net> has quit IRC | 18:58 | |
nemgti-og | n/quit | 18:58 |
nemgti-og | ups | 18:58 |
*** nemgti-og <nemgti-og!nemgti-og@gateway/vpn/protonvpn/nemgti-og> has quit IRC | 18:58 | |
*** berton <berton!~berton@189.103.49.163> has joined #yocto | 19:00 | |
*** ecclescake <ecclescake!~tomeccles@78.40.148.171> has quit IRC | 19:01 | |
*** FrazerClews <FrazerClews!~frazer.cl@78.40.148.177> has quit IRC | 19:01 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-ljcpawhrmymzflqr> has joined #yocto | 19:11 | |
RP | khem: yes, it could. I think we need to do a bit of a re-eval in that area | 19:15 |
*** berton <berton!~berton@189.103.49.163> has quit IRC | 19:15 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 19:20 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has quit IRC | 19:21 | |
*** andycooper <andycooper!uid246432@gateway/web/irccloud.com/x-arursheezkfagwce> has quit IRC | 19:24 | |
*** kreyren[m] <kreyren[m]!~kreyrenm]@ip-86-49-115-152.net.upcbroadband.cz> has joined #yocto | 19:25 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 19:26 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 19:40 | |
khem | RP: this will help in testing the mls | 19:49 |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-ljcpawhrmymzflqr> has quit IRC | 19:57 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 19:58 | |
*** FrazerClews <FrazerClews!~frazer.cl@78.40.148.177> has joined #yocto | 20:05 | |
*** ecclescake <ecclescake!~tomeccles@78.40.148.171> has joined #yocto | 20:05 | |
*** fancer <fancer!fancer@gateway/web/irccloud.com/x-tbrfhjppdbloqkyr> has joined #yocto | 20:08 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has quit IRC | 20:27 | |
*** comptroller <comptroller!~comptroll@47-213-227-146.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 20:29 | |
*** ndec <ndec!sid219321@linaro/ndec> has joined #yocto | 20:56 | |
*** ndec <ndec!sid219321@linaro/ndec> has quit IRC | 21:01 | |
mischief | how would i add a QA for a kernel build? i want to add some specific checks for a kernel FIT image. | 21:12 |
*** ndec <ndec!sid219321@linaro/ndec> has joined #yocto | 21:14 | |
RP | khem: looks like our nativesdk-gcc doesn't work properly :/ | 21:22 |
RP | khem: config.log-configure:5841: gcc -o conftest -isystem/media/build1/poky-morty/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/media/build1/poky-morty/build/tmp/sysroots/x86_64-linux/usr/lib -L/media/build1/poky-morty/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/media/build1/poky-morty/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/media/build1/poky-morty/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/med | 21:24 |
RP | ia/build1/poky-morty/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/media/build1/poky-morty/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 conftest.c -lmpc -lmpfr -lgmp >&5 | 21:24 |
RP | config.log://lib/x86_64-linux-gnu/libm.so.6: undefined reference to `__strtof128_nan@GLIBC_PRIVATE' | 21:24 |
RP | that is morty with a gcc from pyro buildtools-extended-tarball | 21:24 |
*** pohly <pohly!~pohly@p5B05600C.dip0.t-ipconnect.de> has quit IRC | 21:31 | |
*** fury <fury!uid193779@gateway/web/irccloud.com/x-odlkabnntvsneeqn> has quit IRC | 21:37 | |
*** davisr__ <davisr__!~davisr@cpe-184-58-235-7.wi.res.rr.com> has joined #yocto | 21:45 | |
*** davisr_ <davisr_!davisr@gateway/vpn/privateinternetaccess/davisr> has quit IRC | 21:48 | |
khem | __strtof128_nan is in glibc 2.26+ | 21:50 |
khem | what version of glibc is being used | 21:51 |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-oieaditqzhyagqyf> has joined #yocto | 21:58 | |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-oieaditqzhyagqyf> has quit IRC | 22:06 | |
*** tgamblin <tgamblin!~tgamblin@128.224.252.2> has quit IRC | 22:08 | |
mischief | hm. i added a task but it seems like that didn't cause a rebuild.. is there something extra that needs to be done to make adding/modifying a task invalidate the stamps? | 22:11 |
RP | khem: its complicated :/ | 22:12 |
RP | khem: "gcc -lmpc -lmpfr -lgmp " fails. Add -lm and it passes | 22:12 |
RP | khem: there is the glibc version in the buildtools tarball, the one on the host system and the target | 22:12 |
RP | khem: when gcc adds internal libs, it searches the paths differently? | 22:14 |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-oisjjltavgutupzl> has joined #yocto | 22:15 | |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-oisjjltavgutupzl> has quit IRC | 22:19 | |
*** rhadye <rhadye!sid217449@gateway/web/irccloud.com/x-pyplbmuwhahihvuc> has joined #yocto | 22:24 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has quit IRC | 22:32 | |
RP | khem: looks like its a linker behaviour difference in the path searched for -lm vs its interal lib search | 22:50 |
*** linuxjacques is now known as jacques | 22:51 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has quit IRC | 23:23 | |
*** tgamblin <tgamblin!~tgamblin@CPE64777de11593-CM64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 23:24 | |
RP | khem: its a relocation problem in binutils - SEARCH_DIRS doesn't relocate | 23:26 |
RP | moto-timo: ^^^ | 23:26 |
moto-timo | khem: hopefully you have some insights for us :) | 23:27 |
* RP notes we delete the scripts and rely on the builtins | 23:33 | |
*** Dracos-Carazza <Dracos-Carazza!~Dracos-Ca@ip4d1530cd.dynamic.kabel-deutschland.de> has quit IRC | 23:36 | |
*** Dracos-Carazza <Dracos-Carazza!~Dracos-Ca@ip4d1530cd.dynamic.kabel-deutschland.de> has joined #yocto | 23:39 | |
*** dev1990 <dev1990!~dev@asx191.neoplus.adsl.tpnet.pl> has quit IRC | 23:52 | |
*** dev1990 <dev1990!~dev@asx191.neoplus.adsl.tpnet.pl> has joined #yocto | 23:53 | |
*** agust <agust!~agust@p508B64CC.dip0.t-ipconnect.de> has quit IRC | 23:53 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!