Skip to contentSkip to conversation

systemd: bring back the patch to customise root's $HOME

PATCH In review Ross Burton 5 participants 7 messages Apr 28, 2015 – Apr 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: bring back the patch to customise root's $HOME

This patch appears to have been accidently dropped in the move to 219-stable, probably because it didn't apply. Update the patch and re-add it.

---
 .../systemd/systemd/0010-Make-root-s-home-directory-configurable.patch | 3 ++-
 meta/recipes-core/systemd/systemd_219.bb                               | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd/0010-Make-root-s-home-directory-configurable.patch +2 -1
index 41b9039..b65fe42 100644
@@ -26,10 +26,11 @@ diff --git a/Makefile.am b/Makefile.am
 index 0fb3f9f..4623963 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -199,6 +199,7 @@ AM_CPPFLAGS = \
+@@ -199,7 +199,8 @@ AM_CPPFLAGS = \
  	-DKEXEC=\"$(KEXEC)\" \
  	-DLIBDIR=\"$(libdir)\" \
  	-DROOTLIBDIR=\"$(rootlibdir)\" \
+ 	-DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \
 +	-DROOTHOMEDIR=\"$(roothomedir)\" \
  	-DTEST_DIR=\"$(abs_top_srcdir)/test\" \
  	-I $(top_srcdir)/src \
meta/recipes-core/systemd/systemd_219.bb +1 -0
index d1303f7..c196017 100644
@@ -38,6 +38,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stab
            file://0007-util-Use-mkostemp-only-if-libc-supports-it.patch \
            file://0008-util-bypass-unimplemented-_SC_PHYS_PAGES-system-conf.patch \
            file://0009-sysv-generator-add-support-for-executing-scripts-und.patch \
+           file://0010-Make-root-s-home-directory-configurable.patch \
            file://0011-systemd-user-avoid-using-system-auth.patch \
            file://0012-systemd-tmpfiles.c-Honor-ordering-within-files-as-th.patch \
            file://0014-Revert-rules-remove-firmware-loading-rules.patch \
Signature · 1 line
2.1.4
#1 lore raw
Quoted 3 lines · Ross Burton

This patch appears to have been accidently dropped in the move to 219-stable, probably because it didn't apply. Update the patch and re-add it.

Thanks for doing it. Acked

Quoted 43 lines
---
 .../systemd/systemd/0010-Make-root-s-home-directory-configurable.patch | 3 ++-
 meta/recipes-core/systemd/systemd_219.bb                               | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd/0010-Make-root-s-home-directory-configurable.patch +2 -1
index 41b9039..b65fe42 100644
@@ -26,10 +26,11 @@ diff --git a/Makefile.am b/Makefile.am
 index 0fb3f9f..4623963 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -199,6 +199,7 @@ AM_CPPFLAGS = \
+@@ -199,7 +199,8 @@ AM_CPPFLAGS = \
        -DKEXEC=\"$(KEXEC)\" \
        -DLIBDIR=\"$(libdir)\" \
        -DROOTLIBDIR=\"$(rootlibdir)\" \
+       -DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \
 +      -DROOTHOMEDIR=\"$(roothomedir)\" \
        -DTEST_DIR=\"$(abs_top_srcdir)/test\" \
        -I $(top_srcdir)/src \
meta/recipes-core/systemd/systemd_219.bb +1 -1
index d1303f7..c196017 100644
@@ -38,6 +38,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stab
            file://0007-util-Use-mkostemp-only-if-libc-supports-it.patch \
            file://0008-util-bypass-unimplemented-_SC_PHYS_PAGES-system-conf.patch \
            file://0009-sysv-generator-add-support-for-executing-scripts-und.patch \
+           file://0010-Make-root-s-home-directory-configurable.patch \
            file://0011-systemd-user-avoid-using-system-auth.patch \
            file://0012-systemd-tmpfiles.c-Honor-ordering-within-files-as-th.patch \
            file://0014-Revert-rules-remove-firmware-loading-rules.patch \
--

2.1.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
In reply to Ross Burton
Quoted 2 lines · Ross Burton

This patch appears to have been accidently dropped in the move to 219-stable, probably because it didn't apply. Update the patch and re-add it.

what about the unused .patch files reported in:
http://lists.openembedded.org/pipermail/openembedded-core/2015-April/104197.html
?

Quoted 43 lines
---
 .../systemd/systemd/0010-Make-root-s-home-directory-configurable.patch | 3 ++-
 meta/recipes-core/systemd/systemd_219.bb                               | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd/0010-Make-root-s-home-directory-configurable.patch +2 -1
index 41b9039..b65fe42 100644
@@ -26,10 +26,11 @@ diff --git a/Makefile.am b/Makefile.am
 index 0fb3f9f..4623963 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -199,6 +199,7 @@ AM_CPPFLAGS = \
+@@ -199,7 +199,8 @@ AM_CPPFLAGS = \
  	-DKEXEC=\"$(KEXEC)\" \
  	-DLIBDIR=\"$(libdir)\" \
  	-DROOTLIBDIR=\"$(rootlibdir)\" \
+ 	-DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \
 +	-DROOTHOMEDIR=\"$(roothomedir)\" \
  	-DTEST_DIR=\"$(abs_top_srcdir)/test\" \
  	-I $(top_srcdir)/src \
meta/recipes-core/systemd/systemd_219.bb +1 -0
index d1303f7..c196017 100644
@@ -38,6 +38,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stab
            file://0007-util-Use-mkostemp-only-if-libc-supports-it.patch \
            file://0008-util-bypass-unimplemented-_SC_PHYS_PAGES-system-conf.patch \
            file://0009-sysv-generator-add-support-for-executing-scripts-und.patch \
+           file://0010-Make-root-s-home-directory-configurable.patch \
            file://0011-systemd-user-avoid-using-system-auth.patch \
            file://0012-systemd-tmpfiles.c-Honor-ordering-within-files-as-th.patch \
            file://0014-Revert-rules-remove-firmware-loading-rules.patch \
Signature · 7 lines
2.1.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Thanks Ross!

This slipped trough my fingers when I have remade the first version to use the stable branch.

Martin,

The patch removed will be applied automatically because they are upstreamed on the stable branch.

Best Regards,

Quoted 54 lines · Martin Jansa
Quoted 2 lines · Ross Burton

This patch appears to have been accidently dropped in the move to 219-stable, probably because it didn't apply. Update the patch and re-add it.

what about the unused .patch files reported in:
http://lists.openembedded.org/pipermail/openembedded-core/2015-April/104197.html
?

Quoted 43 lines
---
 .../systemd/systemd/0010-Make-root-s-home-directory-configurable.patch | 3 ++-
 meta/recipes-core/systemd/systemd_219.bb                               | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd/0010-Make-root-s-home-directory-configurable.patch +2 -1
index 41b9039..b65fe42 100644
@@ -26,10 +26,11 @@ diff --git a/Makefile.am b/Makefile.am
 index 0fb3f9f..4623963 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -199,6 +199,7 @@ AM_CPPFLAGS = \
+@@ -199,7 +199,8 @@ AM_CPPFLAGS = \
  	-DKEXEC=\"$(KEXEC)\" \
  	-DLIBDIR=\"$(libdir)\" \
  	-DROOTLIBDIR=\"$(rootlibdir)\" \
+ 	-DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \
 +	-DROOTHOMEDIR=\"$(roothomedir)\" \
  	-DTEST_DIR=\"$(abs_top_srcdir)/test\" \
  	-I $(top_srcdir)/src \
meta/recipes-core/systemd/systemd_219.bb +1 -0
index d1303f7..c196017 100644
@@ -38,6 +38,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd-stable;branch=v219-stab
            file://0007-util-Use-mkostemp-only-if-libc-supports-it.patch \
            file://0008-util-bypass-unimplemented-_SC_PHYS_PAGES-system-conf.patch \
            file://0009-sysv-generator-add-support-for-executing-scripts-und.patch \
+           file://0010-Make-root-s-home-directory-configurable.patch \
            file://0011-systemd-user-avoid-using-system-auth.patch \
            file://0012-systemd-tmpfiles.c-Honor-ordering-within-files-as-th.patch \
            file://0014-Revert-rules-remove-firmware-loading-rules.patch \
Signature · 7 lines
2.1.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw
Quoted 9 lines · Bruno

Thanks Ross!

This slipped trough my fingers when I have remade the first version to use the stable branch.

Martin,

The patch removed will be applied automatically because they are upstreamed on the stable branch.

We have a load of unused orphan patch files left in the tree though? These need to be removed.

Cheers,

Richard

#5 lore raw
Quoted 7 lines · Richard Purdie
Quoted 5 lines · Bruno

Thanks Ross!

This slipped trough my fingers when I have remade the first version to use the stable branch.

Quoted 7 lines
Quoted 4 lines

Martin,

The patch removed will be applied automatically because they are upstreamed on the stable branch.

We have a load of unused orphan patch files left in the tree though? These need to be removed.

I was wondering if there was a script or may be bitbake option to warn about this case whole Metadata wide

Quoted 10 lines

Cheers,

Richard

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#6 lore raw
Quoted 3 lines · Khem Raj

I was wondering if there was a script or may be bitbake option to warn about this case whole Metadata wide

IIRC the "git" patch method will warn when patches are already applied, so doing a world patch with that set might get close.

Ross