To match with the target image, the generated nativesdk's target sysroot also
should have the root symlinks(/lib*, /bin/, /sbin). So, extended the
'create_merged_usr_symlinks' to reuse symlink creation part even for nativesdk
using POPULATE_SDK_PRE_TARGET_COMMAND.
Signed-off-by: A
To match with the target image, the generated nativesdk's target sysroot also
should have the root symlinks(/lib*, /bin/, /sbin). So, extended the
'create_merged_usr_symlinks' to reuse symlink creation part even for nativesdk
using POPULATE_SDK_PRE_TARGET_COMMAND.
Signed-off-by: A
A new configuration variable ${root_prefix} added, which shall be used by all
base_{lib,bin,sbin}dir variables. When usrmerge DISTRO_FEATURE is enabled
${root_prefix} points to ${exec_prefix} otherwise to ${base_prefix}
Signed-off-by: Amarnath Valluri
---
meta/conf/bitbake.conf | 10
e' distro feature enabled this path would be
'/usr/lib'.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd_232.bb
b/meta/recipes-core/syste
This check makes sure that, when usrmerge distro feature enabled, no package
installs files to root (/bin, /sbin, /lib, /lib64) folders.
Signed-off-by: Amarnath Valluri
---
meta/classes/insane.bbclass | 16
1 file changed, 16 insertions(+)
diff --git a/meta/classes
cripts uses "#!/bin/sh"
Signed-off-by: Amarnath Valluri
---
meta/classes/image.bbclass | 21 +
1 file changed, 21 insertions(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 85f6b9a..2a3c1e3 100644
--- a/meta/classes/image.bbclass
+++ b/meta
To match with the target image, the generated nativesdk's target sysroot also
should have the root symlinks(/lib*, /bin/, /sbin). So, extended the
'create_merged_usr_symlinks' to reuse symlink creation part even for nativesdk
using POPULATE_SDK_PRE_TARGET_COMMAND.
Signed-off-by: A
Added a new POPULATE_SDK_PRE_TARTET_COMMAND variable, which can contain
functions need to be executed at pre traget sysroot creation phase.
classes/populate_sdk_base.bbclass: Added POPULATE_SDK_PRE_TARTET_COMMAND to sdk
command variables list.
Signed-off-by: Amarnath Valluri
---
meta/classes
Use ${root_prefix} instead of ${base_prefix} while setting
${target_base_prefix}, otherwise we might loose the root prefix configuration
change in case of 'usrmerge' distro feature is enabled.
Signed-off-by: Amarnath Valluri
---
meta/classes/cross.bbclass | 2 +-
1 file changed, 1
A new configuration variable ${root_prefix} added, which shall be used by all
base_{lib,bin,sbin}dir variables. When usrmerge DISTRO_FEATURE is enabled
${root_prefix} points to ${exec_prefix} otherwise to ${base_prefix}
Signed-off-by: Amarnath Valluri
---
meta/conf/bitbake.conf | 10
Changes in v4:
- root symlinks creation for nativesdk images.
- added PACKAGECONFIG option for 'usrmerge' in systemd
Amarnath Valluri (7):
bitbake.conf: support for merged usr with DISTRO_FEATURE usrmerge
cross.bbclass: merged /usr support
systemd: changes to support m
On Tue, 2017-06-13 at 14:16 +, Peter Kjellerstedt wrote:
> > -Original Message-
> > From: openembedded-core-boun...@lists.openembedded.org
> > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of
> > Amarnath Valluri
> > Sent:
Use ${root_prefix} instead of ${base_prefix} while setting
${target_base_prefix}, otherwise we might loose the root prefix configuration
change in case of 'usrmerge' distro feature is enabled.
Signed-off-by: Amarnath Valluri
---
meta/classes/cross.bbclass | 2 +-
1 file changed, 1
e' distro feature enabled this path would be
'/usr/lib'.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd_232.bb
b/meta/recipes-core/syste
cripts uses "#!/bin/sh"
Signed-off-by: Amarnath Valluri
---
meta/classes/image.bbclass | 21 +
1 file changed, 21 insertions(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 85f6b9a..2a3c1e3 100644
--- a/meta/classes/image.bbclass
+++ b/meta
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes
cripts uses "#!/bin/sh"
Signed-off-by: Amarnath Valluri
---
meta/classes/image.bbclass | 23 +++
1 file changed, 23 insertions(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 85f6b9a..f08e3e1 100644
--- a/meta/classes/image.bbclass
+++ b/meta
This check makes sure that, when usrmerge distro feature enabled, no package
installs files to root (/bin, /sbin, /lib, /lib64) folders.
Signed-off-by: Amarnath Valluri
---
meta/classes/insane.bbclass | 16
1 file changed, 16 insertions(+)
diff --git a/meta/classes
e' distro feature enabled this path would be
'/usr/lib'.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd_232.bb
b/meta/recipes-core/syste
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when
'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}.
so to satisify build dependency add '/bin/{sh,bash}' to its providers list.
Signed-off-by: Amarnath Valluri
---
meta/
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/busybox/b
will be altered based on 'usrmerge' distro feature.
- Made use of ${root_prefix} in place of ${base_preix} both in systemd
recipe and cross.bbclass
- Dropped patch that is touching nativesdk configuration.
Amarnath Valluri (8):
bitbake.conf: support for merged usr with DI
A new configuration variable ${root_prefix} added, which shall be used by all
base_{lib,bin,sbin}dir variables. When usrmerge DISTRO_FEATURE is enabled
${root_prefix} points to ${exec_prefix} otherwise to ${base_prefix}
Signed-off-by: Amarnath Valluri
---
meta/conf/bitbake.conf | 10
To be align with base configuration change, use ${root_prefix} while preparing
${target_base_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/classes/cross.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
While preparing target_libdir and target_base_libdir we should preserve the
bitbake configuration used for 'base_libdir' and 'libdir' instead of assuming
${base|exec}_prefix/${baselib}, which is not true in case of merged '/usr'.
Signed-off-by: Amarnath Valluri
-
Replace hardcoded '/lib' in kernel firmware installation path with
${nonarch_base_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-kernel/linu
Using of bitbake environment variables in-place of hardcoded strings makes this
recipe portable to all environments.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/lsb/lsb_4.1.bb | 40 +---
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git
Use appropriate bitbake variable inplace of hardcoded sbin path in Makefile
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/mdadm/mdadm_4.0.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-extended/mdadm/mdadm_4.0.bb
b/meta/recipes-extended/mdadm
Replace hardcoded '/lib' in kernel firmware installation path with
${nonarch_base_libdir}.
Signed-off-by: Amarnath Valluri
---
.../linux-firmware/linux-firmware_git.bb | 168 ++---
1 file changed, 84 insertions(+), 84 deletions(-)
diff --git a/meta/reci
Replace hardcoded '/lib' in kernel firmware installation path with
${nonarch_base_libdir}.
Signed-off-by: Amarnath Valluri
---
.../linux-firmware/linux-firmware_git.bb | 168 ++---
1 file changed, 84 insertions(+), 84 deletions(-)
diff --git a/meta/reci
Use appropriate bitbake variables inplace of below hardcoded locations:
/sbin -> ${base_sbindir}
/lib/udev -> ${nonarch_base_libdir}/udev
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/mdadm/mdadm_4.0.bb | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff -
Move binary(ies) only when ${base_bindir} != ${bindir}.
When usrmerge distro feature is enabled they both might point to same location.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/mktemp/mktemp_1.7.bb | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a
This check makes sure that, when usrmerge distro feature enabled, no package
installs files to root (/bin, /sbin, /lib, /lib64) folders.
Signed-off-by: Amarnath Valluri
---
meta/classes/insane.bbclass | 16
1 file changed, 16 insertions(+)
diff --git a/meta/classes
cripts uses "#!/bin/sh"
Signed-off-by: Amarnath Valluri
---
meta/classes/image.bbclass | 23 +++
1 file changed, 23 insertions(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 127e62d..4a9b40e 100644
--- a/meta/classes/image.bbclass
+++ b/meta
Do not assume '/lib' for kernel modules location, instead use
${nonarch_base_libdir}. Because when 'usrmerge' distro feature is enabled,
kernel modules are not located in /lib/modules, instead /usr/lib/modules.
Signed-off-by: Amarnath Valluri
---
meta/recipes-kernel/lttng/lt
These set of patches backported from upstream, which fixes the issues in
extracting hardlinks over softlinks while etracting packages by opkg.
Signed-off-by: Amarnath Valluri
---
...te_disk_posix.c-make-_fsobj-functions-mor.patch | 245 +
...02-Fix-extracting-hardlinks-over
-tools recipe is using pre-generated config.{h/status}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 11 +++
1 file changed, 11 insertions(+)
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
b/meta/recipes-extended/net-tools/net
Using of bitbake environment variables in-place of hardcoded strings makes this
recipe portable to all environments.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/lsb/lsb_4.1.bb | 40 +---
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git
Replace hardcoded '/lib' in kernel modules installation path with
${nonarch_base_libdir}, which is meant exactly for this.
Signed-off-by: Amarnath Valluri
---
meta/classes/kernel-module-split.bbclass | 2 +-
meta/classes/kernel.bbclass | 14 +++---
me
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir}
and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is
enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative
system to resolve the conflict.
Sig
Stop creating the static library archieve(liba(ttr|cl).a) when --disable-static
configure option used.
Signed-off-by: Amarnath Valluri
---
meta/recipes-support/attr/ea-acl.inc | 2 +
...gure-option-to-enable-disable-static-libr.patch | 70 ++
2 files changed
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/busybox/b
From: Jussi Kukkonen
Make sure fsck.cramfs is packaged before fsck so the latter
does not steal the fsck.cramfs binary when building with usrmerge
DISTRO_FEATURE.
Signed-off-by: Jussi Kukkonen
---
meta/recipes-core/util-linux/util-linux.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deleti
Make use of lnr/ln -r while creating relative symlinks than guessing the
relalive path.
Signed-off-by: Amarnath Valluri
---
...dynamic-linker-a-relative-symlink-to-libc.patch | 62 ++
meta/recipes-core/musl/musl_git.bb | 2 +-
2 files changed, 53 insertions
update-alternative.bbclass might rename the 'reset' binary when LINK_NAME ==
TARGET, This is true(${base_bindir} == ${bindir}) when 'usrmerge' distro feature
is enabled. Hence, suffix with * to properly package the renamed binary.
Signed-off-by: Amarnath Valluri
util-lin
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes
libnss_* files should be part of corresponding sub-packages, the split happens
by do_package_split(). By adding ${libdir}/libnss_* to FILES_${PN}, those files
endup in systemd package when ${libdir} == ${base_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb
From: Jussi Kukkonen
If "usrmerge" feature is used, /usr/sbin/ldconfig gets packaged into
glibc-utils instead of glibc: Switch PACKAGES order to prevent this.
Signed-off-by: Jussi Kukkonen
---
meta/recipes-core/glibc/glibc-package.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
When the usrmerge DISTRO_FEATURE is selected disable the split-usr
support and modify rootprefix to be exec_prefix, rather than base_prefix.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when
'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}.
so to satisify build dependency add '/bin/{sh,bash}' to its providers list.
Signed-off-by: Amarnath Valluri
---
meta/
When 'usrmerge' distro feature enabled match target_base_libdir to
${target_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/classes/cross.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 260215
/bin, /sbin, /lib are replaced with ${base_bindir}, ${base_sbindir} and
${base_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/base-files/base-files_3.0.14.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/base-files/base-files_3.0.14
Modify base bin, sbin, and lib nativesdk variables to be ${prefix_nativesdk}/$d,
when the usrmerge DISTRO_FEATURE is enabled.
Signed-off-by: Amarnath Valluri
---
meta/conf/bitbake.conf | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf
usrmerge feature.
- Fixed typos in commit messages.
Amarnath Valluri (22):
bitbake.conf: Modify nativesdk variables to support 'usrmerge'
DISTRO_FEATURE
cross.bbclass: merged /usr support
base-files: Replace hardcoded root paths with appropriate bitbake
variables
systemd: chag
From: Joshua Lock
Modify bindir, libdir and sbindir to be exec_prefix/$d, rather than
base_prefix/$d, when the usrmerge DISTRO_FEATURE is enabled.
Signed-off-by: Joshua Lock
---
meta/conf/bitbake.conf | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/meta/conf/bi
This check makes sure that, when usrmerge distro feature enabled, no package
installs files to root (/bin, /sbin, /lib, /lib64) folders.
Signed-off-by: Amarnath Valluri
---
meta/classes/insane.bbclass | 16
1 file changed, 16 insertions(+)
diff --git a/meta/classes
Move binary(ies) only when ${base_bindir} != ${bindir}.
When usrmerge distro feature is enabled they both might point to same location.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/mktemp/mktemp_1.7.bb | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a
Using of bitbake environment variables in-place of hardcoded strings makes this
recipe portable to all environments.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/lsb/lsb_4.1.bb | 40 +---
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git
Do not assume '/lib' for kernel modules location, instead use
${nonarch_base_libdir}. Because when 'usrmerge' distro feature is enabled,
kernel modules are not located in /lib/modules, instead /usr/lib/modules.
Signed-off-by: Amarnath Valluri
---
meta/recipes-kernel/lttng/lt
-tools recipe is using pre-generated config.{h/status}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 11 +++
1 file changed, 11 insertions(+)
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
b/meta/recipes-extended/net-tools/net
cripts uses "#!/bin/sh"
Signed-off-by: Amarnath Valluri
---
meta/classes/image.bbclass | 23 +++
1 file changed, 23 insertions(+)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 127e62d..4a9b40e 100644
--- a/meta/classes/image.bbclass
+++ b/meta
Replace hardcoded '/lib' in kernel firmware installation path with
${nonarch_base_libdir}.
Signed-off-by: Amarnath Valluri
---
.../linux-firmware/linux-firmware_git.bb | 168 ++---
1 file changed, 84 insertions(+), 84 deletions(-)
diff --git a/meta/reci
Use appropriate bitbake variables inplace of below hardcoded locations:
/sbin -> ${base_sbindir}
/lib/udev -> ${nonarch_base_libdir}/udev
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/mdadm/mdadm_4.0.bb | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff -
Replace hardcoded '/lib' in kernel modules installation path with
${nonarch_base_libdir}, which is meant exactly for this.
Signed-off-by: Amarnath Valluri
---
meta/classes/kernel-module-split.bbclass | 2 +-
meta/classes/kernel.bbclass | 14 +++---
me
update-alternative.bbclass might rename the 'reset' binary when LINK_NAME ==
TARGET, This is true(${base_bindir} == ${bindir}) when 'usrmerge' distro feature
is enabled. Hence, suffix with * to properly package the renamed binary.
Signed-off-by: Amarnath Valluri
util-lin
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir}
and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is
enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative
system to resolve the conflict.
Sig
From: Jussi Kukkonen
Make sure fsck.cramfs is packaged before fsck so the latter
does not steal the fsck.cramfs binary when building with usrmerge
DISTRO_FEATURE.
Signed-off-by: Jussi Kukkonen
---
meta/recipes-core/util-linux/util-linux.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deleti
libnss_* files should be part of corresponding sub-packages, the split happens
by do_package_split(). By adding ${libdir}/libnss_* to FILES_${PN}, those files
endup in systemd package when ${libdir} == ${base_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb
These set of patches backported from upstream, which fixes the issues in
extracting hardlinks over softlinks while etracting packages by opkg.
Signed-off-by: Amarnath Valluri
---
...te_disk_posix.c-make-_fsobj-functions-mor.patch | 245 +
...02-Fix-extracting-hardlinks-over
Stop creating the static library archieve(liba(ttr|cl).a) when --disable-static
configure option used.
Signed-off-by: Amarnath Valluri
---
meta/recipes-support/attr/ea-acl.inc | 2 +
...gure-option-to-enable-disable-static-libr.patch | 70 ++
2 files changed
From: Jussi Kukkonen
If "usrmerge" feature is used, /usr/sbin/ldconfig gets packaged into
glibc-utils instead of glibc: Switch PACKAGES order to prevent this.
Signed-off-by: Jussi Kukkonen
---
meta/recipes-core/glibc/glibc-package.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Make use of lnr/ln -r while creating relative symlinks than guessing the
relalive path.
Signed-off-by: Amarnath Valluri
---
...dynamic-linker-a-relative-symlink-to-libc.patch | 62 ++
meta/recipes-core/musl/musl_git.bb | 2 +-
2 files changed, 53 insertions
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/busybox/b
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when
'usrmege' feature is enabled this path will be /usr/bin/{sh, bash}.
so to satisify build dependency add '/bin/{sh,bash}' to its providers list.
Signed-off-by: Amarnath Valluri
---
meta/
When the usrmerge DISTRO_FEATURE is selected disable the split-usr
support and modify rootprefix to be exec_prefix, rather than base_prefix.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a
/bin, /sbin, /lib are replaced with ${base_bindir}, ${base_sbindir} and
${base_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/base-files/base-files_3.0.14.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/base-files/base-files_3.0.14
Modify base bin, sbin, and lib nativesdk variables to be ${prefix_nativesdk}/$d,
when the usrmerge DISTRO_FEATURE is enabled.
Signed-off-by: Amarnath Valluri
---
meta/conf/bitbake.conf | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf
When 'usrmerge' distro feature enabled match target_base_libdir to
${target_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/classes/cross.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 260215
From: Joshua Lock
Modify bindir, libdir and sbindir to be exec_prefix/$d, rather than
base_prefix/$d, when the usrmerge DISTRO_FEATURE is enabled.
Signed-off-by: Joshua Lock
---
meta/conf/bitbake.conf | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/meta/conf/bi
These set of patches backported from upstream, which fixes the issues in
extracting hardlinks over softlinks while etracting packages by opkg.
Signed-off-by: Amarnath Valluri
---
...te_disk_posix.c-make-_fsobj-functions-mor.patch | 245 +
...02-Fix-extracting-hardlinks-over
Using of bitbake environment variables in-place of hardcoded strings makes this
recipe portable to all environments.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/lsb/lsb_4.1.bb | 40 +---
1 file changed, 19 insertions(+), 21 deletions(-)
diff --git
-tools recipe is using pre-generated config.{h/status}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/net-tools/net-tools_1.60-26.bb | 11 +++
1 file changed, 11 insertions(+)
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-26.bb
b/meta/recipes-extended/net-tools/net
Move binary(ies) only when ${base_bindir} != ${bindir}.
When usrmerge distro feature is enabled they both might point to same location.
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/mktemp/mktemp_1.7.bb | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a
Replace hardcoded '/lib' in kernel firmware installation path with
${nonarch_base_libdir}.
Signed-off-by: Amarnath Valluri
---
.../linux-firmware/linux-firmware_git.bb | 168 ++---
1 file changed, 84 insertions(+), 84 deletions(-)
diff --git a/meta/reci
Use appropriate bitbake variables inplace of below hardcoded locations:
/sbin -> ${base_sbindir}
/lib/udev -> ${nonarch_base_libdir}/udev
Signed-off-by: Amarnath Valluri
---
meta/recipes-extended/mdadm/mdadm_4.0.bb | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff -
These set of patches backported from upstream, which fixes the issues in
extracting hardlinks over softlinks while etracting packages by opkg.
Signed-off-by: Amarnath Valluri
---
...te_disk_posix.c-make-_fsobj-functions-mor.patch | 242 +
...02-Fix-extracting-hardlinks-over
Replace hardcoded '/lib' in kernel modules installation path with
${nonarch_base_libdir}, which is ment exactly for this.
Signed-off-by: Amarnath Valluri
---
meta/classes/kernel-module-split.bbclass | 2 +-
meta/classes/kernel.bbclass | 14 +++---
me
Both shadow and util-linux packages provides 'nologin' binary in ${base_sbindir}
and ${sbindir} respectively, this leads to conflict when 'usrmerge' feature is
enabled, where ${sbindir} == ${base_sbindir}. Hance, handle this to alternative
system to resolve the conflict.
Sig
27; alternative available only for target.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/util-linux/util-linux.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/util-linux/util-linux.inc
b/meta/recipes-core/util-linux/util-linux.inc
index ae60
Stop creating the static library archieve(liba(ttr|cl).a) when --disable-static
configure option used.
Signed-off-by: Amarnath Valluri
---
meta/recipes-support/attr/ea-acl.inc | 2 +
...gure-option-to-enable-disable-static-libr.patch | 70 ++
2 files changed
libnss_* files should be part of corresponding sub-packages, the split happens
by do_package_split(). By adding ${libdir}/libnss_* to FILES_${PN}, those files
endup in systemd package when ${libdir} == ${base_libdir}.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/systemd/systemd_232.bb
From: Jussi Kukkonen
Make sure fsck.cramfs is packaged before fsck so the latter
does not steal the fsck.cramfs binary when building with usrmerge
DISTRO_FEATURE.
Signed-off-by: Jussi Kukkonen
---
meta/recipes-core/util-linux/util-linux.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deleti
Make use of lnr/ln -r while creating relative symlinks than guessing the
relalive path.
Signed-off-by: Amarnath Valluri
---
...dynamic-linker-a-relative-symlink-to-libc.patch | 58 ++
meta/recipes-core/musl/musl_git.bb | 2 +-
2 files changed, 49 insertions
Unlike rpm, debian packaging does not allow file paths in 'Provides:' field.
When 'usrmerge' distro feature enabled bash/busybox packages adds '/bin/sh' to
it's RPROVIDES to satisfy build dependencies, this entry should be filtered out.
Signed-off-by:
From: Jussi Kukkonen
If "usrmerge" feature is used, /usr/sbin/ldconfig gets packaged into
glibc-utils instead of glibc: Switch PACKAGES order to prevent this.
Signed-off-by: Jussi Kukkonen
---
meta/recipes-core/glibc/glibc-package.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' to it's providers list.
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/busybox/b
From: Joshua Lock
When the usrmerge DISTRO_FEATURE is enabled don't create /bin, /lib{32,64}
and /sbin. Instead, link them to the equivalent directories in /usr
Signed-off-by: Joshua Lock
Signed-off-by: Amarnath Valluri
---
meta/recipes-core/base-files/base-files_3.0.14.bb
Most of shell scripts refer to '#!/bin/{sh,bash}' inside the script. But when
'usrmege' feature is enbaled this path will be /usr/bin/{sh, bash}.
so to satisify build dependency add '/bin/{sh,bash}' to its providers list.
Signed-off-by: Amarnath Valluri
---
meta/
1 - 100 of 123 matches
Mail list logo