> -----Original Message----- > From: Khem Raj <raj.k...@gmail.com> > On Thu, Jan 30, 2025 at 11:48 AM Tim Bird via lists.yoctoproject.org > <tim.bird=sony....@lists.yoctoproject.org> wrote: > > > > Hello YP users, > > > > Is there any way to tell what distribution or bitbake image name was used > > by looking at the contents of an image. > > > > I recently built a distribution based on Poky, using 'bitbake > > core-image-minimal'. > > I had hoped that I could see this recorded somewhere in the image, so I can > > distinguish > > between that image and another image I sometimes use from Texas Instruments > > while running on Linux inside the image. > > > > It doesn't look like YP populates /etc/os-release, where distribution > > information > > is normally stored. Is that right? > > The reference images from poky do not include os-release package which will > provide this information, so you can manually add it via local.conf to > IMAGE_INSTALL > distros do add it for their specific images e.g. > https://github.com/YoeDistro/yoe-distro/blob/master/sources/meta-yoe/recipes-core/images/yoe-simple-image.bb#L21 >
Thanks, Khem. This is helpful information. -- Tim
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64687): https://lists.yoctoproject.org/g/yocto/message/64687 Mute This Topic: https://lists.yoctoproject.org/mt/110903643/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-