Skip to contentSkip to conversation

systemd: provide symlink to libudev.so.0, required by SGX libs/bins

PATCH In review Denys Dmytriyenko 3 participants 4 messages May 9, 2016 – May 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: provide symlink to libudev.so.0, required by SGX libs/bins

From: Denys Dmytriyenko <[email protected]>

eudev and systemd bumped major version number to libudev.so.1, but SGX has version 0 hardcoded. Symlink for now, until binaries can be rebuilt.

---
 meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-arago-distro/recipes-core/systemd/systemd_%.bbappend
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +6 -0
new file mode 100644
index 0000000..05c8e34
@@ -0,0 +1,6 @@
+PR_append = "-arago0"
+
+do_install_append() {
+    install -d ${D}/${base_libdir}
+    ln -sf libudev.so.1 ${D}${base_libdir}/libudev.so.0
+}
Signature · 1 line
2.2.0
#1 lore raw
Quoted 30 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Monday, May 09, 2016 10:09 AM
To: [email protected]
Subject: [meta-arago] [PATCH] systemd: provide symlink to libudev.so.0, required by SGX libs/bins

From: Denys Dmytriyenko <[email protected]>

eudev and systemd bumped major version number to libudev.so.1, but SGX has
version 0 hardcoded. Symlink for now, until binaries can be rebuilt.

---
 meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-arago-distro/recipes-

core/systemd/systemd_%.bbappend

meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +0 -0
new file mode 100644
index 0000000..05c8e34

meta-arago-distro/recipes-core/systemd/systemd_%.bbappend line 1

Quoted 1 line
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +1 -0
@@ -0,0 +1,6 @@
+PR_append = "-arago0"

PR_append should begin with a ".", not a "-". Otherwise builds with PR service, and buildhistory will fail as the version goes backwards. http://www.openembedded.org/wiki/Versioning_Policy

Quoted 12 lines
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +5 -1
+
+do_install_append() {
+    install -d ${D}/${base_libdir}
+    ln -sf libudev.so.1 ${D}${base_libdir}/libudev.so.0
+}
--

2.2.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#2 lore raw

I know

Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Monday, May 09, 2016 10:09 AM
To: [email protected]
Subject: [meta-arago] [PATCH] systemd: provide symlink to libudev.so.0, required by SGX libs/bins

From: Denys Dmytriyenko <[email protected]>

eudev and systemd bumped major version number to libudev.so.1, but SGX has
version 0 hardcoded. Symlink for now, until binaries can be rebuilt.

---
 meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-arago-distro/recipes-

core/systemd/systemd_%.bbappend

meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +0 -0
new file mode 100644
index 0000000..05c8e34

meta-arago-distro/recipes-core/systemd/systemd_%.bbappend line 1

Quoted 1 line
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +1 -0
@@ -0,0 +1,6 @@
+PR_append = "-arago0"

PR_append should begin with a ".", not a "-". Otherwise builds with PR service, and buildhistory will fail as the version goes backwards. http://www.openembedded.org/wiki/Versioning_Policy

Quoted 8 lines
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +5 -1
+
+do_install_append() {
+    install -d ${D}/${base_libdir}
+    ln -sf libudev.so.1 ${D}${base_libdir}/libudev.so.0
+}
--

2.2.0

Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw

I'm back at the keyboard, so a bit of clarification. I've been doing distros for at least 20 years and OpenEmbedded for almost 10. I was right in the middle of it, when the original OE versioning policy was drafted. At the time, Arago Project has already started using -nameX suffix with Classic OE. I know we agreed then that in general PR should not contain dashes, although there were some specific use cases. Since then it was mostly a matter of habit, but I've been meaning to start switching over to using dots instead of dashes.

As of PR service - for short-lived bbappends it wouldn't matter much, as you are going to hit the problem of the version going backwards sooner or later. Either when you add a bbappend with modified PR, or when you remove it... The cleanest solution, as a matter of fact, is to NOT modify PR at all and let PR service figure it out. There are some pitfalls in that approach and for better results a centralized distributed PR service is preferred over a local one, especially when doing many distributed builds like we do. That's why I have a dedicated PR service in the new build infrastructure I'm building... We should probably connect you and your builds to that one in the future, especially since we are thinking of package feeds and maintaining upgrade path across releases.

Signature · 1 line
Denys
Quoted 56 lines · Denys

I know

Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Monday, May 09, 2016 10:09 AM
To: [email protected]
Subject: [meta-arago] [PATCH] systemd: provide symlink to libudev.so.0, required by SGX libs/bins

From: Denys Dmytriyenko <[email protected]>

eudev and systemd bumped major version number to libudev.so.1, but SGX has
version 0 hardcoded. Symlink for now, until binaries can be rebuilt.

---
 meta-arago-distro/recipes-core/systemd/systemd_%.bbappend | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-arago-distro/recipes-

core/systemd/systemd_%.bbappend

meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +0 -0
new file mode 100644
index 0000000..05c8e34

meta-arago-distro/recipes-core/systemd/systemd_%.bbappend line 1

Quoted 1 line
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +1 -0
@@ -0,0 +1,6 @@
+PR_append = "-arago0"

PR_append should begin with a ".", not a "-". Otherwise builds with PR service, and buildhistory will fail as the version goes backwards.
http://www.openembedded.org/wiki/Versioning_Policy

Quoted 8 lines
meta-arago-distro/recipes-core/systemd/systemd_%.bbappend new file +5 -1
+
+do_install_append() {
+    install -d ${D}/${base_libdir}
+    ln -sf libudev.so.1 ${D}${base_libdir}/libudev.so.0
+}
--

2.2.0

Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago