Skip to contentSkip to conversation

systemd: update install-quotaon-once.patch

PATCH Superseded Ross Burton 2 participants 3 messages Jun 12, 2013 – Jun 14, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: update install-quotaon-once.patch

This patch has been merged upstream now, so refresh the patch with a backport (the patch was changed before being merged).

---
 .../systemd/systemd/install-quotaon-once.patch     |   32 +++++++++++---------
 1 file changed, 17 insertions(+), 15 deletions(-)
meta/recipes-core/systemd/systemd/install-quotaon-once.patch +17 -15
index 10280da..098a5f8 100644
@@ -1,7 +1,7 @@
-Upstream-Status: Submitted (https://bugs.freedesktop.org/show_bug.cgi?id=65659)
+Upstream-Status: Backport
 Signed-off-by: Ross Burton <[email protected]>
 
-From 44b7c4dc877984b5ea3f2c9fa09a93ee16dbe3b2 Mon Sep 17 00:00:00 2001
+From 622004565eca385c685086cd478aa79afe73b785 Mon Sep 17 00:00:00 2001
 From: Ross Burton <[email protected]>
 Date: Tue, 11 Jun 2013 17:16:37 +0100
 Subject: [PATCH] build-sys: don't install quotaon.service twice
@@ -9,24 +9,26 @@ Subject: [PATCH] build-sys: don't install quotaon.service twice
 quotaon.service is already installed through dist_systemunit_DATA, so it doesn't
 need to be added to nodist_systemunit_DATA.  Installing the same file twice
 results in a race condition where the install process can fail.
+
+https://bugs.freedesktop.org/show_bug.cgi?id=65659
+
+[zj: actually remove quotaon.service from the other list.]
 ---
- Makefile.am |    3 ---
- 1 file changed, 3 deletions(-)
+ Makefile.am |    1 -
+ 1 file changed, 1 deletion(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index 28ae7ed..197119e 100644
+index 28ae7ed..3219762 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -3229,9 +3229,6 @@ endif
- EXTRA_DIST += \
- 	units/systemd-quotacheck.service.in
- 
--nodist_systemunit_DATA += \
--	units/quotaon.service
--
- # ------------------------------------------------------------------------------
- if ENABLE_RANDOMSEED
- rootlibexec_PROGRAMS += \
+@@ -389,7 +389,6 @@ dist_systemunit_DATA = \
+ 	units/sound.target \
+ 	units/bluetooth.target \
+ 	units/smartcard.target \
+-	units/quotaon.service \
+ 	units/systemd-ask-password-wall.path \
+ 	units/systemd-ask-password-console.path \
+ 	units/systemd-udevd-control.socket \
 -- 
 1.7.10.4
 
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 8 lines · Ross Burton

This patch has been merged upstream now, so refresh the patch with a backport (the patch was changed before being merged).

---
  .../systemd/systemd/install-quotaon-once.patch     |   32 +++++++++++---------
  1 file changed, 17 insertions(+), 15 deletions(-)

This seems to not being applied correctly

http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-systemd/builds/47/steps/Building%20Images_1/logs/stdio

Sau!

Quoted 55 lines
meta/recipes-core/systemd/systemd/install-quotaon-once.patch +17 -15
index 10280da..098a5f8 100644
@@ -1,7 +1,7 @@
-Upstream-Status: Submitted (https://bugs.freedesktop.org/show_bug.cgi?id=65659)
+Upstream-Status: Backport
  Signed-off-by: Ross Burton <[email protected]>
 
-From 44b7c4dc877984b5ea3f2c9fa09a93ee16dbe3b2 Mon Sep 17 00:00:00 2001
+From 622004565eca385c685086cd478aa79afe73b785 Mon Sep 17 00:00:00 2001
  From: Ross Burton <[email protected]>
  Date: Tue, 11 Jun 2013 17:16:37 +0100
  Subject: [PATCH] build-sys: don't install quotaon.service twice
@@ -9,24 +9,26 @@ Subject: [PATCH] build-sys: don't install quotaon.service twice
  quotaon.service is already installed through dist_systemunit_DATA, so it doesn't
  need to be added to nodist_systemunit_DATA.  Installing the same file twice
  results in a race condition where the install process can fail.
+
+https://bugs.freedesktop.org/show_bug.cgi?id=65659
+
+[zj: actually remove quotaon.service from the other list.]
  ---
- Makefile.am |    3 ---
- 1 file changed, 3 deletions(-)
+ Makefile.am |    1 -
+ 1 file changed, 1 deletion(-)
 
  diff --git a/Makefile.am b/Makefile.am
-index 28ae7ed..197119e 100644
+index 28ae7ed..3219762 100644
  --- a/Makefile.am
  +++ b/Makefile.am
-@@ -3229,9 +3229,6 @@ endif
- EXTRA_DIST += \
- 	units/systemd-quotacheck.service.in
-
--nodist_systemunit_DATA += \
--	units/quotaon.service
--
- # ------------------------------------------------------------------------------
- if ENABLE_RANDOMSEED
- rootlibexec_PROGRAMS += \
+@@ -389,7 +389,6 @@ dist_systemunit_DATA = \
+ 	units/sound.target \
+ 	units/bluetooth.target \
+ 	units/smartcard.target \
+-	units/quotaon.service \
+ 	units/systemd-ask-password-wall.path \
+ 	units/systemd-ask-password-console.path \
+ 	units/systemd-udevd-control.socket \
  --
  1.7.10.4
 
#2 lore raw
Quoted 1 line · Saul Wold

This seems to not being applied correctly

I failed to backport to the release branch, stupid mistake. V2 sent.

Ross