From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Mon, 9 Nov 2015 21:46:53 +0100 Subject: [Buildroot] [PATCH] system: Fix warning when selecting systemd In-Reply-To: <878u66ud7t.fsf@dell.be.48ers.dk> References: <1446834225-19878-1-git-send-email-maxime.hadjinlian@gmail.com> <878u66ud7t.fsf@dell.be.48ers.dk> Message-ID: <20151109204653.GC5162@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Peter, All, On 2015-11-09 21:31 +0100, Peter Korsgaard spake thusly: > >>>>> "Maxime" == Maxime Hadjinlian writes: > > > With systemd and a custom skeleton, you end up with the following > > warning: > > warning: (BR2_INIT_SYSTEMD) selects BR2_ROOTFS_MERGED_USR which has > > unmet direct dependencies (BR2_ROOTFS_SKELETON_DEFAULT) > > > Signed-off-by: Maxime Hadjinlian > > --- > > system/Config.in | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > diff --git a/system/Config.in b/system/Config.in > > index 4d07010..92712a8 100644 > > --- a/system/Config.in > > +++ b/system/Config.in > > @@ -92,7 +92,7 @@ config BR2_INIT_SYSTEMD > > depends on BR2_USE_MMU > > depends on !BR2_STATIC_LIBS > > depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 > > - select BR2_ROOTFS_MERGED_USR > > + select BR2_ROOTFS_MERGED_USR if BR2_ROOTFS_SKELETON_DEFAULT > > Hmm, we have a number of workarounds for merged /usr under package/, so > those packages will break with a custom skeleton (that contains a merged > /usr as required by systemd) as those workarounds are not performed. > > Perhaps we should instead introduce a hidden BR2_ROOTFS_MERGED_USR > kconfig option for the !BR2_ROOTFS_SKELETON_DEFAULT case? Hmm... Good point. I'll see to work on it... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'