* [PATCH 1/4] base-utils:flexible dependency for command utilities
2015-11-17 22:13 [PATCH 0/4] Replace busybox for variable Alejandro Joya
@ 2015-11-17 22:13 ` Alejandro Joya
2015-11-17 22:13 ` [PATCH 2/4] core-image-minimal-initramfs: replace base-utils Alejandro Joya
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Alejandro Joya @ 2015-11-17 22:13 UTC (permalink / raw)
To: openembedded-core
add base-line configuration for command utilities, this will be used instead
of hardcoded uses of busybox around the environment.
Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
---
meta/conf/distro/include/default-providers.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 9f84d5c..bb382bd 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -13,6 +13,7 @@ PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-utils"
PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-utils-native"
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11"
+PREFERRED_PROVIDER_virtual/base-utils ?= "busybox"
PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel"
#
@@ -23,6 +24,8 @@ VIRTUAL-RUNTIME_apm ?= "apm"
VIRTUAL-RUNTIME_alsa-state ?= "alsa-state"
VIRTUAL-RUNTIME_getopt ?= "util-linux-getopt"
VIRTUAL-RUNTIME_wireless-tools ?= "iw wireless-tools"
+VIRTUAL-RUNTIME_base-utils ?= "busybox"
+VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock"
#
# Default recipe providers
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 2/4] core-image-minimal-initramfs: replace base-utils
2015-11-17 22:13 [PATCH 0/4] Replace busybox for variable Alejandro Joya
2015-11-17 22:13 ` [PATCH 1/4] base-utils:flexible dependency for command utilities Alejandro Joya
@ 2015-11-17 22:13 ` Alejandro Joya
2015-11-17 22:13 ` [PATCH 3/4] initramfs-framework_1.0:replace busybox for variable Alejandro Joya
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Alejandro Joya @ 2015-11-17 22:13 UTC (permalink / raw)
To: openembedded-core
It replaces the use of busybox as hardcoded dependency to more dynamic
this wouldn't affect the way that the system is build only it let a more
flexible replacement in the core.
Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
---
meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb
index 1f0fa95..a26286e 100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Small image capable of booting a device. The kernel includes \
the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \
first 'init' program more efficiently."
-PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install initramfs-live-install-efi busybox udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
+PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install initramfs-live-install-efi ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
# Do not pollute the initrd image with rootfs features
IMAGE_FEATURES = ""
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 3/4] initramfs-framework_1.0:replace busybox for variable.
2015-11-17 22:13 [PATCH 0/4] Replace busybox for variable Alejandro Joya
2015-11-17 22:13 ` [PATCH 1/4] base-utils:flexible dependency for command utilities Alejandro Joya
2015-11-17 22:13 ` [PATCH 2/4] core-image-minimal-initramfs: replace base-utils Alejandro Joya
@ 2015-11-17 22:13 ` Alejandro Joya
2015-11-17 22:13 ` [PATCH 4/4] packagegroup-core-boot:replace busybox to variable Alejandro Joya
2015-11-26 18:34 ` [PATCH 0/4] Replace busybox for variable Joya Cruz, Alejandro
4 siblings, 0 replies; 8+ messages in thread
From: Alejandro Joya @ 2015-11-17 22:13 UTC (permalink / raw)
To: openembedded-core
It replaces the use of busybox as hardcoded dependency to more dynamic
this wouldn't affect the way that the initrams is build, just it let a more
flexible replacement in the core.
Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
---
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
index 6c37b9a..0664a95 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
@@ -1,7 +1,7 @@
SUMMARY = "Modular initramfs system"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-RDEPENDS_${PN} += "busybox"
+RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_base-utils}"
PR = "r2"
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 4/4] packagegroup-core-boot:replace busybox to variable
2015-11-17 22:13 [PATCH 0/4] Replace busybox for variable Alejandro Joya
` (2 preceding siblings ...)
2015-11-17 22:13 ` [PATCH 3/4] initramfs-framework_1.0:replace busybox for variable Alejandro Joya
@ 2015-11-17 22:13 ` Alejandro Joya
2015-11-26 18:34 ` [PATCH 0/4] Replace busybox for variable Joya Cruz, Alejandro
4 siblings, 0 replies; 8+ messages in thread
From: Alejandro Joya @ 2015-11-17 22:13 UTC (permalink / raw)
To: openembedded-core
It replaces the use of busybox as hardcoded dependency to more dynamic
this wouldn't affect the way that the system is build only it let a more
flexible replacement in the core.
Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com>
---
meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index 09f5373..bac93b8 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -24,7 +24,7 @@ VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
-SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwclock', '', d)} \
+SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
modutils-initscripts \
init-ifupdown \
${VIRTUAL-RUNTIME_initscripts} \
@@ -33,7 +33,7 @@ SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', 'busybox-hwc
RDEPENDS_${PN} = "\
base-files \
base-passwd \
- busybox \
+ ${VIRTUAL-RUNTIME_base-utils} \
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
netbase \
--
2.1.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 0/4] Replace busybox for variable.
2015-11-17 22:13 [PATCH 0/4] Replace busybox for variable Alejandro Joya
` (3 preceding siblings ...)
2015-11-17 22:13 ` [PATCH 4/4] packagegroup-core-boot:replace busybox to variable Alejandro Joya
@ 2015-11-26 18:34 ` Joya Cruz, Alejandro
2015-12-01 20:27 ` Joya Cruz, Alejandro
4 siblings, 1 reply; 8+ messages in thread
From: Joya Cruz, Alejandro @ 2015-11-26 18:34 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
Any feedback about this?
On mar, 2015-11-17 at 16:13 -0600, Alejandro Joya wrote:
> These recipes have a hardcoded dependency to busybox,
> in order to be able to have a flexible selection,
> instead of the hardcoded dependency, now it is point to virtual reference
> base-utils.
>
> The following changes since commit 6f98c39418c60b7c0b25b30983d2e5257158a6a4:
>
> gcc: Drop 4.8 (2015-11-16 14:59:07 +0000)
>
> are available in the git repository at:
>
> git://github.com/Ajoyacr/openembedded-core base-utils
> https://github.com/Ajoyacr/openembedded-core/tree/base-utils
>
> Alejandro Joya (4):
> base-utils:flexible dependency for command utilities
> core-image-minimal-initramfs: replace base-utils
> initramfs-framework_1.0:replace busybox for variable.
> packagegroup-core-boot:replace busybox to variable
>
> meta/conf/distro/include/default-providers.inc | 3 +++
> meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +-
> meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 2 +-
> meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 4 ++--
> 4 files changed, 7 insertions(+), 4 deletions(-)
>
> --
> 2.1.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 0/4] Replace busybox for variable.
2015-11-26 18:34 ` [PATCH 0/4] Replace busybox for variable Joya Cruz, Alejandro
@ 2015-12-01 20:27 ` Joya Cruz, Alejandro
2015-12-15 20:48 ` Joya Cruz, Alejandro
0 siblings, 1 reply; 8+ messages in thread
From: Joya Cruz, Alejandro @ 2015-12-01 20:27 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
ping
On jue, 2015-11-26 at 18:34 +0000, Joya Cruz, Alejandro wrote:
> Any feedback about this?
>
> On mar, 2015-11-17 at 16:13 -0600, Alejandro Joya wrote:
> > These recipes have a hardcoded dependency to busybox,
> > in order to be able to have a flexible selection,
> > instead of the hardcoded dependency, now it is point to virtual reference
> > base-utils.
> >
> > The following changes since commit 6f98c39418c60b7c0b25b30983d2e5257158a6a4:
> >
> > gcc: Drop 4.8 (2015-11-16 14:59:07 +0000)
> >
> > are available in the git repository at:
> >
> > git://github.com/Ajoyacr/openembedded-core base-utils
> > https://github.com/Ajoyacr/openembedded-core/tree/base-utils
> >
> > Alejandro Joya (4):
> > base-utils:flexible dependency for command utilities
> > core-image-minimal-initramfs: replace base-utils
> > initramfs-framework_1.0:replace busybox for variable.
> > packagegroup-core-boot:replace busybox to variable
> >
> > meta/conf/distro/include/default-providers.inc | 3 +++
> > meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +-
> > meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 2 +-
> > meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 4 ++--
> > 4 files changed, 7 insertions(+), 4 deletions(-)
> >
> > --
> > 2.1.0
> >
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/4] Replace busybox for variable.
2015-12-01 20:27 ` Joya Cruz, Alejandro
@ 2015-12-15 20:48 ` Joya Cruz, Alejandro
0 siblings, 0 replies; 8+ messages in thread
From: Joya Cruz, Alejandro @ 2015-12-15 20:48 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
Ping
AJ
On mar, 2015-12-01 at 20:27 +0000, Joya Cruz, Alejandro wrote:
> ping
> On jue, 2015-11-26 at 18:34 +0000, Joya Cruz, Alejandro wrote:
> > Any feedback about this?
> >
> > On mar, 2015-11-17 at 16:13 -0600, Alejandro Joya wrote:
> > > These recipes have a hardcoded dependency to busybox,
> > > in order to be able to have a flexible selection,
> > > instead of the hardcoded dependency, now it is point to virtual reference
> > > base-utils.
> > >
> > > The following changes since commit 6f98c39418c60b7c0b25b30983d2e5257158a6a4:
> > >
> > > gcc: Drop 4.8 (2015-11-16 14:59:07 +0000)
> > >
> > > are available in the git repository at:
> > >
> > > git://github.com/Ajoyacr/openembedded-core base-utils
> > > https://github.com/Ajoyacr/openembedded-core/tree/base-utils
> > >
> > > Alejandro Joya (4):
> > > base-utils:flexible dependency for command utilities
> > > core-image-minimal-initramfs: replace base-utils
> > > initramfs-framework_1.0:replace busybox for variable.
> > > packagegroup-core-boot:replace busybox to variable
> > >
> > > meta/conf/distro/include/default-providers.inc | 3 +++
> > > meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +-
> > > meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 2 +-
> > > meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 4 ++--
> > > 4 files changed, 7 insertions(+), 4 deletions(-)
> > >
> > > --
> > > 2.1.0
> > >
> >
>
^ permalink raw reply [flat|nested] 8+ messages in thread