Monday, 2024-04-15

*** lexano <lexano!~lexano@pool-174-119-69-134.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 272 seconds)00:37
*** Perflosopher <Perflosopher!~perflosop@136.62.181.44> has joined #yocto00:50
*** davidinux <davidinux!~davidinux@194.34.233.219> has quit IRC (Ping timeout: 252 seconds)01:04
*** davidinux <davidinux!~davidinux@194.34.233.225> has joined #yocto01:11
*** jclsn <jclsn!~jclsn@2a04:4540:6528:cf00:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 256 seconds)01:16
*** jclsn <jclsn!~jclsn@2a04:4540:652a:ac00:2ce:39ff:fecf:efcd> has joined #yocto01:18
*** mrpelotazo <mrpelotazo!~mrpelotaz@user/mrpelotazo> has quit IRC (Read error: Connection reset by peer)01:31
*** mrpelotazo <mrpelotazo!~mrpelotaz@user/mrpelotazo> has joined #yocto01:36
*** amitk <amitk!~amit@58.84.60.21> has joined #yocto02:27
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has quit IRC (Ping timeout: 268 seconds)02:29
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto04:37
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has joined #yocto04:46
thomas_34Hey good morning. I have a include files, which defines variables and tasks for a lot (20) of recipes. At which point makes it sense to convert that into a bbclass?04:53
thomas_34Can someone explain me whats the difference in general between .inc-Files and bbclass? What is the bigger picture here?04:53
*** hnez <hnez!~quassel@flummi.grey.stw.pengutronix.de> has joined #yocto05:00
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto05:20
*** alperak <alperak!uid641238@id-641238.ilkley.irccloud.com> has joined #yocto05:37
*** bharathbck <bharathbck!~bharathbc@164.164.23.9> has joined #yocto05:42
mcfrisk_thomas_34: or a recipe which the 20 other recipes DEPEND at build time to use the headers05:58
mcfrisk_bblasses are consumed by recipes and build tools, mostly. An .inc is a way for multiple recipes to share common stuff. bbclass can be used across layers, .inc needs to be in the same directory as recipes.05:59
*** goliath <goliath!~goliath@user/goliath> has joined #yocto06:01
thomas_34mcfrisk_, "An .inc is a way for multiple recipes to share common stuff." Is that also valid doing by bbclass?06:02
thomas_34Or are bbclasses limited to only share common functions and not variables?06:02
mcfrisk_thomas_34: bblasses can share anything which ends up in recipes, variables, funcions, asks etc etc06:04
mcfrisk_but, a set of header files sounds like a SW package and thus would to me belong to a recipe.06:04
thomas_34Ähm.. wait. Where does these "header files" come from?06:05
thomas_34From me: "I have include files, which defines variables"... I mean I have .inc files with bitbake variables defined, which I reuse in lot of recipes06:06
mcfrisk_thomas_34: ah my bad, too little coffee06:06
mcfrisk_include files sounded too much like .h06:06
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 272 seconds)06:06
thomas_34Ahh okay, no. I'm entirely within bitbake ;)06:07
mcfrisk_if the data is recipe variables etc for a small set of recipes, then an .inc. for a lot of recipes across layers, a bbclass06:07
mcfrisk_but the things could also be in distro configuration, e.g. DISTRO_FEATURES, or in the machine config like MACHINE_FEATURES06:08
thomas_34Ahhh... okay. The the "border" for .inc files are layers? Is that a "practical" distinction?06:08
mcfrisk_how recipes find .inc, only recipes within same directory will find it. For bbclasses, all recipes from all layers will find them.06:09
thomas_34Okay thank you. Now I get the bigger picture I guess06:09
mcfrisk_no problem, hope this helps06:10
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto06:13
*** olani <olani!~olani@wlan-gw.se.axis.com> has quit IRC (Ping timeout: 264 seconds)06:35
*** ptsneves <ptsneves!~Thunderbi@89.151.23.56> has joined #yocto06:40
*** linfax <linfax!~linfax@eumail.topcon.com> has joined #yocto06:40
*** gsalazar <gsalazar!~gsalazar@107.105.60.94.rev.vodafone.pt> has joined #yocto06:41
*** mckoan|away is now known as mckoan06:55
mckoangood morning06:56
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Read error: Connection reset by peer)06:56
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto06:58
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto07:01
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto07:01
*** Kubu_work <Kubu_work!~kubu@2a01cb05949d5800e3ef2d7a4131071f.ipv6.abo.wanadoo.fr> has joined #yocto07:05
thomas_34Can I access a "recipe-variable" within a bbclass? Just asking if that should be possible, before I search for my error :S07:16
thomas_34Example: recipe.bb: "foo = "bar" inherit class"     class.bbclass: "fooo = ${foo}"07:17
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 256 seconds)07:18
landgrafthomas_34: yes, you can.07:19
thomas_34Thank you landgraf07:19
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Ping timeout: 256 seconds)07:23
*** hnez <hnez!~quassel@flummi.grey.stw.pengutronix.de> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)07:23
*** olani <olani!~olani@wlan-gw.se.axis.com> has joined #yocto07:28
*** thomas_44 <thomas_44!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has joined #yocto07:29
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has quit IRC (Ping timeout: 250 seconds)07:33
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)07:39
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto07:39
*** chep <chep!chep@gateway/vpn/airvpn/chep> has joined #yocto07:43
*** vladest <vladest!~Thunderbi@217.192.139.41> has joined #yocto07:53
*** hnez <hnez!~quassel@flummi.grey.stw.pengutronix.de> has joined #yocto07:53
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)08:04
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto08:04
*** enok <enok!~Thunderbi@94.191.136.212.mobile.tre.se> has joined #yocto08:10
*** thomas_44 <thomas_44!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has quit IRC (Quit: Client closed)08:14
*** amitk_ <amitk_!~amit@58.84.61.97> has joined #yocto08:22
*** amitk <amitk!~amit@58.84.60.21> has quit IRC (Ping timeout: 260 seconds)08:25
*** ptsneves <ptsneves!~Thunderbi@89.151.23.56> has quit IRC (Ping timeout: 260 seconds)08:29
*** rfuentess <rfuentess!~rfuentess@lfbn-lyo-1-1566-5.w90-52.abo.wanadoo.fr> has joined #yocto08:31
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:e88e:21ff:fe65:be18> has joined #yocto08:33
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has joined #yocto08:35
*** phako_ <phako_!~phako_@mskpcx29305.desy.de> has joined #yocto08:37
*** michalsieron <michalsieron!~michalsie@131.228.32.167> has joined #yocto08:41
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto08:48
michalsieronhello there, I tried using `INCLUDE_PYCS = "0"` to remove `*.pyc` files from generated packages (from python3 recipe). However, it seems that many `.pyc` files are still being included. I guess it's because some packages in `python3-manifest.json` have empty list for the `.pyc` files (`"cached": []`)? Is there some nicer way of dealing with those08:50
michalsieronfiles than using `find+rm` in .bbappend?08:50
*** enok <enok!~Thunderbi@94.191.136.212.mobile.tre.se> has quit IRC (Ping timeout: 255 seconds)08:59
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)09:04
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto09:04
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has quit IRC (Read error: Connection reset by peer)09:08
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto09:10
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has quit IRC (Read error: Connection reset by peer)09:20
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto09:21
*** LocutusOfBorg <LocutusOfBorg!~locutusof@151.58.174.15> has joined #yocto09:22
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto09:23
*** hnez <hnez!~quassel@flummi.grey.stw.pengutronix.de> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)09:30
*** jsandman <jsandman!~jsandman@95.179.203.88> has quit IRC (Remote host closed the connection)09:38
*** hnez <hnez!~quassel@flummi.grey.stw.pengutronix.de> has joined #yocto09:52
*** starblue <starblue!~juergen@87.122.37.37> has quit IRC (Ping timeout: 260 seconds)10:04
*** tomzy <tomzy!~tomzy@213.192.77.249> has joined #yocto10:04
*** starblue <starblue!~juergen@87.122.37.37> has joined #yocto10:06
*** tomzy is now known as tomzy-010:07
*** Ad0 <Ad0!~Ad0@93.124.245.194> has joined #yocto10:10
*** tomzy-0 <tomzy-0!~tomzy@213.192.77.249> has quit IRC (Ping timeout: 250 seconds)10:14
*** DvorkinDmitry <DvorkinDmitry!~dvorkin@5.167.98.73> has joined #yocto10:19
DvorkinDmitryis it OK to put INITRAMFS_IMAGE = definition to image file?10:22
mcfrisk_DvorkinDmitry: I wondered the same few days ago, conclusion was that no, it's not enough for image recipe to know which INITRAMFS_IMAGE to build. I kept this in distro config then.10:23
DvorkinDmitrymcfrisk_, thank you10:26
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 264 seconds)10:26
*** tomzy <tomzy!~tomzy@213.192.77.249> has joined #yocto10:38
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has joined #yocto10:43
*** michalsieron <michalsieron!~michalsie@131.228.32.167> has quit IRC (Quit: Client closed)10:49
*** TehRiizQ <TehRiizQ!~TehRiizQ@136.163.203.4> has joined #yocto10:50
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto10:51
*** bharathbck <bharathbck!~bharathbc@164.164.23.9> has quit IRC (Ping timeout: 250 seconds)10:52
*** tomzy <tomzy!~tomzy@213.192.77.249> has quit IRC (Quit: Client closed)11:01
*** lexano <lexano!~lexano@pool-174-119-69-134.cpe.net.cable.rogers.com> has joined #yocto11:08
*** ldywicki <ldywicki!uid202900@user/ldywicki> has joined #yocto11:08
rburtonDvorkinDmitry: initramfs_image is for a kernel, so no11:08
DvorkinDmitryrburton, where is it better to place except local.conf?11:09
rburtonyour distro or machine conf11:09
DvorkinDmitryrburton, thank you11:10
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)11:17
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto11:17
*** tomzy <tomzy!~tomzy@213.192.77.249> has joined #yocto11:26
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 255 seconds)11:26
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.85> has quit IRC (Quit: Konversation terminated!)11:31
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.85> has joined #yocto11:32
*** ptsneves <ptsneves!~Thunderbi@89.151.23.56> has joined #yocto11:33
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has joined #yocto11:42
thomas_34https://bugzilla.yoctoproject.org/show_bug.cgi?id=1547011:46
thomas_34Is it possible to see somewhere the indicated patch? I'm really eager to see what was the cause11:46
rburtonthomas_34: https://lore.kernel.org/bitbake-devel/20240412170335.2321226-1-richard.purdie@linuxfoundation.org/T/#u i guess11:48
rburtonRP: why would that be an unclosed function when there's just leading whitespace (or is the bitbake parser actually that strict and it needs the closing brace to be on a line of its own)11:49
thomas_34rburton Thank you :) I can test this, when its merged11:49
thomas_34RP, I dont know. Maybe its related that python is kinda strict about line indention etc...11:52
thomas_34*indentation11:53
*** TehRiizQ <TehRiizQ!~TehRiizQ@136.163.203.4> has quit IRC (Ping timeout: 250 seconds)11:55
*** rm5248 <rm5248!~rm5248@c-76-100-95-162.hsd1.va.comcast.net> has joined #yocto11:59
*** GillesM <GillesM!~gilles@77.200.219.43> has joined #yocto12:03
*** GillesM <GillesM!~gilles@77.200.219.43> has quit IRC (Client Quit)12:05
*** Jones42 <Jones42!~Jones42@212.121.145.5> has joined #yocto12:05
*** thomas_34 <thomas_34!~thomas_34@host-80-81-12-253.static.customer.m-online.net> has quit IRC (Ping timeout: 250 seconds)12:07
*** phako_ <phako_!~phako_@mskpcx29305.desy.de> has quit IRC (Quit: Client closed)12:08
*** ptsneves <ptsneves!~Thunderbi@89.151.23.56> has quit IRC (Ping timeout: 255 seconds)12:22
RPrburton: the closing brace needs to be unintended to ensure it is different from whitespace indented python. Yes, it could work differently but it currently doesn't12:23
rburtonfair12:26
Jones42Hi, at the Chemnitzer Linux-Tage last month, Marco Felsch from Pengutronix mentioned something about upstreaming their own image_types_verity.bbclass . Has someone already seen some patches flying around regarding that? I tried to search the mailing lists, but without success12:27
*** Jones42 <Jones42!~Jones42@212.121.145.5> has quit IRC (Ping timeout: 250 seconds)12:36
*** simonew <simonew!~simonew@eth1-fw1-nbg6.eb.noris.de> has joined #yocto12:37
*** simonew <simonew!~simonew@eth1-fw1-nbg6.eb.noris.de> has quit IRC (Ping timeout: 250 seconds)12:43
Crofton@shoragan: might know12:49
*** Jones42 <Jones42!~Jones42@212.121.145.7> has joined #yocto12:51
*** sakoman <sakoman!~sakoman-l@199.58.97.236> has quit IRC (Ping timeout: 264 seconds)13:00
*** tomzy <tomzy!~tomzy@213.192.77.249> has quit IRC (Quit: Client closed)13:04
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has joined #yocto13:09
*** vvn <vvn!~vivien@bras-base-mtrlpq02huw-grc-03-174-88-247-147.dsl.bell.ca> has quit IRC (Quit: WeeChat 4.2.1)13:11
*** vvn <vvn!~vivien@bras-base-mtrlpq02huw-grc-03-174-88-247-147.dsl.bell.ca> has joined #yocto13:14
*** sakoman <sakoman!~sakoman-l@199.58.97.236> has joined #yocto13:15
*** vladest <vladest!~Thunderbi@217.192.139.41> has quit IRC (Ping timeout: 256 seconds)13:25
*** sudip <sudip!~sudipmukh@78.40.148.182> has quit IRC (Quit: ZNC - http://znc.in)13:29
*** sudip <sudip!~sudipmukh@78.40.148.182> has joined #yocto13:30
_sfoHi, I just saw bmaptool is now maintained by yocto. Is it okay to send patches via email directly to the maintainers?13:38
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto13:46
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection)13:48
*** sakoman <sakoman!~sakoman-l@199.58.97.236> has quit IRC (Ping timeout: 240 seconds)13:49
*** Jones71 <Jones71!~Jones42@212.121.145.5> has joined #yocto13:51
*** Jones71 <Jones71!~Jones42@212.121.145.5> has quit IRC (Client Quit)13:51
*** Jones45 <Jones45!~Jones42@212.121.145.5> has joined #yocto13:51
*** Jones42 <Jones42!~Jones42@212.121.145.7> has quit IRC (Ping timeout: 250 seconds)13:52
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 268 seconds)13:54
*** Minvera <Minvera!~Minvera@user/Minvera> has joined #yocto13:56
*** simonew <simonew!~simonew@eth1-fw1-nbg6.eb.noris.de> has joined #yocto14:01
*** sakoman <sakoman!~sakoman-l@199.58.97.236> has joined #yocto14:05
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has joined #yocto14:05
*** linfax <linfax!~linfax@eumail.topcon.com> has quit IRC (Ping timeout: 260 seconds)14:14
*** a1batross <a1batross!39b1386cf2@jabberfr.org> has quit IRC (Ping timeout: 255 seconds)14:28
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)14:31
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC (Quit: Client closed)14:40
rburton_sfo: pull requests to https://github.com/yoctoproject/bmaptool best14:41
*** mvlad <mvlad!~mvlad@2a02:2f05:850d:7800:e88e:21ff:fe65:be18> has quit IRC (Remote host closed the connection)14:47
*** Jones45 <Jones45!~Jones42@212.121.145.5> has quit IRC (Ping timeout: 250 seconds)14:49
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)14:59
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto15:05
*** simonew <simonew!~simonew@eth1-fw1-nbg6.eb.noris.de> has quit IRC (Quit: Client closed)15:06
*** Bardon_ <Bardon_!~Bardon@user/Bardon> has joined #yocto15:17
*** Bardon <Bardon!~Bardon@user/Bardon> has quit IRC (Ping timeout: 264 seconds)15:20
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)15:20
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto15:20
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has quit IRC (Remote host closed the connection)15:28
*** mckoan is now known as mckoan|away15:37
*** Guest1337 <Guest1337!~Guest1337@132.198.137.78.rev.vodafone.pt> has joined #yocto15:39
*** Guest1337 <Guest1337!~Guest1337@132.198.137.78.rev.vodafone.pt> has quit IRC (Client Quit)15:42
OnkelUllaJones42, Crofton: Still work in progress, currently getting polished a little bit.15:43
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has quit IRC (Quit: Client closed)15:47
*** rfuentess <rfuentess!~rfuentess@lfbn-lyo-1-1566-5.w90-52.abo.wanadoo.fr> has quit IRC (Remote host closed the connection)15:49
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 264 seconds)15:50
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has joined #yocto15:56
*** sakoman <sakoman!~sakoman-l@199.58.97.236> has quit IRC (Ping timeout: 256 seconds)15:57
_sforburton: Thanks, but I'm a GH outsider, that's why I'm asking.15:57
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)15:58
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto15:58
*** Guest1337 <Guest1337!~Guest1337@132.198.137.78.rev.vodafone.pt> has joined #yocto16:01
Guest1337how do i create a symbolic link inside the image from a bitbake recipe?16:01
rburtonGuest1337: in a recipe's do_install, create a symlink16:02
rburton$D is the 'root'16:02
Guest1337do_install:append() {16:02
Guest1337    install -d ${D}/${systemd_unitdir}/system16:02
Guest1337    ln -s -r ${WORKDIR}/irst_boot.service ${WORKDIR}/multi-user.target.wants/first_boot.service16:02
Guest1337}16:02
Guest1337ive tried this16:02
Guest1337however, getting build error: No such file or directory16:02
rburtonthe workdir is the build tree, so that's no good16:02
rburtonyou want ${D}16:03
rburtonwell, ${D}/${systemd_unitdir}/system16:03
*** amitk <amitk!~amit@58.84.61.97> has joined #yocto16:04
Guest1337oh so my do_install is also wrong I suppose16:04
Guest1337do_install() {16:04
Guest1337    install -d ${D}/${systemd_unitdir}/system16:04
Guest1337    install -m 0644 \16:04
Guest1337        ${WORKDIR}/first_boot.service \16:04
Guest1337        ${WORKDIR}/usb_hub_control.service \16:04
Guest1337        ${WORKDIR}/usb3_control.service \16:04
Guest1337        ${D}/${systemd_unitdir}/system16:04
Guest1337    install -d ${D}/etc/first_boot16:04
Guest1337    install -d ${D}/usr/bin16:04
Guest1337    install -m 0770 \16:04
Guest1337        ${WORKDIR}/first_boot.sh \16:04
Guest1337        ${WORKDIR}/usb_hub_control.sh \16:04
Guest1337        ${WORKDIR}/usb3_control.sh \16:04
Guest1337        ${D}/usr/bin16:04
Guest1337}16:04
rburtonthat's right. you're copying from WORKDIR (which is where unpack puts files, and where the build happens) into D, which is the root of the package contents16:05
*** amitk <amitk!~amit@58.84.61.97> has quit IRC (Remote host closed the connection)16:06
Guest1337well im confused. i want to put all the services to /etc/systemd/system and the shell script into /usr/bin16:07
Guest1337do_install() {16:07
Guest1337    install -d ${D}/${systemd_unitdir}/system16:07
Guest1337    install -m 0644 \16:07
Guest1337        ${WORKDIR}/dcs_first_boot.service \16:07
Guest1337        ${WORKDIR}/usb_hub_control.service \16:07
Guest1337        ${WORKDIR}/usb3_control.service \16:07
Guest1337        ${D}/${systemd_unitdir}/system16:07
Guest1337    install -d ${D}/etc/first_boot16:07
Guest1337    install -d ${D}/usr/bin16:07
Guest1337    install -m 0770 \16:07
Guest1337        ${WORKDIR}/dcs_first_boot.sh \16:07
Guest1337        ${WORKDIR}/usb_hub_control.sh \16:07
Guest1337        ${WORKDIR}/usb3_control.sh \16:07
Guest1337        ${D}/usr/bin16:07
Guest1337}16:07
Guest1337do_install:append() {16:07
Guest1337    install -d ${D}/${systemd_unitdir}/system16:07
rburtonwhy do you have a do_install and a do_install:append, if you wrote the recipe?16:07
rburtonits simple: copy files from WORKDIR into D. then make symlinks in D.16:07
rburtonthe packaging will take everything in D, and put it in packages16:08
SaurGuest1337: Please use pastebin when pasting recipes etc...16:08
Guest1337    install -m 0644 \16:10
Guest1337        ${WORKDIR}/dcs_first_boot.service \16:10
Guest1337        ${WORKDIR}/usb_hub_control.service \16:10
Guest1337        ${WORKDIR}/usb3_control.service \16:10
Guest1337        ${D}/${systemd_unitdir}/system16:10
Guest1337so, doesnt this install/copy my services to systemd/system/ ?16:10
rburtonyes, copies from WORKDIR into D16:11
Guest1337so...16:12
Guest1337ln -s -r ${D}/${systemd_unitdir}/system/dcs_first_boot.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/dcs_first_boot.service16:12
Guest1337this should work but im still getting no such file or directory?16:12
*** amitk <amitk!~amit@58.84.61.97> has joined #yocto16:12
*** sakoman <sakoman!~sakoman-l@199.58.97.236> has joined #yocto16:13
SaurGuest1337: You do not seem to create the ${D}/${systemd_unitdir}/system/multi-user.target.wants directory...16:14
rburtonyeah16:14
rburtonrecipes are built in isolation, do_install isn't used to construct the rootfs itself16:15
rburtonso if you want to put something in a folder, make it first16:15
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has quit IRC (Quit: Client closed)16:21
Guest1337https://rlim.com/CulaLoNa2N ended up like this. Can it be better written/simplified ?16:22
rburtonFILES could be just ${systemd_unitdir}, it will scan recursively16:23
rburtonthe link for the wants, couldn't that just be in the service file? the systemd class will cause that to be generated, i believe16:23
rburtonalso its bad practise to put 'package managed' stuff into /usr/local, just put your stuff in /usr with everything else.16:24
rburtonalso you don't depend on bash16:24
Guest1337Thank you. Will fix these16:26
*** Guest1337 <Guest1337!~Guest1337@132.198.137.78.rev.vodafone.pt> has quit IRC (Ping timeout: 250 seconds)16:35
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto16:47
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has joined #yocto16:47
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Quit: enok)17:09
*** enok71 <enok71!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto17:09
*** enok71 is now known as enok17:12
*** amitk <amitk!~amit@58.84.61.97> has quit IRC (Remote host closed the connection)17:14
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 255 seconds)17:20
*** gsalazar <gsalazar!~gsalazar@107.105.60.94.rev.vodafone.pt> has quit IRC (Remote host closed the connection)17:26
*** ptsneves <ptsneves!~Thunderbi@89.151.23.56> has joined #yocto17:32
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Remote host closed the connection)17:44
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto17:53
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto18:05
*** dankm <dankm!~dan@user/dankm> has quit IRC (Remote host closed the connection)18:09
*** dankm <dankm!~dan@user/dankm> has joined #yocto18:11
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has quit IRC (Quit: Client closed)18:32
*** ptsneves <ptsneves!~Thunderbi@89.151.23.56> has quit IRC (Ping timeout: 255 seconds)18:34
*** dgriego <dgriego!~dgriego@user/dgriego> has joined #yocto18:37
gmorellanyone have any good hints on building cmake projects with LLVM, I'm running into similar errors to these mailing list entries from 2017/2020 https://docs.yoctoproject.org/pipermail/yocto/2017-June/036521.html https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg02935.html18:39
gmorell(even after enabling meta-clang)18:40
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 246 seconds)18:43
*** sev99 <sev99!~sev99@pool-108-32-48-117.pitbpa.fios.verizon.net> has joined #yocto18:56
rm5248I haven't tried to compile with llvm before, so I don't have much insight there.  It /could/ be a cmake problem though, I know some people were complaining about cmake the other week and prefer meson for cross-compiling19:01
*** simone <simone!~ile@2a02:810d:a940:35fc:d41a:4d13:a4f1:fce2> has joined #yocto19:03
gmorellyeah the program in question theoretically can compile with gcc but the docs are super not helpful19:10
gmorellI'm just going to grab a bin from the releases19:10
gmorelland drop it in the correct place19:11
*** usvi <usvi!~janne@55860f8a.adsl.multi.fi> has quit IRC (Remote host closed the connection)19:17
*** simonew <simonew!~ile@2a02:810d:a940:35fc:57d9:e36f:4d6f:6875> has joined #yocto19:21
*** simone <simone!~ile@2a02:810d:a940:35fc:d41a:4d13:a4f1:fce2> has quit IRC (Ping timeout: 272 seconds)19:21
*** simonew <simonew!~ile@2a02:810d:a940:35fc:57d9:e36f:4d6f:6875> has quit IRC (Remote host closed the connection)19:25
*** simonew <simonew!~ile@2a02:810d:a940:35fc:2251:e05c:3506:bee1> has joined #yocto19:26
*** ferry_ <ferry_!~quassel@2a02-a466-68ed-1-3726-1d7f-2306-4d52.fixed6.kpn.net> has joined #yocto19:26
*** florian_kc <florian_kc!~florian@78.48.7.205> has joined #yocto19:31
*** florian_kc <florian_kc!~florian@78.48.7.205> has quit IRC (Ping timeout: 255 seconds)19:38
*** xmn <xmn!~xmn@pool-108-46-142-76.nycmny.fios.verizon.net> has quit IRC (Ping timeout: 256 seconds)19:45
*** imx <imx!~imx@212.233.6.210> has joined #yocto19:55
imxHello19:57
imxHow can I add some lines to the fstab? I followed the last post: https://stackoverflow.com/questions/43283825/yocto-recipe-to-update-etc-fstab19:57
imxWithout result Fstab is still the old one. I add a file fstab with only 1 line inside.19:57
*** florian_kc <florian_kc!~florian@dynamic-078-048-007-205.78.48.pool.telefonica.de> has joined #yocto19:57
*** Haxxa <Haxxa!~Haxxa@89npm846bxqq5k2x8n39.ip6.superloop.au> has quit IRC (Quit: Haxxa flies away.)20:15
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has joined #yocto20:17
*** imx <imx!~imx@212.233.6.210> has quit IRC (Ping timeout: 250 seconds)20:19
*** ferry_ <ferry_!~quassel@2a02-a466-68ed-1-3726-1d7f-2306-4d52.fixed6.kpn.net> has quit IRC (Quit: http://quassel-irc.org - Chat comfortabel. Waar dan ook.)20:19
*** Kubu_work <Kubu_work!~kubu@2a01cb05949d5800e3ef2d7a4131071f.ipv6.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)20:25
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Ping timeout: 246 seconds)20:48
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto20:52
*** florian_kc <florian_kc!~florian@dynamic-078-048-007-205.78.48.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)20:55
*** schtobia <schtobia!~quassel@schmidl.dev> has quit IRC (Quit: Bye!)21:00
*** schtobia <schtobia!~quassel@schmidl.dev> has joined #yocto21:00
*** alperak <alperak!uid641238@id-641238.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity)21:46
*** florian_kc <florian_kc!~florian@78.48.7.205> has joined #yocto21:58
*** florian_kc <florian_kc!~florian@78.48.7.205> has quit IRC (Ping timeout: 240 seconds)22:32
*** pabigot <pabigot!~pab@c-73-127-94-148.hsd1.az.comcast.net> has quit IRC (Remote host closed the connection)22:49
*** ak77 <ak77!~ak77@93-103-41-115.dynamic.t-2.net> has quit IRC (Quit: No Ping reply in 180 seconds.)22:59
*** ak77 <ak77!~ak77@93-103-41-115.dynamic.t-2.net> has joined #yocto23:00
*** enok <enok!~Thunderbi@c-da42e655.06-290-73746f71.bbcust.telenor.se> has joined #yocto23:01
*** tealbird <tealbird!~pidgin@c-98-248-236-18.hsd1.ca.comcast.net> has quit IRC (Remote host closed the connection)23:24
*** mattsm6 <mattsm6!~mattsm@64.154.148.114> has joined #yocto23:42
*** mattsm <mattsm!~mattsm@64.154.148.114> has quit IRC (Ping timeout: 272 seconds)23:44
*** mattsm6 is now known as mattsm23:44

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!