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
> >
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>
---
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +
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
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.
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
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...@
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
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
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
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
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...@
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-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/
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
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.
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
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/
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.
.
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
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/
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/
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/
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
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
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/
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
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
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
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
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/
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/
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/
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
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
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
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
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
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
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
-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
85 matches
Mail list logo