From: Randolph Sapp <rs@ti.com>
To: <alex.kiernan@gmail.com>, <sebastian.krahl@lacon.de>
Cc: <meta-ti@lists.yoctoproject.org>
Subject: Re: [meta-ti] Postinstall scriptlets of ['ti-sgx-ddk-um'] have failed.
Date: Thu, 27 Mar 2025 15:43:18 -0500 [thread overview]
Message-ID: <D8RCABOSAGVD.2LWQZFHF2TJCR@ti.com> (raw)
In-Reply-To: <CAO5Uq5QZhqoxA4H0D+b=mTzo_tYOTYU-un1fD2XbCSyLimN3CA@mail.gmail.com>
That recipe postinst script should consist of only the following under a systemd
machine:
#!/bin/sh
set -e
if [ x"$D" = "x" ]; then
if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi
fi
Under sysvinit it should be:
#!/bin/sh
set -e
if true && type update-rc.d >/dev/null 2>/dev/null; then
if [ -n "$D" ]; then
OPT="-r $D"
else
OPT="-s"
fi
update-rc.d $OPT rc.pvr defaults 8
fi
if [ x"$D" = "x" ]; then
if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi
fi
"Deferring to first boot via 'exit 1'" should not be what's occuring here. I'm
setting up a little test to verify with MACHINE=am335x-evm, but I don't really
know how you got to this error, aside from missing ldconfig or some issue with
update-rc.d.
On Thu Mar 27, 2025 at 10:22 AM CDT, Alex Kiernan via lists.yoctoproject.org wrote:
> The postinstall script in ti-sgx-ddk-um failed - look at the
> referenced log file, hopefully you'll get a clue as to what/why.
>
> Assuming its this recipe:
>
> https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb?h=kirkstone
>
> I'd guess its something about the init script setup (update-rc.d adds
> a postinstall scriptlet).
>
> On Thu, Mar 27, 2025 at 2:52 PM Sebastian via lists.yoctoproject.org
> <sebastian.krahl=lacon.de@lists.yoctoproject.org> wrote:
>>
>> Hey there,
>>
>> actually I'm frustrated, I don't know where I'm going wrong.
>>
>> My setup:
>> Build Configuration:
>> BB_VERSION = "2.0.0"
>> BUILD_SYS = "x86_64-linux"
>> NATIVELSBSTRING = "universal"
>> TARGET_SYS = "arm-poky-linux-gnueabi"
>> MACHINE = "beaglebone"
>> DISTRO = "poky"
>> DISTRO_VERSION = "4.0.25"
>> TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
>> TARGET_FPU = "hard"
>> meta
>> meta-poky = "kirkstone:b210ed67de098a78a577baf464fae569d020de62"
>> meta-arm-toolchain
>> meta-arm = "kirkstone:936c02ec13661bd86a05f7f90e1b920d5092d670"
>> meta-ti-bsp
>> meta-ti-extras = "kirkstone:98c5c3d732334a26d57cb3534230e858d96db0c6"
>> meta-oe = "kirkstone:7e18b3fc774b7efabf9a20ae3cd6abd0e0715b59"
>>
>> I want to build the core-image-sato but it fails with:
>> ERROR: core-image-sato-1.0-r0 do_rootfs: Postinstall scriptlets of ['ti-sgx-ddk-um'] have failed. If the intention is to defer them to first boot,
>> then please place them into pkg_postinst_ontarget:${PN} ().
>> Deferring to first boot via 'exit 1' is no longer supported.
>> Details of the failure are in /home/lacon/yocto/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_rootfs.
>> ERROR: Logfile of failure stored in: /home/lacon/yocto/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_rootfs.23534
>> ERROR: Task (/home/lacon/yocto/poky/meta/recipes-sato/images/core-image-sato.bb:do_rootfs) failed with exit code '1'
>>
>> Can anyone help to progress further?
>>
>> Regards,
>>
>> Sebastian
>>
>>
>>
next prev parent reply other threads:[~2025-03-27 20:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-27 14:52 Postinstall scriptlets of ['ti-sgx-ddk-um'] have failed Sebastian
2025-03-27 15:22 ` [meta-ti] " Alex Kiernan
2025-03-27 20:43 ` Randolph Sapp [this message]
2025-03-27 22:00 ` Randolph Sapp
2025-03-31 8:37 ` Sebastian
2025-04-01 9:36 ` Sebastian
2025-04-01 17:57 ` [meta-ti] " Randolph Sapp
2025-04-01 18:10 ` Jon Cormier
2025-04-02 5:25 ` Sebastian
2025-04-02 12:47 ` [meta-ti] " Ryan Eatmon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D8RCABOSAGVD.2LWQZFHF2TJCR@ti.com \
--to=rs@ti.com \
--cc=alex.kiernan@gmail.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=sebastian.krahl@lacon.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.