Skip to contentSkip to conversation

resolvconf: remove /var/volatile/run/resolvconf/interface from package

PATCH Superseded Jonathan Liu 2 participants 2 messages May 23, 2013

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 resolvconf: remove /var/volatile/run/resolvconf/interface from package

resolvconf uses /etc/resolvconf/run/interface instead of /var/volatile/run/resolvconf/interface.

---
 meta/recipes-connectivity/resolvconf/resolvconf_1.71.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/resolvconf/resolvconf_1.71.bb +1 -1
index d342a6e..5bbe0b5 100644
@@ -23,7 +23,7 @@ do_compile () {
 }
 
 do_install () {
-	install -d ${D}${sysconfdir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface
+	install -d ${D}${sysconfdir} ${D}${base_sbindir}
 	install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
 	cp -pPR etc/* ${D}${sysconfdir}/
 	chown -R root:root ${D}${sysconfdir}/
Signature · 1 line
1.8.2.3
#1 lore raw
Quoted 3 lines · Jonathan Liu

resolvconf uses /etc/resolvconf/run/interface instead of /var/volatile/run/resolvconf/interface.

resolvconf uses /etc/resolvconf/run, but it really should be a link to /run/resolvconf/, with the interfaces created there.

I don't thing keeping it in /etc/resolvconf will work for read-only FS

Sau!

Quoted 19 lines
---
  meta/recipes-connectivity/resolvconf/resolvconf_1.71.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/resolvconf/resolvconf_1.71.bb +1 -1
index d342a6e..5bbe0b5 100644
@@ -23,7 +23,7 @@ do_compile () {
  }
 
  do_install () {
-	install -d ${D}${sysconfdir} ${D}${base_sbindir} ${D}${localstatedir}/volatile/run/resolvconf/interface
+	install -d ${D}${sysconfdir} ${D}${base_sbindir}
  	install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
  	cp -pPR etc/* ${D}${sysconfdir}/
  	chown -R root:root ${D}${sysconfdir}/