[OE-core] [PATCH] systemd: fix predictable network interface names in initrd

2019-04-09 Thread Tomasz Meresiński
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
says, that udev is responsible for predictable network interface names,
so udev package is a better place for its configuration file.

Signed-off-by: Tomasz Meresiński 
---
 meta/recipes-core/systemd/systemd_241.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/systemd/systemd_241.bb 
b/meta/recipes-core/systemd/systemd_241.bb
index bfbfc81330..e61e07e959 100644
--- a/meta/recipes-core/systemd/systemd_241.bb
+++ b/meta/recipes-core/systemd/systemd_241.bb
@@ -566,6 +566,7 @@ RPROVIDES_udev = "hotplug"
 RDEPENDS_udev-hwdb += "udev"
 
 FILES_udev += "${base_sbindir}/udevd \
+   ${rootlibexecdir}/systemd/network/99-default.link \
${rootlibexecdir}/systemd/systemd-udevd \
${rootlibexecdir}/udev/accelerometer \
${rootlibexecdir}/udev/ata_id \
-- 
2.17.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] python3: Fix python3-logging dependencies

2018-02-07 Thread Tomasz Meresiński
python3-logging depends on python3-netserver (logging/config.py:42)

Signed-off-by: Tomasz Meresiński<tomasz.meresin...@comarch.pl>
---
 meta/recipes-devtools/python/python3/python3-manifest.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json 
b/meta/recipes-devtools/python/python3/python3-manifest.json
index b117569..1914a4c 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -591,7 +591,8 @@
 ],
 "rdepends": [
 "core",
-"stringold"
+"stringold",
+"netserver"
 ],
 "summary": "Python logging support"
 },
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] classes/image: fix do_image_qa dependencies

2017-09-19 Thread Tomasz Meresiński
After do_image_complete IMAGE_ROOTFS directory is empty so qa checks do not work

Signed-off-by: Tomasz Meresiński <tomasz.meresin...@comarch.com>
---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3639aa44f4..7059f947ed 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -320,7 +320,7 @@ fakeroot python do_image_qa () {
 imgname = d.getVar('IMAGE_NAME')
 bb.fatal("QA errors found whilst validating image: %s\n%s" % (imgname, 
qamsg))
 }
-addtask do_image_qa after do_image_complete before do_build
+addtask do_image_qa after do_image before do_image_complete
 
 SSTATETASKS += "do_image_qa"
 SSTATE_SKIP_CREATION_task-image-qa = '1'
-- 
2.12.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] classes/image: fix do_image_qa dependencies

2017-09-19 Thread Tomasz Meresiński
After do_image_complete IMAGE_ROOTFS directory is empty so qa checks do not work

Signed-off-by: Tomasz Meresiński <tomasz.meresin...@comarch.pl>
---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3639aa44f4..7059f947ed 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -320,7 +320,7 @@ fakeroot python do_image_qa () {
 imgname = d.getVar('IMAGE_NAME')
 bb.fatal("QA errors found whilst validating image: %s\n%s" % (imgname, 
qamsg))
 }
-addtask do_image_qa after do_image_complete before do_build
+addtask do_image_qa after do_image before do_image_complete

 SSTATETASKS += "do_image_qa"
 SSTATE_SKIP_CREATION_task-image-qa = '1'
--
2.12.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] classes/image_live: fix using squashfs as image filesystem

2017-09-19 Thread Tomasz Meresiński
Different squashfs versions have IMAGE_TYPE with hyphen (eg squashfs-lz4).
Tasks on the other hand have names with underscore (eg do_image_squashfs_lz4).

Signed-off-by: Tomasz Meresiński <tomasz.meresin...@comarch.pl>
---
 meta/classes/image-live.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index c1862b1319..7a388d5c60 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -34,7 +34,7 @@ do_bootimg[depends] += "dosfstools-native:do_populate_sysroot 
\
 ${MLPREFIX}syslinux:do_populate_sysroot \
 syslinux-native:do_populate_sysroot \
 ${@oe.utils.ifelse(d.getVar('COMPRESSISO', 
False),'zisofs-tools-native:do_populate_sysroot','')} \
-${PN}:do_image_${LIVE_ROOTFS_TYPE} \
+
${PN}:do_image_${@d.getVar('LIVE_ROOTFS_TYPE').replace('-', '_')} \
 "


--
2.12.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core