From: "Morné Lamprecht" <morne@linux.com>
To: yocto@yoctoproject.org
Subject: do_rootfs fails while attempting to install hostapd package
Date: Sat, 1 Jun 2019 16:40:16 +0200 [thread overview]
Message-ID: <20190601144016.GA19383@archworkstation> (raw)
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):
> 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é
next reply other threads:[~2019-06-01 14:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-01 14:40 Morné Lamprecht [this message]
2019-06-01 15:43 ` do_rootfs fails while attempting to install hostapd package Belisko Marek
2019-06-01 18:25 ` Morné Lamprecht
2019-06-03 6:42 ` Belisko Marek
2019-06-03 8:35 ` Morné Lamprecht
2019-06-03 14:05 ` Morné Lamprecht
2019-06-03 15:30 ` Burton, Ross
2019-06-03 16:54 ` Morné Lamprecht
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=20190601144016.GA19383@archworkstation \
--to=morne@linux.com \
--cc=yocto@yoctoproject.org \
/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.