<DvorkinDmitry>
I have a machine xxx. I need to have two aliases: xxx-ver1, xxx-ver2 and do SRC_URI:append:xxx-ver1 = "" in my recipe. what should I write in xxx-ver1.conf? MACHINEOVERIDES =. "xxx:" ?
<neverpanic>
PratikP[m]: IMAGE_INSTALL expects package names, not recipe names. If you IMAGE_INSTALL_append = " gnutls" but the binary you want is in gnutls-bin, you didn't install the correct package.
<neverpanic>
Use INSTAL_INSTALL:append = " gnutls-bin"
<neverpanic>
s/INSTAL/IMAGE/g
belsirk has joined #yocto
rfuentess has quit [Ping timeout: 244 seconds]
<PratikP[m]>
<fabatera[m]> "> <@pratikp:matrix.org> Hello..." <- > <@fabatera:matrix.org> IMAGE_INSTALL_append = " gnutls" should be enough
<PratikP[m]>
> You probably not running bitbake your_image
<PratikP[m]>
We have set the above variable in core-image-minimal.bb and recompiled it as well. but still not able to get p11tool binary in final image.
<rburton>
as neverpanic said, you need to add gnutls-bin
<rburton>
not gnutls
<PratikP[m]>
We also observed that the complete bin directory of gnutls is not present in the core-image-minimal
<rburton>
IMAGE_INSTALL is _package_ names not _recipe_ names.
<neverpanic>
That's because you need gnutls-bin, not gnutls.
<neverpanic>
*insert broken record noises*
<PratikP[m]>
rburton: * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'gnutls-bin'.
<PratikP[m]>
getting above error after adding gnutls-bin in core-image-minimal.bb
<neverpanic>
Hm, does the debian package renaming also rename the bin package if it's enabled? In that case, the package might be named libgnutls-bin.
<neverpanic>
I thought bitbake translated that automatically, though.
<rburton>
run "oe-pkgdata-util list-pkgs -p gnutls"
<rburton>
which means "list the packages built by the recipe gnutls"
<rburton>
no point using a LTS if you're not going to actually update it to get the security fixes
<PratikP[m]>
we are using TISDK Arago Distro
<rburton>
tell TI to update their dunfell
<rburton>
you can do that, obviously, just switch the oe-core/poky tree to latest dunfell
belsirk has quit [Remote host closed the connection]
alejandrohs has quit [Ping timeout: 246 seconds]
alejandrohs has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
pabigot has quit [Ping timeout: 245 seconds]
davidinux has joined #yocto
tgamblin has joined #yocto
pabigot has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
<rburton>
JaMa: given your recent dive into IMAGE_NAME/SUFFIX/etc, is there a *good* reason why initramfs images have to set the suffix to ""? Looks like there's a lot of complication around ensuring the images dont have a suffix and then not using a suffix in the initramfs naming. Context being we want core-image-minimal as a bundled initramfs
<DvorkinDmitry>
I have a machine xxx. I need to have two aliases: xxx-ver1, xxx-ver2 and do SRC_URI:append:xxx-ver1 = "" in my recipe. what should I write in xxx-ver1.conf? MACHINEOVERIDES =. "xxx:" ?
<DvorkinDmitry>
rburton, thank you. The problem: I made it in layerX/conf/xxx-ver1.conf: MACHINEOVERIDES =. "xxx:" but bitbake wants me to have multiconfig/xxx-ver1.conf first. should I create it with empty contents?
sudip_ is now known as sudip
florian_kc has joined #yocto
silbe has joined #yocto
<JaMa>
as initramfs IIRC
<JaMa>
rburton: you mean you want initramfs to have "rootfs" suffix or just different suffix like "initramfs" to make it more clear? One of the test cases was already using core-image-minimal
<JaMa>
read in reversed order of lines :)
florian_kc has quit [Ping timeout: 260 seconds]
<JaMa>
and the main reason is that they (explicit initramfs image recipes) weren't using this suffix before, so now when the suffix is part of the name I needed to make sure that it stays empty where it was empty
zpfvo has quit [Remote host closed the connection]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
zelgomer has quit [Remote host closed the connection]
zelgomer has joined #yocto
aardo has joined #yocto
ardo has quit [Ping timeout: 240 seconds]
ptsneves has quit [Ping timeout: 246 seconds]
ptsneves has joined #yocto
florian has quit [Quit: Ex-Chat]
<DvorkinDmitry>
may I use something like MCMACHINE variable in my recipes?
nerdboy has quit [Ping timeout: 250 seconds]
florian_kc has joined #yocto
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
ptsneves1 has joined #yocto
ptsneves1 has quit [Client Quit]
glgspg[m] has quit [Remote host closed the connection]
ptsneves1 has joined #yocto
ptsneves1 has quit [Client Quit]
ptsneves1 has joined #yocto
ptsneves1 has quit [Client Quit]
florian_kc has quit [Ping timeout: 244 seconds]
<rburton>
JaMa: i'm thinking https://git.yoctoproject.org/poky-contrib/commit/?h=ross/suffix&id=e28ebcca488aad478e6c695a3a31f1557cd9661e is sensible. selftest just failed with some more paths that need matching, but i can't see a good reason why.
<rburton>
can't see a good reason why that's the wrong thing to do. (failed to finish writing my sentence)
LocutusOfBorg has quit [Read error: Connection reset by peer]
LocutusOfBorg has joined #yocto
florian_kc has quit [Ping timeout: 244 seconds]
cavejohnson has joined #yocto
gsalazar has quit [Ping timeout: 244 seconds]
LocutusOfBorg has quit [Read error: Connection reset by peer]
LocutusOfBorg has joined #yocto
florian_kc has joined #yocto
goliath has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
cavejohnson has quit [Ping timeout: 244 seconds]
<vvn>
On Dunfell, adding usrmerge to distro features gets me Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot [...]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
ptsneves has quit [Ping timeout: 246 seconds]
florian_kc has quit [Ping timeout: 244 seconds]
<JaMa>
rburton: "why that's the wrong thing to do" I plan to set it to empty for all our images (so I don't mind this change), but if all rootfs images and initramfs images end with "rootfs" in filename then it's even more useless :)
<JaMa>
rburton: and you'll probably need to update few more places which don't use INITRAMFS_IMAGE_NAME e.g. that INITRD_IMAGE_LIVE/INITRD_LIVE I've mentioned before and various BSPs which set INITRAMFS_IMAGE_NAME (not just INITRAMFS_IMAGE)
florian_kc has joined #yocto
DvorkinDmitry has quit [Ping timeout: 246 seconds]