From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVbzq-000501-Cu for ptxdist@pengutronix.de; Fri, 15 Nov 2019 14:50:46 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iVbzq-0005ay-5B for ptxdist@pengutronix.de; Fri, 15 Nov 2019 14:50:46 +0100 Date: Fri, 15 Nov 2019 14:50:46 +0100 From: Michael Olbrich Message-ID: <20191115135046.GB1287@pengutronix.de> References: <2636306.eBN0BePIqA@ada> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2636306.eBN0BePIqA@ada> Subject: Re: [ptxdist] tool 'runlevel' conflicts between busybox and systemd List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de 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