Skip to contentSkip to conversation

systemd: Upgrade 212 -> 213

PATCH In review Khem Raj 2 participants 3 messages May 29, 2014 – May 30, 2014

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 systemd: Upgrade 212 -> 213

boots on all qemu machines

---
 meta/recipes-core/systemd/{systemd_212.bb => systemd_213.bb} |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-core/systemd/{systemd_212.bb => systemd_213.bb} (99%)
meta/recipes-core/systemd/systemd_213.bb renamed from meta/recipes-core/systemd/systemd_212.bb +3 -2
similarity index 99%
rename from meta/recipes-core/systemd/systemd_212.bb
rename to meta/recipes-core/systemd/systemd_213.bb
index 233bd31..5f90576 100644
@@ -17,9 +17,9 @@ SECTION = "base/shell"
 
 inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu systemd ptest
 
-SRCREV = "9b3310b066136b0674a926da094b7fe87a13a58b"
+SRCREV = "c9679c652b3c31f2510e8805d81630680ebc7e95"
 
-PV = "212+git${SRCPV}"
+PV = "213+git${SRCPV}"
 
 SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;branch=master;protocol=git \
            file://binfmt-install.patch \
@@ -95,6 +95,7 @@ do_configure_prepend() {
 		cp -r ${S}/units ${S}/units.pre_sed
 	fi
 	sed -i -e 's:=/root:=${ROOT_HOME}:g' ${S}/units/*.service*
+	sed -i '/ln --relative --help/d' ${S}/configure.ac
 	sed -i -e 's:\$(LN_S) --relative -f:lnr:g' ${S}/Makefile.am
 	sed -i -e 's:\$(LN_S) --relative:lnr:g' ${S}/Makefile.am
 }
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 3 lines · Khem Raj

+ sed -i '/ln --relative --help/d' ${S}/configure.ac

        sed -i -e 's:\$(LN_S) --relative -f:lnr:g' ${S}/Makefile.am
        sed -i -e 's:\$(LN_S) --relative:lnr:g' ${S}/Makefile.am

Introducing lnr was my fault but this is getting a bit convoluted, can the ln-munging be replaced with a patch so it is less magical?

Ross

author
#2 lore raw
Quoted 6 lines · Ross
Quoted 3 lines

+ sed -i '/ln --relative --help/d' ${S}/configure.ac

        sed -i -e 's:\$(LN_S) --relative -f:lnr:g' ${S}/Makefile.am
        sed -i -e 's:\$(LN_S) --relative:lnr:g' ${S}/Makefile.am

Introducing lnr was my fault but this is getting a bit convoluted, can the ln-munging be replaced with a patch so it is less magical?

We will have to do a patch that will not be accepted in systemd since now they explicitly enquire
if ln supports it or not otherwise they bailout. So what are our options, one carry a patch around that wont go anywhere or use lnr that can be removed once we have all supported distros have ln --relative available. I dont see any advantage of 1 over 2.