Skip to contentSkip to conversation

hiawatha: fix the installation failure due to no /var/run dir

PATCH In review [email protected] 1 participant 3 messages Jul 2, 2015 – Aug 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hiawatha: fix the installation failure due to no /var/run dir

From: Roy Li <[email protected]>

after cmake is upgrade to 3.2.2, the /var/run dir is not created, so not need to remove it.

---
 meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb | 1 -
 1 file changed, 1 deletion(-)
meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb +0 -1
index b9fa5cd..31293e4 100644
@@ -53,7 +53,6 @@ do_install_append() {
         install -m 644 ${WORKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system
     fi
 
-    rmdir "${D}${localstatedir}/run"
     rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
 }
 
Signature · 1 line
1.9.1
#1 lore raw

ping

-Roy

Quoted 23 lines · On 2015年07月02日 15:02, [email protected] wrote:

From: Roy Li <[email protected]>

after cmake is upgrade to 3.2.2, the /var/run dir is not created, so not need to remove it.

---
  meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb | 1 -
  1 file changed, 1 deletion(-)
meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb +0 -1
index b9fa5cd..31293e4 100644
@@ -53,7 +53,6 @@ do_install_append() {
          install -m 644 ${WORKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system
      fi
 
-    rmdir "${D}${localstatedir}/run"
      rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
  }
 
Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#2 lore raw
In reply to [email protected]

ping

-Roy

Quoted 23 lines · On 2015年07月02日 15:02, [email protected] wrote:

From: Roy Li <[email protected]>

after cmake is upgrade to 3.2.2, the /var/run dir is not created, so not need to remove it.

---
  meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb | 1 -
  1 file changed, 1 deletion(-)
meta-webserver/recipes-httpd/hiawatha/hiawatha_9.2.bb +0 -1
index b9fa5cd..31293e4 100644
@@ -53,7 +53,6 @@ do_install_append() {
          install -m 644 ${WORKDIR}/hiawatha.service ${D}/${systemd_unitdir}/system
      fi
 
-    rmdir "${D}${localstatedir}/run"
      rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
  }
 
Signature · 2 lines
Best Reagrds,
Roy | RongQing Li