mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] tool 'runlevel' conflicts between busybox and systemd
@ 2019-11-13 13:03 Alexander Dahl
  2019-11-15 13:50 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl @ 2019-11-13 13:03 UTC (permalink / raw)
  To: ptxdist; +Cc: Roelf-Erik Carsjens

Hei hei,

we got a build error with ptxdist-2019.11.0 when calling `ptxdist images`:


Installing busybox (1.29.3) on root.
To remove package dCollected errors:
 * check_data_file_clashes: Package busybox wants to install file /home/adahl/
Work/bsp/***/platform-v7a/build-target/image-root-tgz/usr/sbin/runlevel
        But that file is already provided by package  * systemd
 * opkg_solver_install: Cannot install package busybox.
ebris, try `opkg remove busybox`.
To re-attempt the install, try `opkg install busybox`.


This is probably because BUSYBOX_RUNLEVEL and INITMETHOD_SYSTEMD are set at 
the same time. There should be a guard against that (?), but I'm not sure how 
to implement this because those busybox config options are generated, right?

The build error is gone if we deactivate PTXCONF_BUSYBOX_RUNLEVEL.

Greets
Alex


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] tool 'runlevel' conflicts between busybox and systemd
  2019-11-13 13:03 [ptxdist] tool 'runlevel' conflicts between busybox and systemd Alexander Dahl
@ 2019-11-15 13:50 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2019-11-15 13:50 UTC (permalink / raw)
  To: ptxdist

Hi,

On Wed, Nov 13, 2019 at 02:03:47PM +0100, Alexander Dahl wrote:
> we got a build error with ptxdist-2019.11.0 when calling `ptxdist images`:
> 
> 
> Installing busybox (1.29.3) on root.
> To remove package dCollected errors:
>  * check_data_file_clashes: Package busybox wants to install file /home/adahl/
> Work/bsp/***/platform-v7a/build-target/image-root-tgz/usr/sbin/runlevel
>         But that file is already provided by package  * systemd
>  * opkg_solver_install: Cannot install package busybox.
> ebris, try `opkg remove busybox`.
> To re-attempt the install, try `opkg install busybox`.
> 
> 
> This is probably because BUSYBOX_RUNLEVEL and INITMETHOD_SYSTEMD are set at 
> the same time. There should be a guard against that (?), but I'm not sure how 
> to implement this because those busybox config options are generated, right?
> 
> The build error is gone if we deactivate PTXCONF_BUSYBOX_RUNLEVEL.

It should be fixed in busybox, but that's imported. I've started some code
to run a fixup script during import to do stuff like this but I never
finished it... It's still somewhere on my todo list.

Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-15 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13 13:03 [ptxdist] tool 'runlevel' conflicts between busybox and systemd Alexander Dahl
2019-11-15 13:50 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox