Xagen has quit [Read error: Connection reset by peer]
Xagen has joined #yocto
rob_w has joined #yocto
advi[1] has quit [Quit: Client closed]
frieder has joined #yocto
goliath has joined #yocto
Maxxed has joined #yocto
mckoan|away is now known as mckoan
<mckoan>
good morning
<aak-rookie>
morning
zpfvo has joined #yocto
Maxxed has quit [Ping timeout: 256 seconds]
Thorn has quit [Ping timeout: 246 seconds]
leon-anavi has joined #yocto
florian has joined #yocto
<aak-rookie>
.bb contains FILES_${PN}-dev = "//do something" and it's working. in addition, it has no effect when i use FILES_${PN}-dev += "//append something" in .bbappend. where am i doing wrong?
<Ad0>
I have issues with "devtool modify docker-moby", need to apply a patch but get this when running the command: https://pastebin.com/M5Eau44u
gsalazar has quit [Remote host closed the connection]
ptsneves has joined #yocto
vladest has quit [Quit: vladest]
nemik has quit [Ping timeout: 256 seconds]
nemik has joined #yocto
seninha has joined #yocto
seninha has quit [Remote host closed the connection]
seninha has joined #yocto
aak-rookie has quit [Quit: Client closed]
tepperson has quit [Ping timeout: 255 seconds]
tepperson has joined #yocto
vladest has joined #yocto
zpfvo has quit [Ping timeout: 252 seconds]
Thorn has quit [Ping timeout: 256 seconds]
zpfvo has joined #yocto
tepperson has quit [Ping timeout: 252 seconds]
tepperson has joined #yocto
aak-rookie has joined #yocto
amsobr has joined #yocto
<Entei[m]>
Where do you assign disk space to be allocated while building the image for qemu?
aak-rookie has quit [Quit: Client closed]
Schlumpf has joined #yocto
starblue has quit [Ping timeout: 248 seconds]
<Entei[m]>
After building the image, even if I modify the qemu parameters such as -m 10G, this space is not allocated to my main disk, but instead some tempfs, which seems unusable
d-fens_ has quit [Read error: Connection reset by peer]
d-fens_ has joined #yocto
gchamp_ has quit [Ping timeout: 268 seconds]
gchamp_ has joined #yocto
aak-rookie has joined #yocto
perdmann has quit [Ping timeout: 246 seconds]
perdmann has joined #yocto
<aak-rookie>
hi
chep has quit [Ping timeout: 255 seconds]
<aak-rookie>
.bb contains FILES_${PN}-dev = "//do something" and it's working. i want to append something so i use FILES_${PN}-dev += "//append something" in .bbappend but it has no effect. where am i doing wrong?
zpfvo has quit [*.net *.split]
schtobia has quit [*.net *.split]
npcomp has quit [*.net *.split]
Fanfwe has quit [*.net *.split]
Vonter has quit [*.net *.split]
goliath has quit [*.net *.split]
wCPO has quit [*.net *.split]
jjmcdn has quit [*.net *.split]
marex has quit [*.net *.split]
alinucs has quit [*.net *.split]
jsandman has quit [*.net *.split]
perfinion has quit [*.net *.split]
iokill has quit [*.net *.split]
warthog19 is now known as warthog9
<rburton>
aak-rookie: can you give a concrete example?
<rburton>
FILES are processed in the order the packages are listed in PACKAGES, so another package might have taken the file first
chep has joined #yocto
goliath has joined #yocto
zpfvo has joined #yocto
Vonter has joined #yocto
perfinion has joined #yocto
npcomp has joined #yocto
marex has joined #yocto
Fanfwe has joined #yocto
jsandman has joined #yocto
alinucs has joined #yocto
jjmcdn has joined #yocto
wCPO has joined #yocto
iokill has joined #yocto
schtobia has joined #yocto
<aak-rookie>
there are two lines in the opencv.bb recipe as follows:
<aak-rookie>
i want to add "${libdir}/opencv4/3rdparty/*.a", which is in the staticdev package. i want to add it into the dev package. so i created bbappend and
<aak-rookie>
i tried to use FILES_${PN}-dev += "${libdir}/opencv4/3rdparty/*.a". thinking that the "+=" sign will append.
<landgraf>
aak-rookie: remove file from staticdev first ?
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
<rburton>
aak-rookie: why do you want it in the dev package? .a files are static libraries, so they belong in the -staticdev pacakge.
<rburton>
just install it if you want it
tepperson has quit [Ping timeout: 255 seconds]
<aak-rookie>
rburton i created an sdk and i'm using find_package(opencv) inside my cmake project. when i used it, it was giving an error because there were no static libraries in /usr/lib/opencv4/3rdparty/.
<aak-rookie>
so i tried to do something like this but couldn't find a way:
<aak-rookie>
lets say i run bitbake <image> -c populate_sdk
<aak-rookie>
opencv.bbappend
<aak-rookie>
{
<aak-rookie>
if(populate_sdk)
<aak-rookie>
{
<aak-rookie>
// put /usr/lib/opencv4/3rdparty/*.a static libraries.
<aak-rookie>
}
<aak-rookie>
}
<aak-rookie>
after that, i tried to solve it with this way i wrote.
<aak-rookie>
like you said, they are static libraries and it's an illogical move, but i couldn't find any other solution.
<rburton>
so the actual question is "how do i get a package in a sdk"
<aak-rookie>
rburton the answer is one line but i don't know how to search and how to ask. the worst thing about being a rookie is getting pissed off at myself. thanks for saving my time and helping out.
<rburton>
best thing to do is ask the actual question you have, not where you got to when you got stuck
<rburton>
if you wanted _all_ staticdev packages in the image you'd just SDKIMAGE_FEATURES += "staticdev-pkgs", but you're probably good with just opencv-staticdev.
<aak-rookie>
rburton thank you!
tepperson has joined #yocto
d-s-e has joined #yocto
sakoman has joined #yocto
kanavin has quit [Remote host closed the connection]
kanavin has joined #yocto
xmn has joined #yocto
tepperson has quit [Read error: Connection reset by peer]
<Entei[m]>
Thanks a lot
xmn has quit [Read error: Connection reset by peer]
rob_w has quit [Remote host closed the connection]
xmn_ has joined #yocto
<aak-rookie>
rburton when i added TOOLCHAIN_TARGET_TASK_append = "opencv-staticdev" in the imag recipe, im getting : https://pastebin.com/LTVUZe5k
zpfvo has quit [Ping timeout: 268 seconds]
whuang has joined #yocto
sgw has joined #yocto
<aak-rookie>
@rbu
<aak-rookie>
using "+=" instead of append, solved problem.
kscherer has joined #yocto
Vonter has quit [Quit: WeeChat 3.8]
<derRichard>
currently poky support both systemd and sysvinit. are there plans to drop support for sysvinit at some point? asking for a friend ;-)
<RP>
derRichard: definitely not.
zpfvo has joined #yocto
<derRichard>
RP: good :-)
<RP>
derRichard: I thought you were hinting for dropping it! :)
xmn_ has quit [Quit: xmn_]
xmn has joined #yocto
d-fens has joined #yocto
d-fens_ has quit [Ping timeout: 255 seconds]
<qschulz>
JPEW: moto-timo: we've some interest in using phosh for our demo image for our SoMs. I see you maintain a meta-phosh but it seems a bit dead and meta-wayland has more recent support.
<JPEW>
qschulz: Ya, we never got around to actually finishing that
<qschulz>
1) are you still using phosh? maintaing something internally or in some other place not reported by layers.openembedded.org?
<qschulz>
2) any interest in getting that in meta-openembedded (just asking, this would probably be low on our todo list)
<JPEW>
maybe. We need it in some external layer to prove it out first
<moto-timo>
qschulz: we mostly got it in shape for the YP Summit. Sadly there are only so many hours in the day…
<JPEW>
Our interest was mainly to see if it would be able to make a more modern looking supplement to sato
<qschulz>
yeah that I remember
<qschulz>
but i vaguely remembered that you were using this in your company?
<qschulz>
probably wrong recollection though?
<moto-timo>
qschulz: also need to make absolutely sure the meta-gnome recipes are rock solid.
<qschulz>
moto-timo: JPEW: would you recommend starting with meta-wayland first and see where this leads us?
<qschulz>
I plan to give this to a Yocto beginner in the next few weeks :)
<qschulz>
this = adding phosh to our demo image
davidinux has joined #yocto
* JPEW
looks at meta-wayland
<JPEW>
qschulz: I don't think meta-wayland has phosh, but if you just want "some UI" maybe it has that
<whuang>
is there a tool that I can use to visualize a dependency loop? hard to track with the output text
aak-rookie has quit [Quit: Client closed]
<qschulz>
JPEW: ack thx for the prompt answer
<zeddii>
one might wonder why there are two recipes, and updates weren't sent to meta-phosh, but if I could answer that, we could probably solve even bigger things.
* qschulz
shrugs
<zeddii>
if it is worth doing once, doing it twice is even better!
<skrawn>
mischief yes. This is the sample code I've been trying to test:
<skrawn>
```
<skrawn>
import time
<skrawn>
from threading import Thread
<skrawn>
class Tick(Thread):
<skrawn>
def run(self) -> None:
<skrawn>
while True:
<skrawn>
print("Tick")
<skrawn>
time.sleep(5)
<skrawn>
def main():
<skrawn>
print("Starting")
<skrawn>
try:
<skrawn>
tick = Tick(daemon=True)
<skrawn>
tick.start()
<skrawn>
tick.join()
<skrawn>
except KeyboardInterrupt:
<skrawn>
print("Got interrupt")
<skrawn>
print("Exiting")
<qschulz>
zeddii: wait until we do it thrice!
<zeddii>
:)
<JPEW>
zeddii: It might help if I wasn't abjectly terrified of being the meta-phosh maintainer :)
<qschulz>
JPEW: any reason except bandwidth?
<JPEW>
Ya, mostly that
<qschulz>
JPEW: you just need to add it to OE-Core and then you don't have to maintain the layer /s
<JPEW>
qschulz: .... not _exactly_ how that works :)
<zeddii>
heheh
<JPEW>
Hey, I submitted meta-doom to the layer index.... I'm facing my fears
<JPEW>
It was a big step for me :)
florian_kc has joined #yocto
Estrella__ has joined #yocto
Estrella_ has quit [Ping timeout: 252 seconds]
Estrella has quit [Ping timeout: 255 seconds]
Estrella has joined #yocto
Estrella_ has joined #yocto
seninha has quit [Quit: Leaving]
amsobr has quit [Ping timeout: 252 seconds]
amsobr has joined #yocto
Estrella__ has quit [Ping timeout: 255 seconds]
Vonter has joined #yocto
olani- has quit [Ping timeout: 260 seconds]
Archangel[m] has quit [Quit: You have been kicked for being idle]
jsbronder has quit [Quit: WeeChat 3.5]
jsbronder has joined #yocto
skrawn has quit [Quit: Client closed]
skrawn` has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 256 seconds]
nemik has joined #yocto
seninha has joined #yocto
Thorn has quit [Ping timeout: 256 seconds]
skrawn` has quit [Quit: Client closed]
<rburton>
we're very proud JPEW
<JaMa>
indeed, I've started to look for kitchen sink which can play doom :)
vladest has quit [Ping timeout: 265 seconds]
d-s-e has quit [Quit: Konversation terminated!]
skrawn has joined #yocto
Estrella__ has joined #yocto
Estrella has quit [Quit: No Ping reply in 180 seconds.]
<tepperson>
is this a valid way of enabling the kea-dhcp4 service on startup? "ln -s /lib/systemd/system/kea-dhcp4.service ${D}/etc/systemd/multi-user.target.wants/kea-dhcp4.service"
<qschulz>
tepperson: what about using SYSTEMD_AUTO_ENABLE, SYSTEMD_PACKAGES, SYSTEMD_SERVICE variables instead?
<qschulz>
(afk now, just throwing this out there)
<JaMa>
vmeson: some projects still use ffmpeg-4 API and cannot be easily updated to ffmpeg-5 from kirstone, so I wouldn't update it to 6 just before the release
<vmeson>
JaMa: I suspected as much so for anyone interested, they should target post 4.2 release.
<JPEW>
JaMa: I've got it running on Le Potato
florian has quit [Quit: Ex-Chat]
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
florian_kc has quit [Ping timeout: 264 seconds]
seninha has joined #yocto
nemik has quit [Ping timeout: 255 seconds]
sgw has quit [Quit: Leaving.]
nemik has joined #yocto
sgw has joined #yocto
sgw has quit [Client Quit]
sgw has joined #yocto
sgw has quit [Client Quit]
sgw has joined #yocto
sgw has quit [Client Quit]
sgw has joined #yocto
sgw has quit [Client Quit]
sgw has joined #yocto
sgw has quit [Client Quit]
olani- has joined #yocto
seninha has quit [Quit: Leaving]
seninha has joined #yocto
<tepperson>
kea-dhcp4 only appears to respond on ethernet ports that are connected when the service starts, (ie conneting a port after the service starts wont cause it to start listening to that even if it is configured to listed on that device)
ptsneves has quit [Ping timeout: 248 seconds]
prabhakarlad has quit [Quit: Client closed]
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
prabhakarlad has joined #yocto
seninha has quit [Quit: Leaving]
prabhakarlad has quit [Client Quit]
GNUmoon has quit [Ping timeout: 255 seconds]
GNUmoon has joined #yocto
tepperson_ has joined #yocto
tepperson has quit [Read error: Connection reset by peer]
tepperson_ is now known as tepperson
mvlad has quit [Remote host closed the connection]
vladest has joined #yocto
florian_kc has joined #yocto
amsobr has quit [Quit: Konversation terminated!]
<dacav>
Hi. Is there a way to DEPEND on a package foo and specify a version for it? Of course the plan is to have two recipes for the same library, having different versions.
whuang has quit [Quit: Client closed]
<dacav>
Use case: we have mbedtls 2.x provided by yocto, but we need mbedtls 3.x for a userspace application.
<dacav>
I can package mbedtls 3.x, but then I need to select it.
amitk has quit [Ping timeout: 248 seconds]
<dacav>
I mean, depend on the 3.x variant.
<LetoThe2nd>
dacav: it has to be selected system-wide then. PREFERRED_VERSION is the way, though by default the highest one is picked.
<dacav>
If the highest one is picked then I probably don't need to do anything. But PREFERRED_VERSION seems a good idea nontheless. Thanks LetoThe2nd, I'll check this variable
<dacav>
Seems to be exactly what I need!
<LetoThe2nd>
dacav: again: PREFERRED_VERSION is system wide. it does not work in a recipe.
<dacav>
Yes, but I can place it into the local.conf
<dacav>
Woudln't that work?
<dacav>
As long as nothing uses the other version, of course. Otherwise I will probably see a build faiulre somewhere, but at that point I can think of something.
<dacav>
*else
<LetoThe2nd>
dacav: local.conf works technically, maintenance wise its clearly a distro thing. it defines the API.
<dacav>
LetoThe2nd: could you elaborate plese? Do you see any pitfall ahead of using PREFERRED_VERSION in local.conf?
<LetoThe2nd>
dacav: how is your local.conf versioned?
<dacav>
git
<moto-timo>
dacav: local.conf will be changed with each new build directory most likely, so you are probably better off having such a thing defined in something in your layer (such as conf/distro/your-fancy-distro.conf)
<moto-timo>
dacav: storing local.conf in git means anyone consuming your configuration has lost control over their own local.conf
<moto-timo>
dacav: so if this is a platform/MACHINE specific thing, put it in machine/fancy-machine.conf
<LetoThe2nd>
dacav: see the above reasoning. lets take it the other way round - can you tell me why you don't want to put it into your DISTRO?
<dacav>
Hehe, why every time I ask stuff here it becomes cristal clear that people who set up this project initially didn't have a clue? :D
<dacav>
To be honest I have no reason not to put it into DISTRO. Nor I'm against it :D
<LetoThe2nd>
dacav: *shrug* there are more than enough people in this channel who have knowledge for sale.
<dacav>
I just didn't understand that you were talking about DISTRO to begin with :)
<moto-timo>
ah... you are inheriting legacy baggage ;)
<dacav>
LetoThe2nd: knowledge for sale? :)
<LetoThe2nd>
dacav: then, in a nutshell: find out what a custom distro is, and put it in there.
<moto-timo>
some vendor BSP layers (in their repo manifest) will put huge amounts of stuff (1500 lines or worse!) in local.conf... the first thing I do is disable that and rip it out.
<LetoThe2nd>
dacav: yup, either as trainers or consultants for project work.
<dacav>
moto-timo: yes, and I often think I would like to learn from my mistakes, not from other's mistakes
<dacav>
I see, LetoThe2nd. I'm not sure this is an option, but I'll see if I can mention that to mgmt
<dacav>
But now let's look into that DISTRO :)
<LetoThe2nd>
moto-timo: currently having fun with a vendor that has meta-gplv(3-1) in their recommended setup.
<LetoThe2nd>
dacav: have fun
* LetoThe2nd
is off to bed
<dacav>
Bye LetoThe2nd, and thanks for your hints
<dacav>
interestingly, someone who came before me threw some PREFERRED_VERSION in the local.conf, so it is time to move that too.
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 255 seconds]
nemik has joined #yocto
davidinux has quit [Ping timeout: 255 seconds]
seninha has joined #yocto
davidinux has joined #yocto
seninha has quit [Remote host closed the connection]
seninha has joined #yocto
florian_kc has quit [Ping timeout: 255 seconds]
goliath has quit [Quit: SIGSEGV]
davidinux has quit [Quit: WeeChat 3.5]
<dacav>
Can a PREFERRED_VERSION also affect the native build?
<dacav>
self-answer: apparently with PREFERRED_VERSION:recipe-native :-)
Estrella_ has joined #yocto
Estrella has quit [Quit: No Ping reply in 180 seconds.]
Estrella__ has quit [Ping timeout: 260 seconds]
Estrella has joined #yocto
tepperson has quit [Remote host closed the connection]
tepperson has joined #yocto
<paulg>
do we have microcode outside of meta-intel somewhere? I never got an early layer depends error, but at final wic creation...
<paulg>
tmp/deploy/images/qemux86-64/microcode.cpio': No such file or directory
<paulg>
I can add meta-intel of course, but would like to know if I'm missing sth else.
<paulg>
(disclaimer - I have no clue when it comes to wic generation/use)
<paulg>
ah, never mind. Found it. Hard coded. Nice.