Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] Revert "system: Fix warning when selecting systemd"
@ 2015-11-09 20:40 Peter Korsgaard
  2015-11-09 21:48 ` Arnout Vandecappelle
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2015-11-09 20:40 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=adcc48e0b25fb6a9759bc8d889badbbad9e02954
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This reverts commit b4718c3a28fc3b178253b24bd6fbb8540a724c7e.

The BR2_ROOTFS_MERGED_USR symbol is used to activate various workarounds for
a merged /usr by packages, so it should be active even with a custom rootfs
skeleton.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 system/Config.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/system/Config.in b/system/Config.in
index 92712a8..4d07010 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 if BR2_ROOTFS_SKELETON_DEFAULT
+	select BR2_ROOTFS_MERGED_USR
 	select BR2_PACKAGE_SYSTEMD
 
 comment "systemd needs (e)glibc toolchain, headers >= 3.10"

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

* [Buildroot] [git commit] Revert "system: Fix warning when selecting systemd"
  2015-11-09 20:40 [Buildroot] [git commit] Revert "system: Fix warning when selecting systemd" Peter Korsgaard
@ 2015-11-09 21:48 ` Arnout Vandecappelle
  2015-11-10  6:17   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Arnout Vandecappelle @ 2015-11-09 21:48 UTC (permalink / raw)
  To: buildroot

On 09-11-15 21:40, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=adcc48e0b25fb6a9759bc8d889badbbad9e02954
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> This reverts commit b4718c3a28fc3b178253b24bd6fbb8540a724c7e.
> 
> The BR2_ROOTFS_MERGED_USR symbol is used to activate various workarounds for
> a merged /usr by packages, so it should be active even with a custom rootfs
> skeleton.

 The problem is that with a custom skeleton, we don't know if it is merged /usr
or not. If it is not merged, then our workarounds are wrong. But of course, with
a custom skeleton, all bets are off...

 I guess we should at least mention in a help text somewhere that for systemd
the custom skeleton must have merged /usr.


 Regards,
 Arnout


> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  system/Config.in |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/system/Config.in b/system/Config.in
> index 92712a8..4d07010 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 if BR2_ROOTFS_SKELETON_DEFAULT
> +	select BR2_ROOTFS_MERGED_USR
>  	select BR2_PACKAGE_SYSTEMD
>  
>  comment "systemd needs (e)glibc toolchain, headers >= 3.10"
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

* [Buildroot] [git commit] Revert "system: Fix warning when selecting systemd"
  2015-11-09 21:48 ` Arnout Vandecappelle
@ 2015-11-10  6:17   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2015-11-10  6:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 >> The BR2_ROOTFS_MERGED_USR symbol is used to activate various workarounds for
 >> a merged /usr by packages, so it should be active even with a custom rootfs
 >> skeleton.

 >  The problem is that with a custom skeleton, we don't know if it is merged /usr
 > or not. If it is not merged, then our workarounds are wrong. But of course, with
 > a custom skeleton, all bets are off...

 >  I guess we should at least mention in a help text somewhere that for systemd
 > the custom skeleton must have merged /usr.

Or verify that it is merged like Yann told me on IRC. A patch doing that
should be on its way.

-- 
Venlig hilsen,
Peter Korsgaard 

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

end of thread, other threads:[~2015-11-10  6:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-09 20:40 [Buildroot] [git commit] Revert "system: Fix warning when selecting systemd" Peter Korsgaard
2015-11-09 21:48 ` Arnout Vandecappelle
2015-11-10  6:17   ` Peter Korsgaard

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