[yocto] do_rootfs fails while attempting to install hostapd package

Belisko Marek marek.belisko at gmail.com
Sat Jun 1 08:43:25 PDT 2019


Hi,

On Sat, Jun 1, 2019 at 4:41 PM Morné Lamprecht <morne at linux.com> wrote:
>
> Hi
>
> I created a new custom distribution and
> everything seems to work fine until the do_rootfs
> task is executed. It fails specifically when
> trying to install the hostapd package, with the
> error below (snippet from log.do_rootfs):
I would check run.do_rootfs and check it maybe there will be some more info.
Do you have some custom extension for hostapd? Thanks.
>
> > Running scriptlet: hostapd-2.6-r0.aarch64
> >
> > usage: update-rc.d [-n] [-f] [-r <root>] <basename> remove update-rc.d
> > [-n] [-r <root>] [-s] <basename> defaults [NN | sNN kNN]
> > update-rc.d [-n] [-r <root>] [-s] <basename> start|stop NN runlvl [runlvl]
> >
> > error: %prein(hostapd-2.6-r0.aarch64) scriptlet failed, exit status 1
>
> > error: hostapd-2.6-r0.aarch64: install failed
>
> The hostapd package itself builds fine, it is
> just the installation to the rootfs that fails.
>
> The hostapd package is specified in
> MACHINE_EXTRA_DEPENDS, if I remove it, then the
> build succeeds without any issues.
>
> If I interpret the error correctly, it is the
> preinstall scriptlet that fails...but I am not
> sure where to start debugging this.
>
> Any suggestions ?
>
>                 - Morné
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

marek


More information about the yocto mailing list