Re: [meta-freescale] Headless IMX93 build and post #yocto

Daiane Angolini <[email protected]> Fri, 20 Jun 2025 15:50:41 -0300
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <CA+HEL78CZ77Le1vUhwqneNom3CkaOVvqdn2KFf2+dp_f7+NGCw@mail.gmail.com>
I firstly suggest you to post it as a github issue, as we are more
active in github than in the mailing list.
Then I suggest you describe your source code. Which branch? Did you
change anything?

Daiane

On Fri, Jun 20, 2025 at 7:13=E2=80=AFAM adam.honeybell via
lists.yoctoproject.org
<[email protected]> wrote:
>
> I'm building a device with an IMX93. It is mainly a webserver device so o=
nly needs networking, serial port, CAN and I2C. It does not have any video =
display, sound card or bluetooth.
> I therefore updated by defconfig by removing everything that seemed redun=
dant (video drivers, sound cards etc).
>
> But now, my build fails during the do_rootfs stage:
>
> NOTE: Running /home/user/imx-yocto-bsp/my-device/tmp/work/device-poky-lin=
ux/fsl-image-network-full-cmdline/1.0/recipe-sysroot-native/usr/bin/rpm -e =
-v --nodeps --root=3D/home/user/imx-yocto-bsp/my-device/tmp/work/device-pok=
y-linux/fsl-image-network-full-cmdline/1.0/rootfs glibc-binary-localedata-c=
 glibc-binary-localedata-en-gb glibc-binary-localedata-en-us
> NOTE: Preparing packages...
> glibc-binary-localedata-en-us-2.39+git-r0.armv8a
> glibc-binary-localedata-en-gb-2.39+git-r0.armv8a
> glibc-binary-localedata-c-2.39+git-r0.armv8a
> NOTE: Running intercept scripts:
> NOTE: > Executing update_desktop_database intercept ...
> NOTE: Exit code 127. Output:
> /home/user/imx-yocto-bsp/my-device/tmp/work/device-poky-linux/fsl-image-n=
etwork-full-cmdline/1.0/intercept_scripts-4dab61769040ee43f376a256632b52bcb=
a6183b8b671caedd9a9abacb1a05c53/update_desktop_database: 7: update-desktop-=
database: not found
> ERROR: The postinstall intercept hook 'update_desktop_database' failed, d=
etails in /home/user/imx-yocto-bsp/my-device/tmp/work/device-poky-linux/fsl=
-image-network-full-cmdline/1.0/temp/log.do_rootfs
> DEBUG: Python function do_rootfs finished
>
> It's not obvious (what is in Yocto) why this now fails. Copilot suggested=
 writing a recipe that writes a dummy update-desktop-database (not to be co=
nfused with update_desktop_database). But it seems not to work.
>
> Any ideas? This seems like more of a hack than dealing with the root of t=
he issue. Before I removed the items from defconfig I never saw this error =
before. But I do want to remove unneeded items to reduce the size of the ke=
rnel and the bootup time.
>
> FILESEXTRAPATHS:prepend :=3D "${THISDIR}/files:"
> SRC_URI:remove =3D "file://update-desktop-database"
> SRC_URI +=3D "file://update-desktop-database"
>
> do_install:append() {
>     install -m 0755 ${WORKDIR}/update-desktop-database ${D}${bindir}/upda=
te-desktop-database
> }
>
>
> ________________________________
>
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> Links: You receive all messages sent to this group.
> View/Reply Online (#24969): https://lists.yoctoproject.org/g/meta-freesca=
le/message/24969
> Mute This Topic: https://lists.yoctoproject.org/mt/113739878/5992125
> Mute #yocto:https://lists.yoctoproject.org/g/meta-freescale/mutehashtag/y=
octo
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub [daian=
[email protected]]
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>