Re: [OE-core] [PATCH] Revert "kernel: Fix symlinks"

2017-08-22 Thread David Vincent
On vendredi 18 août 2017 14:44:30 CEST Otavio Salvador wrote: > On Wed, Aug 16, 2017 at 3:15 PM, Otavio Salvador > > wrote: > > This reverts commit c7bc46b9bc29dd0953ab8d63b50fa105bb66892e. > > > > The commit has broken the alternatives concept as it is managed by > >

[OE-core] [PATCH] initscripts: start bootmisc.sh at 36 instead of 55

2017-07-10 Thread David Vincent
with logrotate which does not consider it a valid date and stops processing. There is no blocker on moving this script right before populating volatiles because it just requires the local and virtual filesystems to be mounted to work. Signed-off-by: David Vincent <freesili...@gmail.com> ---

Re: [OE-core] [PATCH RESEND 0/3] openssh: Package server configuration

2017-06-13 Thread David Vincent
On vendredi 9 juin 2017 15:53:40 CEST André Draszik wrote: > Hi. > > On Fri, 2017-06-09 at 09:04 +0200, David Vincent wrote: > > This serie of patches provides a way to package OpenSSH sshd > > configuration. This > > way, it should be easier to change the con

Re: [OE-core] [PATCH RESEND 1/3] openssh: Package server configuration

2017-06-13 Thread David Vincent
On vendredi 9 juin 2017 11:41:25 CEST Peter Kjellerstedt wrote: > > -Original Message- > > From: openembedded-core-boun...@lists.openembedded.org > > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > > David Vincent > &g

[OE-core] [PATCH RESEND 3/3] rootfs-postcommands: Modify ssh-related commands

2017-06-09 Thread David Vincent
OpenSSH configuration is now a symlink which points to the desired configuration, so the functions that modified it must be updated to modify the target and not override it. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/rootfs-postcommands.bbclas

[OE-core] [PATCH RESEND 1/3] openssh: Package server configuration

2017-06-09 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-connectivity/openssh/openssh_7.5p1.b

[OE-core] [PATCH RESEND 2/3] core-image: Set default sshd configuration

2017-06-09 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 inse

[OE-core] [PATCH RESEND 0/3] openssh: Package server configuration

2017-06-09 Thread David Vincent
This serie of patches provides a way to package OpenSSH sshd configuration. This way, it should be easier to change the configuration either in distro and/or BSP layers. It also simplifies management for R/O rootfs David Vincent (3): openssh: Package server configuration core-image: Set

[OE-core] [PATCH] initscripts: Populate volatile from existing file

2017-06-02 Thread David Vincent
to none, the current behavior is preserved. Signed-off-by: David Vincent <freesili...@gmail.com> --- .../initscripts/initscripts-1.0/populate-volatile.sh | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/initscripts/initscripts-1.0/po

[OE-core] [PATCH] image.bbclass: Set ROOTFS_RO_UNNEEDED correctly

2017-04-26 Thread David Vincent
Use a weak assignment for ROOTFS_RO_UNNEEDED to let users define their own list overriding defaults. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/c

Re: [OE-core] [Openembedded-architecture] [RFC] Handling configuration files

2017-04-24 Thread David Vincent
On vendredi 21 avril 2017 15:41:58 CEST Mark Hatle wrote: > On 4/21/17 5:49 AM, David Vincent wrote: > > Following this thread on OE-Core > > (http://lists.openembedded.org/pipermail/openembedded-core/2017-April/1358 > > 12.html), the subject of handling configuration fil

Re: [OE-core] [PATCH] Revert "kernel: Fix symlinks"

2017-04-24 Thread David Vincent
On samedi 22 avril 2017 00:04:34 CEST Andrea Adami wrote: > > We lived for years with the relative symlink. > > Then 78ee4d8 broke the bootloaders in 2014 > Finally it was reverted end 2016 and now it is under review again...ouch > > What broke what? > > My point is, while I had the sources

Re: [OE-core] [PATCH] Revert "kernel: Fix symlinks"

2017-04-21 Thread David Vincent
On 2017-04-21 13:30 GMT+02:00 Andreas Oberritter : > On Fri, 21 Apr 2017 13:02:51 +0200 > Andrea Adami wrote: > >> On Fri, Apr 21, 2017 at 12:39 PM, Andreas Oberritter >> wrote: >> > This reverts commit

[OE-core] [RFC] Handling configuration files

2017-04-21 Thread David Vincent
Following this thread on OE-Core (http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135812.html), the subject of handling configuration files for a machine just got back. It seems there already was a discussion around it but I couldn't find it. I know that 2.3 has now hit

Re: [OE-core] [PATCH] openssl: Fix symlink creation

2017-04-21 Thread David Vincent
On 2017-04-20 15:04 GMT+02:00 Martin Jansa <martin.ja...@gmail.com>: > On Thu, Apr 20, 2017 at 03:37:24PM +0300, Alexander Kanavin wrote: >> On 04/19/2017 04:03 PM, David Vincent wrote: >> > The problem is that I must be able to manage the configuration of a machi

Re: [OE-core] [PATCH] openssl: Fix symlink creation

2017-04-19 Thread David Vincent
On mercredi 19 avril 2017 13:57:40 CEST Alexander Kanavin wrote: > On 04/19/2017 02:53 PM, David Vincent wrote: > >> This kind of thing is better done via ROOTFS_POSTPROCESS_COMMAND, I > >> think. Look for examples in rootfs-postcommands.bbclass. > > > > The prob

Re: [OE-core] [PATCH] openssl: Fix symlink creation

2017-04-19 Thread David Vincent
On mercredi 19 avril 2017 12:21:18 CEST Alexander Kanavin wrote: > On 04/19/2017 11:27 AM, David Vincent wrote: > > The package is then chosen during image creation based on some > > MACHINE_FEATURES, i.e. if the machine provides a crypto accelerator to use > > instead o

Re: [OE-core] [PATCH] openssl: Fix symlink creation

2017-04-19 Thread David Vincent
On jeudi 13 avril 2017 10:05:29 CEST Jussi Kukkonen wrote: > Hi David, > > Just a heads-up: I will propose a revert of this patch this week unless > better ideas come up in the mean time. Sorry, I've been away last week so didn't have time to respond to your previous mails. I've seen the revert

Re: [OE-core] [PATCH] openssl: Fix symlink creation

2017-04-07 Thread David Vincent
On jeudi 6 avril 2017 15:03:36 CEST Martin Jansa wrote: > I still don't understand why not use standard update-alternatives and > install another package with your favorite openssl.conf which has higher > ALTERNATIVE_PRIORITY. Why not, but maybe this

Re: [OE-core] [PATCH] openssl: Fix symlink creation

2017-04-06 Thread David Vincent
On mercredi 5 avril 2017 09:30:52 CEST Jussi Kukkonen wrote: > This apparently breaks key generation with openssl-native because the file > doesn't exist. Looking at the recipe right now, I understand why key generation is broken for native build (I should have been more careful). I see two ways

[OE-core] [PATCH] package.bbclass: add CONFFILES to pkgdata

2017-04-05 Thread David Vincent
Emit CONFFILES variable in pkgdata, or else the get_conffiles function will return 'None' for some packages instead of the expected value. This is especially true for optional module packages. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/package.bbclass | 1 +

[OE-core] [PATCH] ifupdown: Fix initscript

2017-03-27 Thread David Vincent
ifupdown does not provide an initscript so this recipe should not inherit update-rc.d class. Instead, we rely on init-ifupdown recipe to startup networking. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-core/ifupdown/ifupdown_0.8.16.bb | 5 + 1 file chan

Re: [OE-core] [oe-commits] [openembedded-core] 13/29: openssl: Fix symlink creation

2017-03-14 Thread David Vincent
On samedi 11 mars 2017 21:50:23 CET Martin Jansa wrote: > Why not use update-alternatives for this file? IMO, update-alternatives should not handle configuration files. I think that using it can “silently” apply a new configuration with higher priority and things will break in some odd ways.

Re: [OE-core] Fwd: [PATCH] busybox: conditional inclusion of login utilities

2017-03-06 Thread David Vincent
On lundi 6 mars 2017 13:48:22 CET Burton, Ross wrote: > On 6 March 2017 at 08:31, David Vincent <freesili...@gmail.com> wrote: > > + ${@["", "file://login-utilities.cfg"][(d.getVar('VIRTUAL- > > RUNTIME_login_manager') == 'busybox')]} \ > &g

[OE-core] Fwd: [PATCH] initscripts: Populate volatile from existing file

2017-03-06 Thread David Vincent
Ping -- Forwarded Message -- Subject: [PATCH] initscripts: Populate volatile from existing file Date: mercredi 25 janvier 2017, 12:35:52 CET From: David Vincent <freesili...@gmail.com> To: openembedded-core@lists.openembedded.org CC: David Vincent <freesili...@

[OE-core] Fwd: [PATCH] openssl: Fix symlink creation

2017-03-06 Thread David Vincent
Ping -- Forwarded Message -- Subject: [PATCH] openssl: Fix symlink creation Date: lundi 23 janvier 2017, 14:59:16 CET From: David Vincent <freesili...@gmail.com> To: openembedded-core@lists.openembedded.org CC: David Vincent <freesili...@gmail.com> Symlinking

[OE-core] [PATCH v4 2/3] core-image: Set default sshd configuration

2017-03-06 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 inse

[OE-core] [PATCH v4 1/3] openssh: Package server configuration

2017-03-06 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-connectivity/openssh/openssh_7.4p1.b

[OE-core] [PATCH v4 0/3] openssh: Package server configuration

2017-03-06 Thread David Vincent
This serie of patches provides a way to package OpenSSH sshd configuration. This way, it should be easier to change the configuration either in distro and/or BSP layers. It also simplifies management of configuration for r/o rootfs. David Vincent (3): openssh: Package server configuration

[OE-core] Fwd: [PATCH] busybox: conditional inclusion of login utilities

2017-03-06 Thread David Vincent
Ping -- Forwarded Message -- Subject: [PATCH] busybox: conditional inclusion of login utilities Date: jeudi 26 janvier 2017, 17:45:18 CET From: David Vincent <freesili...@gmail.com> To: openembedded-core@lists.openembedded.org CC: David Vincent <freesili...@

[OE-core] [PATCH v3 3/3] rootfs-postcommands: Modify ssh-related commands

2017-02-02 Thread David Vincent
OpenSSH configuration is now a symlink which points to the desired configuration, so the functions that modified it must be updated to modify the target and not override it. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/rootfs-postcommands.bbclas

[OE-core] [PATCH v3 1/3] openssh: Package server configuration

2017-02-02 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-connectivity/openssh/openssh_7.4p1.b

[OE-core] [PATCH v3 2/3] core-image: Set default sshd configuration

2017-02-02 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 inse

[OE-core] [PATCH v3 0/3] openssh: Make sshd-config a package

2017-02-02 Thread David Vincent
is used exclusively when selecting ssh-server-openssh in IMAGE_FEATURES. Changes since v1: Remove documentation Changes since v2: Restore SYSCONFDIR in /etc/default/ssh, otherwise keys are not correctly generated David Vincent (3): openssh: Package server configuration core-image: Set

Re: [OE-core] [PATCH] busybox: conditional inclusion of login utilities

2017-01-27 Thread David Vincent
On jeudi 26 janvier 2017 09:55:17 CET Christopher Larson wrote: > Question, why not use ${PN} here? It was done the same way in the recipe for other fragments so I made it look like the existing declarations. David -- ___ Openembedded-core mailing

[OE-core] [PATCH] busybox: conditional inclusion of login utilities

2017-01-26 Thread David Vincent
If busybox is not selected as login manager, do not include the fragment containing the corresponding utilities. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-core/busybox/busybox_1.24.1.bb | 2 +- meta/recipes-core/busybox/busybox_git.bb| 2 +- 2 files chan

[OE-core] [PATCH] initscripts: Populate volatile from existing file

2017-01-25 Thread David Vincent
to none, the current behavior is preserved. Signed-off-by: David Vincent <freesili...@gmail.com> --- .../initscripts/initscripts-1.0/populate-volatile.sh | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/initscripts/initscripts-1.0/po

Re: [OE-core] [PATCH v2 0/3] openssh: Make sshd-config a package

2017-01-24 Thread David Vincent
On mardi 24 janvier 2017 11:07:18 CET Khem Raj wrote: > How does this work with dropbear. Since we can use dropbear as a ssh > server alternative. Dropbear support has not been modified. SSHD_CONFIG has only been added to FEATURE_PACKAGES_ssh-server-openssh variable and only applies to OpenSSH (I

[OE-core] [PATCH 1/3] openssh: Package server configuration

2017-01-24 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-connectivity/openssh/openssh_7.3p1.b

[OE-core] [PATCH 3/3] rootfs-postcommands: Modify ssh-related commands

2017-01-24 Thread David Vincent
OpenSSH configuration is now a symlink which points to the desired configuration, so the functions that modified it must be updated to modify the target and not override it. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/rootfs-postcommands.bbclas

[OE-core] [PATCH 2/3] core-image: Set default sshd configuration

2017-01-24 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 inse

[OE-core] [PATCH v2 0/3] openssh: Make sshd-config a package

2017-01-24 Thread David Vincent
is used exclusively when selecting ssh-server-openssh in IMAGE_FEATURES. Changes since v1: Remove documentation David Vincent (3): openssh: Package server configuration core-image: Set default sshd configuration rootfs-postcommands: Modify ssh-related commands meta/classes/core

[OE-core] [PATCH 3/3] rootfs-postcommands: Modify ssh-related commands

2017-01-24 Thread David Vincent
OpenSSH configuration is now a symlink which points to the desired configuration, so the functions that modified it must be updated to modify the target and not override it. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/rootfs-postcommands.bbclas

[OE-core] [PATCH 1/3] openssh: Package server configuration

2017-01-24 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-connectivity/openssh/openssh_7.3p1.b

[OE-core] [PATCH 2/3] core-image: Set default sshd configuration

2017-01-24 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 inse

[OE-core] [PATCH 0/3] openssh: Make sshd-config a package

2017-01-24 Thread David Vincent
is used exclusively when selecting ssh-server-openssh in IMAGE_FEATURES. Changes since v2: Remove documentation David Vincent (3): openssh: Package server configuration core-image: Set default sshd configuration rootfs-postcommands: Modify ssh-related commands meta/classes/core

Re: [OE-core] ✗ patchtest: failure for openssh: Make sshd-config a package

2017-01-23 Thread David Vincent
On lundi 23 janvier 2017 10:08:04 CET Leonardo Sandoval wrote: > David, This is what I get from the command line > > oe-core$ git pw mbox 4904 | git apply --check > error: documentation/ref-manual/ref-variables.xml: No such file or directory > > Meaning that you have a patch on your series that

Re: [OE-core] ✗ patchtest: failure for openssh: Make sshd-config a package

2017-01-23 Thread David Vincent
On lundi 23 janvier 2017 15:23:36 CET Patchwork wrote: > == Series Details == > > Series: openssh: Make sshd-config a package > Revision: 1 > URL : https://patchwork.openembedded.org/series/4904/ > State : failure > > == Summary == > > > Thank you for submitting this patch series to

[OE-core] [PATCH 2/4] core-image: Set default sshd configuration

2017-01-23 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 inse

[OE-core] [PATCH 4/4] ref-manual: Add SSHD_CONFIG

2017-01-23 Thread David Vincent
Add description for the SSHD_CONFIG variable which is used to select the package to use as provider for sshd-config. Signed-off-by: David Vincent <freesili...@gmail.com> --- documentation/ref-manual/ref-variables.xml | 21 + 1 file changed, 21 insertions(+) diff

[OE-core] [PATCH 3/4] rootfs-postcommands: Modify ssh-related commands

2017-01-23 Thread David Vincent
OpenSSH configuration is now a symlink which points to the desired configuration, so the functions that modified it must be updated to modify the target and not override it. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/rootfs-postcommands.bbclas

[OE-core] [PATCH 0/4] openssh: Make sshd-config a package

2017-01-23 Thread David Vincent
is used exclusively when selecting ssh-server-openssh in IMAGE_FEATURES. David Vincent (4): openssh: Package server configuration core-image: Set default sshd configuration rootfs-postcommands: Modify ssh-related commands ref-manual: Add SSHD_CONFIG documentation/ref-manual/ref-variables.xml

[OE-core] [PATCH 1/4] openssh: Package server configuration

2017-01-23 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-connectivity/openssh/openssh_7.3p1.b

[OE-core] [PATCH] openssl: Fix symlink creation

2017-01-23 Thread David Vincent
Symlinking the openssl configuration file at install time results in errors when overriding it using an external package which also provides openssl-conf. This should be done as a postinstall task for such packages. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/r

[OE-core] [PATCH] useradd-staticids: Fix groupadd

2017-01-23 Thread David Vincent
When a group name is duplicated between USERADD_PARAM and GROUPADD_PARAM, this class tries to add it twice which results in failure of the groupadd command. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/useradd-staticids.bbclass | 4 +++- 1 file changed, 3 inse

Re: [OE-core] [PATCH v7] rootfs: Modify RPM installation

2017-01-17 Thread David Vincent
On lundi 16 janvier 2017 17:39:45 CET Burton, Ross wrote: > On 12 January 2017 at 09:08, David Vincent <freesili...@gmail.com> wrote: > > When using a custom RPM data directory instead of the default dir > > '/var/lib/rpm', the final image did not contain any of t

[OE-core] [PATCH] extrausers: Use static ids when available

2017-01-16 Thread David Vincent
When creating users at the image level using extrausers class, the current behavior is to ignore the status of USERADDEXTENSION. This could lead to undefined behavior when static ids are expected but the system falls back to dynamic ones. Signed-off-by: David Vincent <freesili...@gmail.

[OE-core] [PATCH v7] rootfs: Modify RPM installation

2017-01-12 Thread David Vincent
-by: David Vincent <freesili...@gmail.com> --- meta/lib/oe/package_manager.py | 23 +-- meta/lib/oe/rootfs.py | 3 ++- meta/recipes-devtools/rpm/rpm_5.4.16.bb | 2 ++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/meta/

Re: [OE-core] [PATCH v6] rootfs: Modify RPM installation

2017-01-06 Thread David Vincent
On jeudi 22 décembre 2016 15:45:34 CET David Vincent wrote: > On jeudi 22 décembre 2016 14:09:32 CET Burton, Ross wrote: > > Small problem: we always build rpm-native as we need it for some tools, > > but > > rpmlibdir is only defined in package_rpm.bbclass which doesn't hav

[OE-core] [PATCH] nss: Fix postinstall script

2017-01-04 Thread David Vincent
When installing NSS on a read-only rootfs, the current postinstall scriptlet exits after having run the signing part. This causes an error when appending the task because the rest of the script is simply ignored and therefore never run. Signed-off-by: David Vincent <freesili...@gmail.

Re: [OE-core] [PATCH v6] rootfs: Modify RPM installation

2016-12-22 Thread David Vincent
On jeudi 22 décembre 2016 14:09:32 CET Burton, Ross wrote: > Small problem: we always build rpm-native as we need it for some tools, but > rpmlibdir is only defined in package_rpm.bbclass which doesn't have to be > inherited. I didn't know that rpm-native was built in any case, rpm being selected

[OE-core] [PATCH v6] rootfs: Modify RPM installation

2016-12-22 Thread David Vincent
in d.getVar() calls. Changes since v5: - Also modify rpm recipe to build the database in the correct location and avoid errors during rootfs creation. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/lib/oe/package_manager.py | 23 +-- meta/

Re: [OE-core] [PATCH v5] rootfs: Modify RPM installation

2016-12-22 Thread David Vincent
On mardi 20 décembre 2016 17:44:54 CET Burton, Ross wrote: > This breaks list_pkgs() for the RPM backend. Instead of returning a list of > packages, rpm just says "%dbpath is not defined" (or words to that effect, > as the log disappeared in 100 pages of errors). > > Ross > OK, I found the bug.

[OE-core] [PATCH] kernel: Fix symlinks

2016-12-20 Thread David Vincent
. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/kernel.bbclass | 6 +++--- meta/recipes-kernel/linux/linux-dtb.inc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index fa59

[OE-core] [PATCH v5] rootfs: Modify RPM installation

2016-12-20 Thread David Vincent
in d.getVar() calls. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/lib/oe/package_manager.py | 23 +-- meta/lib/oe/rootfs.py | 3 ++- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/meta/lib/oe/package_manager.py b/meta/

[OE-core] [PATCH v6] classes: Fix alternatives and rc.d ordering

2016-12-20 Thread David Vincent
This patchset adds comments to the scripts generated by both classes and organize the generated sections based on those comments. [YOCTO #10433] Changes since v5: - Remove boolean in d.getVar() calls Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/

[OE-core] [PATCH v5] classes: Fix alternatives and rc.d ordering

2016-12-12 Thread David Vincent
This patchset adds comments to the scripts generated by both classes and organize the generated sections based on those comments. [YOCTO #10433] Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/update-alternatives.bbclass | 29 ++--- meta/classes/

[OE-core] [PATCH v4] rootfs: Modify RPM installation

2016-12-12 Thread David Vincent
When using a custom RPM data directory instead of the default dir '/var/lib/rpm', the final image did not contain any of the database files in the expected location. This commit takes into account the 'rpmlibdir' variable set into 'rootfs_rpm.bbclass'. Signed-off-by: David Vincent <frees

[OE-core] [PATCH v4] classes: Fix alternatives and rc.d ordering

2016-11-28 Thread David Vincent
Changes since v3: * Count the number of lines produced by update-alternatives to detect if lines were inserted. Failing to do so introduced bugs in native packages (e.g. binutils-cross-canadian-arm) -- ___ Openembedded-core

[OE-core] [PATCH] classes: Fix alternatives and rc.d ordering

2016-11-28 Thread David Vincent
This patchset adds comments to the scripts generated by both classes and organize the generated sections based on those comments. [YOCTO #10433] Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/update-alternatives.bbclass | 29 ++--- meta/classes/

Re: [OE-core] [PATCH v3] rootfs: Modify RPM installation

2016-11-28 Thread David Vincent
On vendredi 25 novembre 2016 13:09:30 CET Mark Hatle wrote: > On 11/25/16 12:17 PM, Burton, Ross wrote: > > On 24 November 2016 at 10:49, David Vincent <freesili...@gmail.com > > > > <mailto:freesili...@gmail.com>> wrote: > > -self._setu

[OE-core] [PATCH v3] rootfs: Modify RPM installation

2016-11-24 Thread David Vincent
When using a custom RPM data directory instead of the default dir '/var/lib/rpm', the final image did not contain any of the database files in the expected location. This commit takes into account the 'rpmlibdir' variable set into 'rootfs_rpm.bbclass'. Signed-off-by: David Vincent <frees

[OE-core] [PATCH] slang: Disable parallel make install

2016-11-24 Thread David Vincent
Installation task fails if run in parallel. This case happens if we define PARALLEL_MAKEINST to a different value of PARALLEL_MAKE. Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/recipes-extended/slang/slang_2.3.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/r

[OE-core] [PATCH v3] rootfs: Modify RPM installation

2016-11-24 Thread David Vincent
When using a custom RPM data directory instead of the default dir '/var/lib/rpm', the final image did not contain any of the database files in the expected location. This commit takes into account the 'rpmlibdir' variable set into 'rootfs_rpm.bbclass'. Signed-off-by: David Vincent <frees

[OE-core] [PATCH v3] classes: Fix alternatives and rc.d ordering

2016-11-24 Thread David Vincent
This patchset adds comments to the scripts generated by both classes and organize the generated sections based on those comments. [YOCTO #10433] Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/update-alternatives.bbclass | 27 +-- meta/classes/

[OE-core] [PATCH v2] classes: Fix alternatives and rc.d ordering

2016-11-24 Thread David Vincent
This patchset adds comments to the scripts generated by both classes and organize the generated sections based on those comments. [YOCTO #10433] Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/update-alternatives.bbclass | 27 +-- meta/classes/

[OE-core] [PATCH] classes: Fix alternatives and rc.d ordering

2016-11-23 Thread David Vincent
This patchset adds comments to the scripts generated by both classes and organize the generated sections based on those comments. [YOCTO #10433] Signed-off-by: David Vincent <freesili...@gmail.com> --- meta/classes/update-alternatives.bbclass | 27 +-- meta/classes/

[OE-core] [PATCH][jethro] rootfs: Modify RPM installation

2016-07-08 Thread David Vincent
When using a custom RPM data directory instead of the default dir '/var/lib/rpm', the final image did not contain any of the database files in the expected location. This commit takes into account the 'rpmlibdir' variable set into 'rootfs_rpm.bbclass'. Signed-off-by: David Vincent <frees

[OE-core] [OE-Core][PATCH] rootfs: Modify RPM installation

2016-07-08 Thread David Vincent
When using a custom RPM data directory instead of the default dir '/var/lib/rpm', the final image did not contain any of the database files in the expected location. This commit takes into account the 'rpmlibdir' variable set into 'rootfs_rpm.bbclass'. Signed-off-by: David Vincent <frees

Re: [OE-core] [PATCH] barebox: Add recipe

2014-07-30 Thread David Vincent
layer)? Again, sorry for the noise! Greetings, David 2014-07-28 16:42 GMT+02:00 Eric Bénard e...@eukrea.com: Hi David, Le Mon, 28 Jul 2014 14:15:12 +0200, David Vincent freesili...@gmail.com a écrit : Why don't you use $BAREBOX_BINARY instead of hardcoding barebox-flash-image which won't

Re: [OE-core] [RFC 1/1] add support for the barebox bootloader

2014-07-30 Thread David Vincent
Hi Stefan, This recipe is more complete than what I've previously submitted and, I think, is a better base for barebox initial support in OE-Core. Just like it has already been said, maybe barebox target tools should have their own recipe. However, I'd be happy to help further developments on

[OE-core] [PATCH] barebox: Add recipe

2014-07-28 Thread David Vincent
barebox (formerly known as u-boot-v2) is a bootloader that inherits the best of U-Boot and the Linux kernel. This commit adds the possibility to use it as a virtual/bootloader instead of U-Boot. Signed-off-by: David Vincent freesili...@gmail.com --- meta/recipes-bsp/barebox/barebox.inc

[OE-core] Fwd: [PATCH] barebox: Add recipe

2014-07-28 Thread David Vincent
2014-07-28 12:23 GMT+02:00 Richard Purdie richard.pur...@linuxfoundation.org: On Mon, 2014-07-28 at 11:55 +0200, David Vincent wrote: barebox (formerly known as u-boot-v2) is a bootloader that inherits the best of U-Boot and the Linux kernel. This commit adds the possibility to use

Re: [OE-core] [PATCH] barebox: Add recipe

2014-07-28 Thread David Vincent
Hi Eric, 2014-07-28 13:58 GMT+02:00 Eric Bénard e...@eukrea.com: Hi David, Le Mon, 28 Jul 2014 11:55:04 +0200, David Vincent freesili...@gmail.com a écrit : barebox (formerly known as u-boot-v2) is a bootloader that inherits the best of U-Boot and the Linux kernel. This commit adds

[OE-core] [PATCH] SDK default deploy directory

2014-04-04 Thread David Vincent
-by: David Vincent freesili...@gmail.com --- meta/classes/populate_sdk_base.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 81da206..10d04ed 100644 --- a/meta/classes