Skip to contentSkip to conversation

Pull request for branch yem/systemd-skeleton-2

GIT PULL New Yann E. MORIN 3 participants 16 messages Jul 17, 2016 – Jul 18, 2016

lore
Share & tools
lore
#1 lore raw

PATCH 1/6 package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

In reply to Yann E. MORIN

BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is a bit special. When Busybox is enabled, it is a Busybox option. When Busybox is not enabled, it is a stand-alone option, forcibly enabled.

So we can safely 'select' it without ensuring (via a 'depends on' or another 'select') that Busybox is enabled.

However, the name of this option does not express the fact that it is safe to select it without checking Busybox, which can lead to a bit of time-consuming head-scratching.

To avoid future puzzlement from an unsuspecting observer, adda a big fat comment that this option can be selected without any dependency on busybox.

Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Romain Naour <[email protected]>

---
Changes v2 -> v3:
- add the comment (Romain)
- drop the condition select (Romain)

Changes v1 -> v2:
- only select if busybox is enabled (Thomas)

---
Hopefully, this will avoid people to go hunting like I did, and loose a few precious minutes of hair-pulling... ;-]

---
 package/busybox/Config.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
package/busybox/Config.in +5 -1
index 91c5d9e..8f84fc9 100644
@@ -26,6 +26,8 @@ config BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES
 	  A space-separated list of configuration fragment files,
 	  that will be merged to the main BusyBox configuration file.
 
+# This option is not an option of Busybox, it can be selected even
+# if Busybox is not enabled.
 config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	bool "Show packages that are also provided by busybox"
 	help
@@ -75,7 +77,9 @@ endif
 
 if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else
 
-# add dummy config so the stuff with busybox alternatives are shown
+# This option is not an option of Busybox, it can be selected even
+# if Busybox is not enabled.
+# Add dummy config so the stuff with busybox alternatives are shown
 # when busybox is disabled
 config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	default y
Signature · 1 line
2.7.4
#0 lore raw

Hello All!

This series is a clean-up of our skeleton handling, especially the customskeleton, aimed at preparing the ground for adding proper systemd handling in our skeleton.

The first wo patches are independent cleanups, adding a comment about busybox-show-others and using package-specific target-finalize hooks.

The next four patches remove all choice options for customising the custom skeleton, on the assumption that the user is responsible for providing a complete skeleton.

This is a resend of the previous patches that were almost accepted previously, taking inteo account the few comments that were made during the Summer Camp two weeks ago.

When this is in, I'll rework the rest of the skeleton-systemd series as suggested by Thomas.

Regards,
Yann E. MORIN.

The following changes since commit 97308d8e9ae0f096ec2df8275deb063266583b91

package/ti-gfx: list supported SoCs in Config.in help text (2016-07-16 22:53:55 +0200)

are available in the git repository at:

https://gitlab.com/ymorin/buildroot.git

for you to fetch changes up to c890968b9496cac9613f3ea69282ec4db8fa3de2

system: do not set hostname and issue for custom skeleton (2016-07-17 00:04:42 +0200)

----------------------------------------------------------------
Yann E. MORIN (6):
package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS
system: provide no default for custom skeleton path
system: move the rootfs skeleton choice
system: do not handle network settings for custom skeleton
system: do not set hostname and issue for custom skeleton

 package/busybox/Config.in    |  6 +++-
 package/skeleton/skeleton.mk | 14 +++++++---
 system/Config.in             | 65 +++++++++++++++++++++++---------------------
 toolchain/toolchain.mk       |  4 +--
 4 files changed, 51 insertions(+), 38 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#6 lore raw

PATCH 2/6 toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS

Register toolchain-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS.

---
 toolchain/toolchain.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
toolchain/toolchain.mk +2 -2
index 0a35909..59fc905 100644
@@ -10,7 +10,7 @@ define GLIBC_COPY_NSSWITCH_FILE
 		$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
 	fi
 endef
-TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
+TOOLCHAIN_TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
 endif
 
 # Install the gconv modules
@@ -52,5 +52,5 @@ define COPY_GCONV_LIBS
 			>$(TARGET_DIR)/usr/lib/gconv/gconv-modules; \
 	fi
 endef
-TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
+TOOLCHAIN_TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
 endif
Signature · 1 line
2.7.4
#9 lore raw

PATCH 3/6 system: provide no default for custom skeleton path

In reply to Yann E. MORIN

Being custom means that our default one is not suitable to start with. So there is no reson to offer it as the default path.

Add a check that it is not empty.

Add a separating empty line, for good measure, too.

Cc Romain Naour <[email protected]>
Cc Arnout Vandecappelle <[email protected]>

---
Changes v2 -> v3:
- add a check that it is not empty (Romain, Arnout)

---
 package/skeleton/skeleton.mk | 6 ++++++
 system/Config.in             | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
package/skeleton/skeleton.mk +6 -0
index 7a7c200..d580fcb 100644
@@ -17,6 +17,12 @@ ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
 
 SKELETON_PATH = $(call qstrip,$(BR2_ROOTFS_SKELETON_CUSTOM_PATH))
 
+ifeq ($(BR_BUILDING),y)
+ifeq ($(SKELETON_PATH),)
+$(error No path specified for the custom skeleton)
+endif
+endif
+
 ifeq ($(BR2_ROOTFS_MERGED_USR),y)
 
 # Ensure the user has prepared a merged /usr.
system/Config.in +1 -1
index b895db9..6fce8e1 100644
@@ -184,9 +184,9 @@ config BR2_ROOTFS_SKELETON_CUSTOM
 endchoice
 
 if BR2_ROOTFS_SKELETON_CUSTOM
+
 config BR2_ROOTFS_SKELETON_CUSTOM_PATH
 	string "custom target skeleton path"
-	default "system/skeleton"
 	help
 	  Path to custom target skeleton.
 
Signature · 1 line
2.7.4
#12 lore raw

PATCH 4/6 system: move the rootfs skeleton choice

In reply to Yann E. MORIN

In the following commits, we'll be switching more options to be conditional on the default or custom skeleton.

So, it makes sense that those options come after the choice of a skeleton.

---
 system/Config.in | 56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)
system/Config.in +28 -28
index 6fce8e1..5549318 100644
@@ -1,5 +1,33 @@
 menu "System configuration"
 
+choice
+	prompt "Root FS skeleton"
+
+config BR2_ROOTFS_SKELETON_DEFAULT
+	bool "default target skeleton"
+	help
+	  Use default target skeleton
+
+config BR2_ROOTFS_SKELETON_CUSTOM
+	bool "custom target skeleton"
+	help
+	  Use custom target skeleton.
+
+endchoice
+
+if BR2_ROOTFS_SKELETON_CUSTOM
+
+config BR2_ROOTFS_SKELETON_CUSTOM_PATH
+	string "custom target skeleton path"
+	help
+	  Path to custom target skeleton.
+
+# dummy config so merged /usr workarounds can also be activated for
+# custom rootfs skeleton
+config BR2_ROOTFS_MERGED_USR
+
+endif
+
 config BR2_TARGET_GENERIC_HOSTNAME
 	string "System hostname"
 	default "buildroot"
@@ -168,34 +196,6 @@ config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES
 	help
 	  Support extended attributes handling in device tables
 
-choice
-	prompt "Root FS skeleton"
-
-config BR2_ROOTFS_SKELETON_DEFAULT
-	bool "default target skeleton"
-	help
-	  Use default target skeleton
-
-config BR2_ROOTFS_SKELETON_CUSTOM
-	bool "custom target skeleton"
-	help
-	  Use custom target skeleton.
-
-endchoice
-
-if BR2_ROOTFS_SKELETON_CUSTOM
-
-config BR2_ROOTFS_SKELETON_CUSTOM_PATH
-	string "custom target skeleton path"
-	help
-	  Path to custom target skeleton.
-
-# dummy config so merged /usr workarounds can also be activated for
-# custom rootfs skeleton
-config BR2_ROOTFS_MERGED_USR
-
-endif
-
 if BR2_ROOTFS_SKELETON_DEFAULT
 
 config BR2_ROOTFS_MERGED_USR
Signature · 1 line
2.7.4
#14 lore raw

PATCH 5/6 system: do not handle network settings for custom skeleton

In reply to Yann E. MORIN

We expect the custom skeleton to be fully filled with the necessary files, now. There is definitely no reason we should handle network settings in there. A user using a custom skeleton should be fully responsible for providing a functional skeleton.

---
 package/skeleton/skeleton.mk | 8 ++++----
 system/Config.in             | 5 ++---
 2 files changed, 6 insertions(+), 7 deletions(-)
package/skeleton/skeleton.mk +4 -4
index d580fcb..4349620 100644
@@ -141,6 +141,10 @@ endef
 TARGET_FINALIZE_HOOKS += SKELETON_SET_ISSUE
 endif
 
+# The TARGET_FINALIZE_HOOKS must be sourced only if the users choose to use the
+# default skeleton.
+ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
+
 define SKELETON_SET_NETWORK_LOCALHOST
 	( \
 		echo "# interface file auto-generated by buildroot"; \
@@ -174,10 +178,6 @@ endef
 
 TARGET_FINALIZE_HOOKS += SKELETON_SET_NETWORK
 
-# The TARGET_FINALIZE_HOOKS must be sourced only if the users choose to use the
-# default skeleton.
-ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
-
 ifeq ($(BR2_TARGET_ENABLE_ROOT_LOGIN),y)
 ifeq ($(SKELETON_TARGET_GENERIC_ROOT_PASSWD),)
 SKELETON_ROOT_PASSWORD =
system/Config.in +2 -3
index 5549318..d9a9dfb 100644
@@ -357,9 +357,6 @@ config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
 	  read-only.
 	  If unsure, say Y.
 
-endif # BR2_ROOTFS_SKELETON_DEFAULT
-
-
 config BR2_SYSTEM_DHCP
 	string "Network interface to configure through DHCP"
 	default ""
@@ -379,6 +376,8 @@ comment "automatic network configuration via DHCP is not compatible with network
 comment "automatic network configuration via DHCP needs ifupdown or busybox"
 	depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN)
 
+endif # BR2_ROOTFS_SKELETON_DEFAULT
+
 config BR2_TARGET_TZ_INFO
 	bool "Install timezone info"
 	# No timezone for musl; only for uClibc or glibc.
Signature · 1 line
2.7.4
#15 lore raw

PATCH 6/6 system: do not set hostname and issue for custom skeleton

In reply to Yann E. MORIN

We expect the custom skeleton to be fully filled with the necessary files, now. There is definitely no reason we should handle setting the hostname and the issue file in there. A user using a custom skeleton should be fully responsible for providing a functional skeleton.

---
Note: beside the skeleton, the only other user of the hostname was the perl package, and it was just previously changed not to use it anymore.

---
 package/skeleton/skeleton.mk | 8 ++++----
 system/Config.in             | 4 ++++
 2 files changed, 8 insertions(+), 4 deletions(-)
package/skeleton/skeleton.mk +4 -4
index 4349620..1000161 100644
@@ -113,6 +113,10 @@ define SKELETON_INSTALL_STAGING_CMDS
 	ln -snf lib $(STAGING_DIR)/usr/$(SKELETON_LIB_SYMLINK)
 endef
 
+# The TARGET_FINALIZE_HOOKS must be sourced only if the users choose to use the
+# default skeleton.
+ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
+
 SKELETON_TARGET_GENERIC_HOSTNAME = $(call qstrip,$(BR2_TARGET_GENERIC_HOSTNAME))
 SKELETON_TARGET_GENERIC_ISSUE = $(call qstrip,$(BR2_TARGET_GENERIC_ISSUE))
 SKELETON_TARGET_GENERIC_ROOT_PASSWD = $(call qstrip,$(BR2_TARGET_GENERIC_ROOT_PASSWD))
@@ -141,10 +145,6 @@ endef
 TARGET_FINALIZE_HOOKS += SKELETON_SET_ISSUE
 endif
 
-# The TARGET_FINALIZE_HOOKS must be sourced only if the users choose to use the
-# default skeleton.
-ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
-
 define SKELETON_SET_NETWORK_LOCALHOST
 	( \
 		echo "# interface file auto-generated by buildroot"; \
system/Config.in +4 -0
index d9a9dfb..4c05186 100644
@@ -28,6 +28,8 @@ config BR2_ROOTFS_MERGED_USR
 
 endif
 
+if BR2_ROOTFS_SKELETON_DEFAULT
+
 config BR2_TARGET_GENERIC_HOSTNAME
 	string "System hostname"
 	default "buildroot"
@@ -46,6 +48,8 @@ config BR2_TARGET_GENERIC_ISSUE
 	  Leave empty to not create /etc/issue, or to keep the
 	  one from a custom skeleton.
 
+endif
+
 choice
 	bool "Passwords encoding"
 	default BR2_TARGET_GENERIC_PASSWD_MD5
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/6 package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

In reply to Yann E. MORIN

Hi Yann, All,

Le 17/07/2016 ? 10:44, Yann E. MORIN a ?crit :

Quoted 2 lines

BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is a bit special. When Busybox is enabled, it is a Busybox option. When Busybox is not enabled, it is a

                                                       ^

s/enabled/disabled/

Quoted 10 lines

stand-alone option, forcibly enabled.

So we can safely 'select' it without ensuring (via a 'depends on' or another 'select') that Busybox is enabled.

However, the name of this option does not express the fact that it is safe to select it without checking Busybox, which can lead to a bit of time-consuming head-scratching.

To avoid future puzzlement from an unsuspecting observer, adda a big fat

                                                               ^

add a

Quoted 2 lines

comment that this option can be selected without any dependency on busybox.

^
Busybox

Quoted 35 lines
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Romain Naour <[email protected]>

---
Changes v2 -> v3:
- add the comment (Romain)
- drop the condition select (Romain)

Changes v1 -> v2:
- only select if busybox is enabled (Thomas)

---
Hopefully, this will avoid people to go hunting like I did, and loose a few precious minutes of hair-pulling... ;-]

---
 package/busybox/Config.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
package/busybox/Config.in +2 -0
index 91c5d9e..8f84fc9 100644
@@ -26,6 +26,8 @@ config BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES
 	  A space-separated list of configuration fragment files,
 	  that will be merged to the main BusyBox configuration file.
 
+# This option is not an option of Busybox, it can be selected even
+# if Busybox is not enabled.
 config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	bool "Show packages that are also provided by busybox"
 	help

package/busybox/Config.in endif · line 82

Quoted 7 lines
package/busybox/Config.in +3 -1
@@ -75,7 +77,9 @@ endif
 
 if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else
 
-# add dummy config so the stuff with busybox alternatives are shown
+# This option is not an option of Busybox, it can be selected even
+# if Busybox is not enabled.
+# Add dummy config so the stuff with busybox alternatives are shown
                                        ^

package/busybox/Config.in endif · line 83

Quoted 1 line
package/busybox/Config.in +0 -0
 # when busybox is disabled
          ^

While at it, add a capital letter to Busybox.

With the (very) small typos fixed:

Best regards,
Romain

Quoted 3 lines
package/busybox/Config.in +0 -0
 config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	default y
#7 lore raw

PATCH 2/6 toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS

In reply to Yann E. MORIN

Hi Yann, All,

Le 17/07/2016 ? 10:44, Yann E. MORIN a ?crit :

Quoted 2 lines

Register toolchain-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS.

Best regards,
Romain

Quoted 27 lines
---
 toolchain/toolchain.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
toolchain/toolchain.mk +2 -2
index 0a35909..59fc905 100644
@@ -10,7 +10,7 @@ define GLIBC_COPY_NSSWITCH_FILE
 		$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
 	fi
 endef
-TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
+TOOLCHAIN_TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
 endif
 
 # Install the gconv modules
@@ -52,5 +52,5 @@ define COPY_GCONV_LIBS
 			>$(TARGET_DIR)/usr/lib/gconv/gconv-modules; \
 	fi
 endef
-TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
+TOOLCHAIN_TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS
 endif
#10 lore raw

PATCH 3/6 system: provide no default for custom skeleton path

In reply to Yann E. MORIN

Hi Yann, All,

Le 17/07/2016 ? 10:44, Yann E. MORIN a ?crit :

Quoted 2 lines

Being custom means that our default one is not suitable to start with. So there is no reson to offer it as the default path.

                 ^

reason

Quoted 4 lines

Add a check that it is not empty.

Add a separating empty line, for good measure, too.

Best regards,
Romain

Quoted 46 lines
Cc Romain Naour <[email protected]>
Cc Arnout Vandecappelle <[email protected]>

---
Changes v2 -> v3:
- add a check that it is not empty (Romain, Arnout)

---
 package/skeleton/skeleton.mk | 6 ++++++
 system/Config.in             | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)
package/skeleton/skeleton.mk +6 -0
index 7a7c200..d580fcb 100644
@@ -17,6 +17,12 @@ ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
 
 SKELETON_PATH = $(call qstrip,$(BR2_ROOTFS_SKELETON_CUSTOM_PATH))
 
+ifeq ($(BR_BUILDING),y)
+ifeq ($(SKELETON_PATH),)
+$(error No path specified for the custom skeleton)
+endif
+endif
+
 ifeq ($(BR2_ROOTFS_MERGED_USR),y)
 
 # Ensure the user has prepared a merged /usr.
system/Config.in +1 -1
index b895db9..6fce8e1 100644
@@ -184,9 +184,9 @@ config BR2_ROOTFS_SKELETON_CUSTOM
 endchoice
 
 if BR2_ROOTFS_SKELETON_CUSTOM
+
 config BR2_ROOTFS_SKELETON_CUSTOM_PATH
 	string "custom target skeleton path"
-	default "system/skeleton"
 	help
 	  Path to custom target skeleton.
 
#3 lore raw

PATCH 1/6 package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

In reply to Romain Naour

Hello,

Quoted 7 lines · Romain Naour

Hi Yann, All,

Le 17/07/2016 ? 10:44, Yann E. MORIN a ?crit :

Quoted 2 lines

BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is a bit special. When Busybox is enabled, it is a Busybox option. When Busybox is not enabled, it is a

                                                       ^

s/enabled/disabled/

Why?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw

PATCH 1/6 package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

In reply to Yann E. MORIN

Hello,

Quoted 11 lines · Yann E. MORIN

BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is a bit special. When Busybox is enabled, it is a Busybox option. When Busybox is not enabled, it is a stand-alone option, forcibly enabled.

So we can safely 'select' it without ensuring (via a 'depends on' or another 'select') that Busybox is enabled.

However, the name of this option does not express the fact that it is safe to select it without checking Busybox, which can lead to a bit of time-consuming head-scratching.

Quoted 8 lines

To avoid future puzzlement from an unsuspecting observer, adda a big fat comment that this option can be selected without any dependency on busybox.

Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Romain Naour <[email protected]>

I've applied, after taking Romain's comment into account (except the first one), and after tweaking a bit the last comment in the Config.in file.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw

PATCH 2/6 toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS

In reply to Yann E. MORIN

Hello,

Quoted 7 lines · Yann E. MORIN

Register toolchain-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS.

---
 toolchain/toolchain.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#11 lore raw

PATCH 3/6 system: provide no default for custom skeleton path

In reply to Yann E. MORIN

Hello,

Quoted 11 lines · Yann E. MORIN

Being custom means that our default one is not suitable to start with. So there is no reson to offer it as the default path.

Add a check that it is not empty.

Add a separating empty line, for good measure, too.

Cc Romain Naour <[email protected]>
Cc Arnout Vandecappelle <[email protected]>
Quoted 7 lines

---
Changes v2 -> v3:
- add a check that it is not empty (Romain, Arnout)

---
 package/skeleton/skeleton.mk | 6 ++++++
 system/Config.in             | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

Applied to master after fixing the typo noticed by Romain.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#13 lore raw

PATCH 4/6 system: move the rootfs skeleton choice

In reply to Yann E. MORIN

Hello,

Quoted 11 lines · Yann E. MORIN

In the following commits, we'll be switching more options to be conditional on the default or custom skeleton.

So, it makes sense that those options come after the choice of a skeleton.

---
 system/Config.in | 56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

Patches 4 to 6 applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH 1/6 package/busybox: add comment about BR2_PACKAGE_BUSYBOX_SHOW_OTHERS

In reply to Thomas Petazzoni

Le 18/07/2016 ? 23:29, Thomas Petazzoni a ?crit :

Quoted 5 lines

Hello,

Quoted 2 lines · Romain Naour

Hi Yann, All,

Quoted 7 lines
Quoted 5 lines

Le 17/07/2016 ? 10:44, Yann E. MORIN a ?crit :

Quoted 2 lines

BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is a bit special. When Busybox is enabled, it is a Busybox option. When Busybox is not enabled, it is a

                                                       ^

s/enabled/disabled/

Why?

Humm, I missed the "not" while reading... :-/

Romain

Quoted 3 lines

Thomas