Wednesday, 2018-11-14

*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto00:00
*** kaspter <kaspter!~Instantbi@> has quit IRC00:11
*** kaspter <kaspter!~Instantbi@> has joined #yocto00:11
*** tprrt <tprrt!> has quit IRC00:16
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has quit IRC00:28
*** nathani__ <nathani__!> has joined #yocto00:28
*** nathani_ <nathani_!> has quit IRC00:31
*** Saur <Saur!> has quit IRC00:38
*** jij <jij!> has quit IRC00:39
*** Saur <Saur!> has joined #yocto00:56
*** jij <jij!> has joined #yocto00:56
*** learningc <learningc!> has joined #yocto01:07
*** Aethenelle <Aethenelle!~Aethenell@> has quit IRC01:08
*** georgem_home <georgem_home!uid210681@gateway/web/> has quit IRC01:19
*** georgem_home <georgem_home!uid210681@gateway/web/> has joined #yocto01:21
*** anujm <anujm!anujm@nat/intel/x-cgaldaiwxcycjrru> has joined #yocto01:30
kergothla_croix_: you can either use a rootfs postprocess hook or better, bbappend the recipe in question to alter its config for your distro01:36
kergothfor the password option, anyway. the ssh key could be a new recipe or hook01:36
*** agnjunio <agnjunio!c8d5ef2e@gateway/web/cgi-irc/> has quit IRC01:42
*** awe00 <awe00!~awe00@unaffiliated/awe00> has quit IRC01:48
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC01:50
*** sgw1 <sgw1!~sgw@> has joined #yocto02:01
*** sgw <sgw!~sgw@> has quit IRC02:03
*** lazyape <lazyape!> has joined #yocto02:12
*** lazyape_home <lazyape_home!> has quit IRC02:12
*** nathani_ <nathani_!> has joined #yocto02:28
*** nathani__ <nathani__!> has quit IRC02:32
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has joined #yocto02:34
*** georgem_home <georgem_home!uid210681@gateway/web/> has quit IRC03:39
*** learningc <learningc!> has quit IRC04:00
*** NU-Slacker <NU-Slacker!~NU-Slacke@> has joined #yocto04:13
*** learningc <learningc!> has joined #yocto04:20
*** NU-Slacker <NU-Slacker!~NU-Slacke@> has quit IRC04:29
*** nathani__ <nathani__!> has joined #yocto04:29
*** nathani_ <nathani_!> has quit IRC04:33
*** nathani_ <nathani_!> has joined #yocto04:33
*** nathani__ <nathani__!> has quit IRC04:36
*** lazyape <lazyape!> has quit IRC04:37
*** lazyape <lazyape!> has joined #yocto04:38
*** lazyape <lazyape!> has quit IRC04:45
*** lazyape <lazyape!> has joined #yocto04:46
*** gtristan <gtristan!~tristanva@> has joined #yocto05:17
*** hamis <hamis!~irfan@> has joined #yocto05:35
*** armpit <armpit!~armpit@2601:202:4180:c33:7077:6962:50cb:42de> has quit IRC05:51
*** armpit <armpit!~armpit@2601:202:4180:c33:7db3:34a2:3c95:1c57> has joined #yocto06:04
*** amosbird <amosbird!~amosbird@> has quit IRC06:04
*** amosbird <amosbird!~amosbird@> has joined #yocto06:06
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC06:06
*** OpenSorceress <OpenSorceress!> has joined #yocto06:07
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto06:07
*** amosbird <amosbird!~amosbird@> has quit IRC06:07
*** amosbird <amosbird!~amosbird@> has joined #yocto06:11
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC06:11
*** OpenSorceress <OpenSorceress!> has joined #yocto06:11
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto06:11
*** amosbird <amosbird!~amosbird@> has quit IRC06:12
*** amosbird <amosbird!~amosbird@> has joined #yocto06:13
*** amosbird <amosbird!~amosbird@> has quit IRC06:14
*** amosbird <amosbird!~amosbird@> has joined #yocto06:15
*** anujm <anujm!anujm@nat/intel/x-cgaldaiwxcycjrru> has quit IRC06:16
*** amosbird <amosbird!~amosbird@> has quit IRC06:16
*** amosbird <amosbird!~amosbird@> has joined #yocto06:19
*** amosbird <amosbird!~amosbird@> has quit IRC06:21
*** learningc <learningc!> has quit IRC06:22
*** amosbird <amosbird!~amosbird@> has joined #yocto06:23
*** learningc <learningc!> has joined #yocto06:24
*** amosbird <amosbird!~amosbird@> has quit IRC06:26
*** amosbird <amosbird!~amosbird@> has joined #yocto06:28
*** amosbird <amosbird!~amosbird@> has joined #yocto06:29
*** amosbird <amosbird!~amosbird@> has quit IRC06:31
*** amosbird <amosbird!~amosbird@> has joined #yocto06:31
*** nathani__ <nathani__!> has joined #yocto06:34
*** nathani_ <nathani_!> has quit IRC06:37
*** timblechmann <timblechmann!~quassel@2001:e68:5420:2bfa:74bc:a62d:7bbf:ad3e> has joined #yocto06:43
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC07:03
OutBackDingook i need an elegent way to get past setting users permissions on a directory07:03
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto07:04
*** sgw1 <sgw1!~sgw@> has quit IRC07:06
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC07:08
*** AndersD <AndersD!> has joined #yocto07:16
*** Bunio_FH <Bunio_FH!> has joined #yocto07:18
*** frsc <frsc!> has joined #yocto07:18
*** AndersD_ <AndersD_!> has joined #yocto07:18
*** AndersD <AndersD!> has quit IRC07:21
*** AndersD__ <AndersD__!~AndersD@> has joined #yocto07:23
*** JaMa <JaMa!~martin@> has joined #yocto07:25
*** AndersD_ <AndersD_!> has quit IRC07:25
*** amosbird <amosbird!~amosbird@> has quit IRC07:33
*** amosbird <amosbird!~amosbird@> has joined #yocto07:33
*** amosbird <amosbird!~amosbird@> has quit IRC07:35
*** amosbird <amosbird!~amosbird@> has joined #yocto07:35
*** gtristan <gtristan!~tristanva@> has quit IRC07:37
*** cvasilak <cvasilak!> has joined #yocto07:43
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto07:50
*** sgw <sgw!~sgw@> has joined #yocto07:51
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto07:55
*** sgw <sgw!~sgw@> has quit IRC07:56
OutBackDingonevermind, fixed it08:00
*** fl0v0 <fl0v0!> has joined #yocto08:00
*** TobSnyder <TobSnyder!> has joined #yocto08:01
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC08:01
*** varjag <varjag!> has joined #yocto08:05
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto08:07
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC08:12
*** AndersD__ <AndersD__!~AndersD@> has quit IRC08:13
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto08:14
*** gtristan <gtristan!~tristanva@> has joined #yocto08:16
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has joined #yocto08:26
*** rajm <rajm!> has quit IRC08:30
*** rajm <rajm!> has joined #yocto08:31
*** mckoan|away is now known as mckoan08:32
mckoangood morning08:32
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC08:33
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has joined #yocto08:34
*** nathani_ <nathani_!> has joined #yocto08:35
*** rajm <rajm!> has quit IRC08:38
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC08:38
*** nathani__ <nathani__!> has quit IRC08:38
*** rajm <rajm!> has joined #yocto08:41
*** JaMa <JaMa!~martin@> has quit IRC08:48
*** tprrt <tprrt!~tprrt@> has joined #yocto08:59
*** peacememories <peacememories!> has joined #yocto09:03
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto09:06
* RP notes more timeouts on the autobuilder09:08
RPThere is something very wrong in the package feed sharing code :(09:09
* RP notes a race in the package manager repo code too :(09:10
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC09:11
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto09:11
*** peacememories <peacememories!> has quit IRC09:12
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC09:15
*** peacememories <peacememories!> has joined #yocto09:16
*** tristanram <tristanram!3e029902@gateway/web/freenode/ip.> has joined #yocto09:18
yoctiNew news from stackoverflow: Lock packages version with Yocto <>09:19
*** tristanram <tristanram!3e029902@gateway/web/freenode/ip.> has quit IRC09:19
*** tristanram <tristanram!3e029902@gateway/web/freenode/ip.> has joined #yocto09:22
tristanramHi there, I am trying to get python 3.7.x to build using the following patch: . But I am ending up with an error during python3-dbus: tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3-dbus/1.2.6-r0/recipe-sysroot-native/usr/lib/ file not recognized: File format not recognized09:25
tristanramIt seems to me that there is a mixup between recipe-sysroot-native and recipe-sysroot. When building on official sumo I "-L/home/dev/medusa/build/yocto/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3-dbus/1.2.6-r0/recipe-sysroot/usr/lib -lpython3.5m" is used. Note the "recipe-sysroot". Is anyone experiencing the same issue?09:27
*** peacememories <peacememories!> has quit IRC09:33
*** jmiehe_dup <jmiehe_dup!578c106e@gateway/web/freenode/ip.> has joined #yocto09:36
jmiehe_duphi, anyone here?09:37
LetoThe2ndnope. nobody is here. not even you yourself. its all an illusion!09:37
* LetoThe2nd does the jedi handwave thing09:37
*** rburton <rburton!> has joined #yocto09:39
jmiehe_dupi am looking to get started writing layers/bb recipes. Is there an example how to customize a conf file in the image I create with bitbake?09:40
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto09:40
LetoThe2nddepends a bit on the specific conf file.09:40
jmiehe_dupAs a starting point, I want to create my own layer and a recipe to provide my own /lib/systemd/network/10-eth0.network09:43
jmiehe_dupWell, iirc I can also provide an there09:43
*** peacememories <peacememories!> has joined #yocto09:45
LetoThe2ndok, so it is a file that gets usually installed and that you want to modify. i *guess* it comes from the systemd recipe, unless you are using a specifc board support package that already incorporates it.09:46
LetoThe2ndwhich layers are in use so far, and whats the board?09:46
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto09:47
*** peacememories <peacememories!> has quit IRC09:48
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC09:51
jmiehe_dupIt's a board by PHYTEC. Their default setup has: meta, meta-poky, meta-networking, meta-python, meta-multimedia, meta-gstreamer1.0, meta-nodejs, meta-phytec, meta-qt5 and meta-yogurt (PHYTEC simple distribution layer)09:52
LetoThe2ndjmiehe_dup: then my first advice is to checj the meta-phytec and meta-yogurt layers if the file is actually provided by one of those.09:55
*** nighty- <nighty-!> has joined #yocto09:58
rburtonjmiehe_dup: systemd lets you override really nicely, so just write a new recipe that drops files in like you said09:59
jmiehe_dupCan I add that recipe to a new layer like I though?10:00
jmiehe_dupUltimately, I would like to include a node.js application into my new layer. As my dependencies have native bindings, I don't want to "npm install" doing recompiles on every fresh clone. How to avoid?10:04
*** sgw <sgw!~sgw@> has joined #yocto10:04
jmiehe_dup@rburton nice10:05
rburtonsurely you just need to write a recipe for each of the deps, so npm doesn't want to install anything else10:05
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto10:14
tristanramHi Ross, I have a question relating Python 3.7: Were you have to successfully build python3-dbus using the patch
rburtonwill tell you in a few minutes :)10:23
rburtonRP: master-next passes my buildhistory-diff test btw10:24
RPrburton: cool. I should look at merging some of the crazy patch baklog10:25
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto10:27
*** gtristan <gtristan!~tristanva@> has quit IRC10:28
tristanramI am always ending up with python3-dbus: tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3-dbus/1.2.6-r0/recipe-sysroot-native/usr/lib/ file not recognized: File format not recognized10:32
rburtontristanram: with 3.7.1, yes10:33
rburtonwhat does file say about that object?10:33
rburtonmaybe its using the native compiler, i'm building against x86 right now10:33
tristanramSo with this patch, yes?10:33
tristanramBefore using this patch existed, I tried porting the 3.5.6 to 3.7.0 myself. But I always got stuck with above error.10:34
tristanramWith 3.5.6 the python3-dbus do_configure lokks like "-L/home/dev/medusa/build/yocto/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3-dbus/1.2.6-r0/recipe-sysroot/usr/lib -lpython3.5m"10:36
*** nathani__ <nathani__!> has joined #yocto10:36
tristanramWith the patch 3.7.1 from the ml, it looks like "L/home/dev/medusa-test/build/yocto/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/python3-dbus/1.2.6-r0/recipe-sysroot-native/usr/lib -lpython3.7m"10:37
jmiehe_dup[OT] nice, I feel like I'm beginning to get it, thanks! [/OT]10:37
tristanramSomehow, the native python lib seems to be used by accident10:37
*** hamis <hamis!~irfan@> has quit IRC10:38
*** hamis <hamis!~irfan@> has joined #yocto10:39
*** nathani_ <nathani_!> has quit IRC10:39
rburtontristanram: yeah, the cross stuff in py is all hacked in and presumely it broke in the upgrade10:41
rburtontristanram: can you reply on the list with that?10:41
*** berton <berton!~berton@> has joined #yocto10:43
tristanramrburton: I have not used mailing lists before but subscribed some days ago and ml is quite new to me. Sorry for this novice question: but how do I reply to an existing thread which was created before I was subscribed?10:44
*** gtristan <gtristan!~tristanva@> has joined #yocto10:44
rburtontristanram: painfully10:44
rburtoni'll reply :)10:45
la_croix_kergoth Thanks. If you're still around, could you possibly give me a hand with the bbappend thing?10:46
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC10:47
*** sgw <sgw!~sgw@> has quit IRC10:48
LetoThe2ndla_croix_: whats the exacty problem you have with the bbappend?10:49
la_croix_LetoThe2nd Being, as you know, a moron, I'm not entirely sure where to start.10:49
tristanramrburton: thats what i suspected, thank you very much for your help. I would be very happy to update to python 3.7 without having to wait for "Warrior 2.7"10:50
LetoThe2ndla_croix_: oh thats simple. you just create a recipe in your layer that follows the same path and name as the recipe that you want to modify. just that its suffix is bbappend, instead of bb10:52
*** sgw <sgw!~sgw@> has joined #yocto10:52
LetoThe2ndand in that file, you write down what you want. essentially, is will then overwrite the parts that you noted in the original recipe10:52
*** berton <berton!~berton@> has quit IRC10:53
LetoThe2ndla_croix_: and no need to feel like a moron. i usually hand out a fair share of rtfms, but thats nothing to be taken personally. :-)10:53
LetoThe2ndah see here, even a nice example in the fm:
la_croix_LetoThe2nd Ok, but the file that I've found mentioning ssh is /poky/meta/recipes-core/packagegroups/ and this doesn't mention any files (like an sshd_config)10:55
la_croix_LetoThe2nd Thanks, I won't. Rtfm is usually pretty good advice, anyway ;)10:55
LetoThe2ndla_croix_: well if you look into the file you mentioned, its basically a dependency redirect to openssh itself.10:56
*** berton <berton!~berton@> has joined #yocto10:58
la_croix_LetoThe2nd Ah, that looks promising. Thank you10:59
la_croix_LetoThe2nd So presumably my new recipe would need a copy of the original sshd_config, with my changes?11:03
LetoThe2ndla_croix_: possibly. and *only* that, no need to copy over the whole shbang11:05
la_croix_Ah, ok.11:05
la_croix_Now, that will work for changing the ports, disabling password access, etc, but presumably to add my ssh key to .ssh/authorized_keys, I will need to edit the rootfs?11:06
LetoThe2ndno, you can modify the file at will in the recipe11:08
LetoThe2ndhere's an example on how it can be done.
la_croix_Hmm. Ok. By the by, there is presumably nothing wrong with copying the entire original sshd_config, and having it replace the original? I'm not too keen on stubs of config files11:10
LetoThe2ndthis is the seperate-recipe form which i personally would prefer anyways. so you might even be off with just disabling the debug-tweaks IMAGE_FEATURE (which causes the no-password-rootfs) and injecting such an ssh-keys recipe. i think there's no append needed at all.11:10
la_croix_LetoThe2nd Understood, thank you11:11
LetoThe2ndhave fun11:12
abelalMorning folks11:14
abelaldo we know when the linux-yocto 4.19 branches are coming up?11:14
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC11:17
la_croix_LetoThe2nd I think I've managed to add the new config to the do_install(), but I'm unclear on what "FILES_${PN}-server += "/home/${USER}/.ssh/authorized_keys" and thee line above it do. Do they just tell the build to consider these files to be associated with this package?11:17
LetoThe2ndla_croix_: that means that those files should go into the package. otherwise you would install them (to the staging area), but they wouldn't make the escond step from staging into the actual, deployed package11:19
la_croix_LetoThe2nd Ok, so adding: FILES_${PN}-server += "/etc/ssh/sshd_config" Should be fine?11:20
rburtontristanram: fwiw, worked for me against qemuarm6411:20
LetoThe2ndla_croix_: i'd expect that this particular file is already in FILES, as it would never make it to the image otherwise.11:21
LetoThe2ndla_croix_: just build the recipe with bitbake -e, and search the output for the FILES variable11:21
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto11:21
la_croix_LetoThe2nd Yes, it must be, so there's no need to redo it to make sure it contains *my* sshd_config, rather than the standard one?11:22
LetoThe2ndif its in the variable already, then thats it. the variable gets applied in the packaging stage, log after all install things have been done.11:23
tristanramrburton: good to know; I am using armv7 here11:23
la_croix_LetoThe2nd Perfect, thanks11:24
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto11:31
*** berton <berton!~berton@> has quit IRC11:44
*** comptroller <comptroller!> has quit IRC11:46
yoctiNew news from stackoverflow: bitbake do_image dependency not cached <>11:49
*** berton <berton!~berton@> has joined #yocto11:50
*** Carton__ <Carton__!~jo@2a02:120b:2c3c:3bf0:a0e9:e31f:78c:7c3d> has joined #yocto11:51
*** berton <berton!~berton@> has quit IRC12:00
*** berton <berton!~berton@> has joined #yocto12:02
*** sgw <sgw!~sgw@> has quit IRC12:02
*** comptroller <comptroller!> has joined #yocto12:02
*** AndersD <AndersD!> has joined #yocto12:03
*** AndersD_ <AndersD_!> has joined #yocto12:05
*** amosbird <amosbird!~amosbird@> has quit IRC12:07
*** AndersD <AndersD!> has quit IRC12:07
*** amosbird <amosbird!~amosbird@> has joined #yocto12:08
*** amosbird <amosbird!~amosbird@> has quit IRC12:10
*** amosbird <amosbird!~amosbird@> has joined #yocto12:12
*** amosbird <amosbird!~amosbird@> has quit IRC12:14
*** amosbird <amosbird!~amosbird@> has joined #yocto12:14
*** amosbird <amosbird!~amosbird@> has quit IRC12:17
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto12:20
*** amosbird <amosbird!~amosbird@> has joined #yocto12:21
*** Carton__ <Carton__!~jo@2a02:120b:2c3c:3bf0:a0e9:e31f:78c:7c3d> has quit IRC12:21
*** amosbird <amosbird!~amosbird@> has quit IRC12:21
*** amosbird <amosbird!~amosbird@> has joined #yocto12:22
*** amosbird <amosbird!~amosbird@> has quit IRC12:23
*** kpo <kpo!> has joined #yocto12:25
*** amosbird <amosbird!~amosbird@> has joined #yocto12:26
*** nathani_ <nathani_!> has joined #yocto12:38
*** sgw <sgw!~sgw@> has joined #yocto12:41
*** nathani__ <nathani__!> has quit IRC12:41
*** geissona_ <geissona_!> has joined #yocto12:45
*** nighty- <nighty-!> has quit IRC12:47
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC13:00
*** learningc <learningc!> has quit IRC13:06
*** learningc <learningc!> has joined #yocto13:07
*** sveinse <sveinse!> has joined #yocto13:10
sveinseMy HW has no RTC when power is off. I notice that the system time is set to April 2018 on startup, which is far older than the image date. Is this a mechanism of Yocto/poky? If so, where in the codebase is this logic located?13:11
LetoThe2ndsveinse: usually it is the release date of the systemd version in use, or something similar13:12
LetoThe2nd(read: its no OE magic, but systemd's)13:12
sveinseLetoThe2nd: ok, thanks13:13
LetoThe2ndassuming that you are using systmd, of course.13:13
sveinseLetoThe2nd: I am, so this is a very plausible explaination13:13
*** amosbird <amosbird!~amosbird@> has quit IRC13:19
*** amosbird <amosbird!~amosbird@> has joined #yocto13:19
*** nighty- <nighty-!> has joined #yocto13:19
*** learningc <learningc!> has quit IRC13:20
*** nighty- <nighty-!> has quit IRC13:22
la_croix_If I want to disable debug-tweaks, can I just delete EXTRA_IMAGE_FEATURES, or do I need to set it as an empty string?13:27
LetoThe2ndla_croix_: i personally would set an empty string, but deleting will almost certainly work too13:33
la_croix_LetoThe2nd Ok. I'm having a bit of a problem with this recipe. Half of it works (my public key is in authorized_keys), but it doesn't seem to be using my new sshd_config13:34
LetoThe2ndso you have a seperate ssh-keys recipe now? or are you appending openssh?13:35
la_croix_I have a separate ssh-keys recipe now, exactly as you linked13:37
la_croix_Authorized keys is working, as I can login with no password only if I have that key, but it doesn't seem to be using my sshd_config. I always change the port to a random one, but it is still listening for ssh on 2213:39
LetoThe2ndthe FILES_${PN} hitng is recipe specific.13:39
*** nighty- <nighty-!> has joined #yocto13:39
*** lfa <lfa!~lfa@> has quit IRC13:39
la_croix_Oh, so that will be adding it so ssh-keys-server?13:40
la_croix_Which doesn't exist, presumably13:40
LetoThe2ndso this recipe only installs the key. plus, its rather pointless to split the recipe in -client and server. so this should work as the key-deployment recipe13:41
la_croix_Can I just change it to FILES_${PN}?13:41
LetoThe2ndfor modifying a file provided by openssh, you have to append to openssh13:42
la_croix_Oh, ok.13:42
LetoThe2ndand the FILES_ from openssh applies to whatever you do in openssh, the FILES_ in your recipe applies to whatever you do in your reciope13:42
*** sgw <sgw!~sgw@> has quit IRC13:43
*** marka <marka!~masselst@> has joined #yocto13:44
la_croix_Ok, so I need a new recipe, with sshd_config in the files, and a bbappend file (rather than a bb file)?13:44
LetoThe2ndno the new recipe *is* the bbappend file13:50
LetoThe2ndif you look here
LetoThe2ndthe original one already has the file. so just bbappend it to replace.13:51
la_croix_Would this work?
la_croix_Named openssh_%.bbapend13:56
LetoThe2ndi think this is enough
LetoThe2ndnamed and pathed properly13:57
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto13:58
la_croix_Does this constitute 'named and pathed correctly'?
LetoThe2ndsounds ok. go ahead and try ;-)13:59
*** mihai <mihai!~mihai@unaffiliated/mihai> has quit IRC14:01
*** lfa <lfa!~lfa@> has joined #yocto14:04
*** AndersD_ <AndersD_!> has quit IRC14:04
*** frsc <frsc!> has quit IRC14:04
*** frsc <frsc!> has joined #yocto14:05
*** AndersD_ <AndersD_!~AndersD@> has joined #yocto14:06
*** frsc <frsc!> has quit IRC14:06
*** sgw <sgw!~sgw@> has joined #yocto14:15
*** AndersD__ <AndersD__!> has joined #yocto14:18
la_croix_LetoThe2nd That doesn't seem to have made any difference :/14:21
*** AndersD_ <AndersD_!~AndersD@> has quit IRC14:21
la_croix_It is still allowing root password access, and still on port 2214:23
la_croix_Not that I've any idea what yocto's default root password is...14:23
*** hamis <hamis!~irfan@> has quit IRC14:25
rburtonoh did you turn off debug-tweaks image feature?14:27
rburtonif that is on, it goes in and allows root with no password at rootfs time14:27
*** comptroller <comptroller!> has quit IRC14:29
la_croix_rburton Yes, I've removed it14:29
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC14:31
tristanramTo disable password authentication I am using: "PasswordAuthentication no", "ChallengeResponseAuthentication no" and "UsePAM no"14:33
la_croix_tristanram I'm only using PasswordAuthentication no, but that should be enough14:34
OutBackDingola_croix_: seems confusing, you added a user whhy not just add thheir key in the users recipe14:34
la_croix_OutBackDingo I haven't added a user... This is for root14:34
OutBackDingola_croix_: ssh as root ? yikes14:35
la_croix_OutBackDingo Indeed, it's not the production plan, I'm just trying to do things one step at a time, until I actually understand now yocto works :P14:35
tristanramla_croix_: not always:
OutBackDingola_croix_: couuld also do a simple root-uuser recipe with USER="root"14:36
OutBackDingodo_install() {    install -d ${D}/home/${USER}/.ssh/        install -m 0755 ${S}/ ${D}/home/${USER}/.ssh/authorized_keys}14:36
OutBackDingoi guess i tend to avoid patching up the meta- repos14:37
la_croix_tristanram I've always wondered what that was about... Looks like you're right. Thank you :)14:37
OutBackDingola_croix_: like rburton said patch hack test hack test :)14:38
tristanramla_croix_: this is my append for doing something similar as I think you are trying to do:
la_croix_OutBackDingo I'm working on that, but currently I'm such a noob that it's more patch - hack - test - cry - beg for help14:39
OutBackDingola_croix_: your could also create a custom layer withh the ssh_%/bbapend itll still patch yy=up thhe sshh14:39
OutBackDingothis way your not hacking up the meta- layers themselves and run into conflicts when updating14:40
la_croix_OutBackDingo Oh, this is already in a new layer, and using bbappend14:40
OutBackDingola_croix_: ahh cool14:41
OutBackDingosee yoour ahead of the game now :)14:41
la_croix_OutBackDingo Haha, try to remember me like this, rather than as I am in twenty minutes when I ask 30 stupid questions ;)14:41
la_croix_tristanram To clarify, your .bbappend actually modifies (with sed) the original sshd_config at build time, rather than overwriting it with a new config. Is that correct, and if so, why is that better?14:42
*** TobSnyder <TobSnyder!> has quit IRC14:45
*** comptroller <comptroller!> has joined #yocto14:46
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC14:48
tristanramla_croix_: Yes, correct. Its not necessarily better but it takes the "original" sshd_config file and modifies it according to my needs. If the sshd_config will be extended upstream by new values I will get those for free.14:50
la_croix_tristanram Good point... OK, sounds good :)14:51
tristanramla_croix_: Case 1: File to be modified is in some layer such as -> I will patch it via sed altough it may be a little brittle.14:53
tristanramla_croix_: Case 2: File to be modified is in a git repo where the SRC of the recipe comes from such as -> I will create a patch since git-patching is much more robust and verbose than sed stuff.14:54
la_croix_tristanram Ok, fair enough14:55
la_croix_I think I'll actually prevent root login, and create a user, though14:56
LetoThe2ndcase 3) no ssh in prodcution devices :-)14:57
la_croix_LetoThe2nd ... I actually hadn't thought of that, and that probably makes sense14:57
LetoThe2ndla_croix_: :-)14:58
la_croix_How do I remove openssh from an image? ;)14:59
LetoThe2ndla_croix_: why remove it? do not add it in the first place.14:59
*** feddischson <feddischson!> has joined #yocto14:59
la_croix_LetoThe2nd I'm using a layer called 'meta' which already includes it15:00
LetoThe2ndi mean, i have totally no fear anybody exploits telnet, ssh, or anything like that on one of my products. it not only that they're not activated, "but there for...", i make totally sure that the binaries are absolutely never ever shipped.15:00
LetoThe2ndla_croix_: i am pretty sure that this is not true15:00
*** berton <berton!~berton@> has quit IRC15:01
LetoThe2ndla_croix_: because meta is basically oe-core, and it certainly does not pull openssh into images by default.15:01
LetoThe2ndla_croix_: so its either the specific image you use, or something in your distro (which would be stupid, but hey, possible)15:01
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto15:02
*** comptroller <comptroller!> has quit IRC15:02
la_croix_LetoThe2nd Hmm... I have meta/recipes-connectivity/openssh with files and a .bb file15:02
LetoThe2ndla_croix_: just because a recipe is there, it does not end up in an image. this is like saying that everything available in the debian package repositories is always installed. (not true either)15:03
*** comptroller <comptroller!> has joined #yocto15:03
la_croix_Oh, fair enough. In that case, where might I find the thing that is (currently) telling it to install it?15:03
LetoThe2ndla_croix_: so either something pulls it in through IMAGE_INSTALL or IMAGE_FEATURES15:03
la_croix_Ok, I'll have a look15:03
LetoThe2ndla_croix_: again, bitbake -e your image target and search it15:04
la_croix_There's nothing in image_install or image_features, and grepping the output of bitbake -e does not contain 'openssh'15:08
LetoThe2ndand did you grep for ssh?15:09
la_croix_LetoThe2nd Yes,  it turned up here: 'SSH_CLIENT': ' 58041 22', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'BUILDDIR': '/home/ubuntu/dev/poky/build', 'SSH_TTY': '/dev/pts/0', But I'm not sure that tells us why it is being included15:11
la_croix_Aside from that it turns up at the very top, but that seems to relate to the machine on which the build is being performed, rather than the target image15:12
LetoThe2ndla_croix_: yeah that sounds about not right.15:12
*** learningc <learningc!~learningc@> has joined #yocto15:13
*** Carton__ <Carton__!~jo@2a02:120b:2c3c:3bf0:39af:c777:a357:7e14> has joined #yocto15:13
*** Carton__ <Carton__!~jo@2a02:120b:2c3c:3bf0:39af:c777:a357:7e14> has left #yocto15:13
LetoThe2ndla_croix_: do a bitbake -g of your image and pastebin the result, please.15:14
*** grma <grma!~gruberm@> has joined #yocto15:15
*** kaspter <kaspter!~Instantbi@> has quit IRC15:16
*** kaspter <kaspter!~Instantbi@> has joined #yocto15:18
LetoThe2ndpastebinit can probably help: bitbake -g $YOURFUNNYIMAGE | pastebinit15:18
la_croix_What is pastebinit?15:19
la_croix_Oh, just googled it, genius15:19
la_croix_Does it get around the 512kb limit?15:19
LetoThe2ndgo and fine out.15:19
la_croix_This is the closest I've seen to magic.15:21
LetoThe2ndah dang. i meant, pastebin the file package-depends.dot15:21
LetoThe2ndsry. but again something learned :)15:21
*** Bunio_FH <Bunio_FH!> has quit IRC15:22
la_croix_LetoThe2nd Ah,
LetoThe2ndyou're building image-core-cmdline-full?15:25
LetoThe2nderm, core-image-full-cmdline15:25
la_croix_Yup... That's wrong, I assume?15:27
LetoThe2ndnothing wrong so far, i'm just looking at it15:27
prabhakarladHi all, Is it possible to call a task from other task ( I dont want add a depends )15:30
LetoThe2ndla_croix_: i am pretty certain that something, somewhere sets IMAGE_FEATURE ssh-server-openssh15:31
la_croix_LetoThe2nd Presumably if I were building one of the smaller core-images it would not be included?15:31
LetoThe2ndla_croix_: thats what you have to find, as thats basically explicitly pulling in openssh. by default, core-image-full-cmdline would not do it.15:31
la_croix_LetoThe2nd Ah...15:31
LetoThe2ndla_croix_: no, because if that is set, it get pulled into any image.15:31
la_croix_I'll check the mender layers15:32
LetoThe2ndack-grepping your working directory probably is enough15:33
*** kpo <kpo!> has quit IRC15:34
la_croix_LetoThe2nd is the result15:35
la_croix_LetoThe2nd Does that mean the disabling ssh will break mender?15:36
LetoThe2ndla_croix_: i can't comment on any mender thing, as i've never used it.15:36
la_croix_Ok, I'll find out if it's necessary15:37
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC15:41
la_croix_In the meantime I'll figure out how to add a user15:41
la_croix_Presumably that can be done in local.conf, with the EXTRA_USERS_PARAMS15:44
*** kpo <kpo!> has joined #yocto15:46
*** OpenSorceress <OpenSorceress!> has joined #yocto15:48
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto15:48
la_croix_LetoThe2nd Thank you. What does those files (file1, file2...) do?15:55
LetoThe2ndla_croix_: those are literally just exmples to show how to set owner etc. on files that are being installed15:57
la_croix_LetoThe2nd Ok... I'll try to figure this out. I thought adding a user might be easier :P15:58
LetoThe2ndla_croix_: *hint* think more if you actually need a user, and what for. what is it your device shall do, what processes run, under what user.15:58
*** sgw <sgw!~sgw@> has quit IRC15:59
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC15:59
LetoThe2ndla_croix_: in many cases you actually do not need an exmplicitly set up user either, but the implicitly exiting root and www (or comparable) are enough15:59
*** mihai <mihai!~mihai@unaffiliated/mihai> has joined #yocto15:59
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto15:59
la_croix_LetoThe2nd I can just run as root. All it does is read from a load of sensors (either wired or mqtt) and sends a port request16:00
LetoThe2ndla_croix_: in embedded devices, some thinking models are a bit different than on desktops :)16:00
la_croix_LetoThe2nd So you think I should just leave it as root16:01
*** lusus <lusus!~lusus@> has quit IRC16:01
LetoThe2ndno, you got that wrong. this does not mean "run as root". it means: "often a suitable user is already there, becasue you rely on something that brings it along. like lighttpd or apache"16:02
*** Aethenelle_ <Aethenelle_!~Aethenell@> has joined #yocto16:02
la_croix_Well, my code itself has to run as something (a python script aggregating the data and making the POST)16:03
LetoThe2ndok, then a user might be sensible to create, yes.16:04
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC16:04
la_croix_I think I've worked out why the sshd_config changes didn't work... It seems to be using dropbear instead of openssh16:05
*** varjag <varjag!> has quit IRC16:07
*** Aethenelle__ <Aethenelle__!~Aethenell@> has joined #yocto16:07
*** Aethenelle_ <Aethenelle_!~Aethenell@> has quit IRC16:07
la_croix_LetoThe2nd If this is anything to go by:
la_croix_Actually no, it's not in the manifest16:10
*** User_ <User_!~learningc@> has joined #yocto16:10
*** jmiehe_dup <jmiehe_dup!578c106e@gateway/web/freenode/ip.> has quit IRC16:10
LetoThe2ndyou have to add it to IMAGE_INSTALL16:12
LetoThe2ndtime to create your own image :)16:13
LetoThe2ndi gotta run now. worktime is voer!16:13
*** learningc <learningc!~learningc@> has quit IRC16:13
la_croix_LetoThe2nd Ok, thanks for your help :)16:15
*** sgw <sgw!~sgw@> has joined #yocto16:15
*** kpo <kpo!> has quit IRC16:15
*** kaspter <kaspter!~Instantbi@> has quit IRC16:19
*** sgw <sgw!~sgw@> has quit IRC16:19
*** kaspter <kaspter!~Instantbi@> has joined #yocto16:20
*** JaMa <JaMa!~martin@> has joined #yocto16:22
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto16:25
*** timblechmann <timblechmann!~quassel@2001:e68:5420:2bfa:74bc:a62d:7bbf:ad3e> has quit IRC16:27
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC16:32
*** agnjunio <agnjunio!c8d5ef2e@gateway/web/cgi-irc/> has joined #yocto16:35
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has left #yocto16:35
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has joined #yocto16:35
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has quit IRC16:44
*** mckoan <mckoan!> has joined #yocto16:45
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has joined #yocto16:45
*** tprrt <tprrt!~tprrt@> has quit IRC16:48
*** cvasilak <cvasilak!> has quit IRC16:56
*** AndersD__ <AndersD__!> has quit IRC16:56
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has left #yocto16:58
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto16:58
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto16:58
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has joined #yocto16:58
*** feddischson <feddischson!> has quit IRC17:05
*** mckoan is now known as mckoan|away17:05
*** rajm <rajm!> has quit IRC17:11
la_croix_Could somebody give me a hand with adding a user? I'm using this recipe, and the build error is at the bottom: It seems to be referring to files added by useradd, but they're not added in my recipe...17:19
*** WillMiles <WillMiles!> has joined #yocto17:20
*** sgw <sgw!~sgw@> has joined #yocto17:21
*** grma <grma!~gruberm@> has quit IRC17:23
la_croix_Sorry, error is here:
*** User_ <User_!~learningc@> has quit IRC17:57
*** User_ <User_!~learningc@> has joined #yocto17:57
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has quit IRC18:06
*** mario-goulart <mario-goulart!> has quit IRC18:07
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has joined #yocto18:09
*** User_ <User_!~learningc@> has quit IRC18:14
*** mario-goulart <mario-goulart!> has joined #yocto18:14
*** prabhakarlad <prabhakarlad!~prabhakar@> has quit IRC18:19
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto18:30
*** dv_ <dv_!> has quit IRC18:33
yates /join #rpm18:37
*** rizwan_ <rizwan_!ab3d4396@gateway/web/freenode/ip.> has joined #yocto18:39
rizwan_how to build jamvm 2.0 recipe with openjdk8 runtime library18:39
rizwan_by default it selects GNU classpath but when I specify --with-java-runtime-library=openjdk8 in jamvm.inc18:40
rizwan_there are many build errors18:40
rizwan_anyone tried it, I am completely stuck18:41
*** dv_ <dv_!> has joined #yocto18:47
rizwan_anyone can please provide some pointers on jamvm recipe with openjdk8 for ARM18:54
*** fl0v0 <fl0v0!> has quit IRC18:54
*** moto-timo <moto-timo!ttorling@fsf/member/moto-timo> has joined #yocto19:03
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto19:15
*** sgw <sgw!~sgw@> has quit IRC19:42
*** tgraydon <tgraydon!~textual@> has joined #yocto19:48
rburtonrizwan_: you'll have more luck by mailing the list with the actual errors19:52
*** sgw <sgw!~sgw@> has joined #yocto19:54
*** JaMa <JaMa!~martin@> has quit IRC19:57
*** Carton__ <Carton__!~jo@> has joined #yocto19:58
*** Carton__ <Carton__!~jo@> has left #yocto19:58
*** nathani_ <nathani_!> has quit IRC20:07
yoctiNew news from stackoverflow: Yocto find the recipe or class that defines a task <>20:21
*** JPEW <JPEW!cc4da337@gateway/web/freenode/ip.> has quit IRC20:21
*** sgw <sgw!~sgw@> has quit IRC20:27
yatesit looks like you can get dnf to work from here:
yatesinstead of a repo being on the network, could it be on a thumbdrive?20:30
yates"baseurl="file://thumb-drive/repo" ? or somesuch?20:30
*** JPEW <JPEW!cc4da337@gateway/web/freenode/ip.> has joined #yocto20:37
*** sgw <sgw!~sgw@> has joined #yocto20:51
*** agnjunio <agnjunio!c8d5ef2e@gateway/web/cgi-irc/> has left #yocto20:55
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC20:56
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto20:56
kergothhmm, getting bitbake tracebacks related to the recent changes to the s hallow logic. interesting. /me digs20:57
JPEWrburton: Are you still here?20:57
kergothException: AttributeError: 'FetchData' object has no attribute 'fullshallow'20:58
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC21:02
*** gtristan <gtristan!~tristanva@> has quit IRC21:04
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto21:09
*** otavio__ <otavio__!~otavio@> has quit IRC21:11
*** otavio <otavio!~otavio@debian/developer/otavio> has quit IRC21:11
*** otavio <otavio!~otavio@> has joined #yocto21:14
*** otavio <otavio!~otavio@debian/developer/otavio> has joined #yocto21:14
*** WillMiles <WillMiles!> has quit IRC21:30
kergothugh, fix that and get even more failures. this time git fails to lock config after unpacking the fetched git mirror tarball for pseudo-native, *warns* about the failure to clone, b ut then continues to do_unpack and fails due to a missing clonedir?21:34
kergothhow much did the latest fetch patch series break things, honestly21:34
kergoth(trying,a nd failing, to update from sumo to thud)21:35
*** JaMa <JaMa!~martin@> has joined #yocto21:43
*** Aethenelle__ <Aethenelle__!~Aethenell@> has quit IRC21:43
RPkergoth: the gitsm one?21:46
armpitthere have been loads of changes.21:52
armpitthey seemed like a good thing to have in sumo but don't know how easy its going to be to backport21:53
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC21:53
RPkergoth: ah, that patch :/21:53
RPkergoth: I try hard to keep things working and do good review but its tough :(21:53
kergothnot sure which ones are causing my issues, hitting a few errors. fetching is so hard to test. exercising every codepath and possible DL_DIR state is almost impossible21:54
RPkergoth: indeed. The tests are good but not that good, clearly :/21:54
kergothreminds me of a quote in my quotes file: "The file system is best viewed as a multi-threaded object over which you have no reliable synchronization capabilities"21:54
*** Aethenelle_ <Aethenelle_!~Aethenell@> has joined #yocto21:55
RPkergoth: I wonder what that makes NFS? :)21:55
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC22:00
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto22:00
*** marka <marka!~masselst@> has quit IRC22:01
*** sgw <sgw!~sgw@> has quit IRC22:09
*** ant_home <ant_home!> has joined #yocto22:13
*** sgw <sgw!~sgw@> has joined #yocto22:14
*** sgw <sgw!~sgw@> has quit IRC22:23
rburtonJPEW: not really. email?22:26
*** rburton <rburton!> has quit IRC22:27
JPEWrburton: I was just wondering if I should assign to myself, I can wait until the bug triage call tomorrow if necessary22:28
yoctiBug 13020: normal, Undecided, ---, apoorv.sangal, NEW , meta-mingw needs testing22:28
*** sgw <sgw!~sgw@> has joined #yocto22:45
* armpit ahaahah spam from Stephen22:52
armpitJPEW, we assign all bugs to zeddii22:54
*** ant_home <ant_home!> has quit IRC23:20
*** nighty- <nighty-!> has quit IRC23:31
*** stephano <stephano!~stephano@> has quit IRC23:43

Generated by 2.11.0 by Marius Gedminas - find it at!