Skip to contentSkip to conversation

Remove the redundant "/" in base-files

PATCH:V2 [email protected] 2 participants 3 messages Jan 7, 2013

lore
Share & tools
lore
#0 lore raw

From: Lei Yang <[email protected]>

I'm working on my virt-test,when I check this file find it has redundant "/"

---
 meta/recipes-core/base-files/base-files_3.0.14.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/base-files/base-files_3.0.14.bb +2 -2
index 39faad9..8ef7195 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Miscellaneous files for the base system."
 DESCRIPTION = "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system."
 SECTION = "base"
-PR = "r72"
+PR = "r73"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
 # Removed all license related tasks in this recipe as license.bbclass 
@@ -78,7 +78,7 @@ do_install () {
 		install -m 2755 -d ${D}$d
 	done
 	for d in ${volatiles}; do
-		ln -sf volatile/$d ${D}/${localstatedir}/$d
+		ln -sf volatile/$d ${D}${localstatedir}/$d
 	done
 	for d in card cf net ram; do
 		ln -sf /media/$d ${D}/mnt/$d
Signature · 1 line
1.7.1
#1 lore raw
Quoted 9 lines · On Mon, 2013-01-07 at 18:54 +0800, [email protected] wrote:

From: Lei Yang <[email protected]>

I'm working on my virt-test,when I check this file find it has redundant "/"

---
 meta/recipes-core/base-files/base-files_3.0.14.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

The subject line should be:

base-files: Remove the redundant "/"

with the recipe/files being changed at the start, as per the commit guidelines.

I've fixed it this this and merged it.

Cheers,

Richard

author
#2 lore raw
Quoted 6 lines · Richard Purdie
Quoted 5 lines · On Mon, 2013-01-07 at 18:54 +0800, [email protected] wrote:

From: Lei Yang<[email protected]>

I'm working on my virt-test,when I check this file find it has redundant "/"

Quoted 7 lines
Quoted 4 lines
---
  meta/recipes-core/base-files/base-files_3.0.14.bb |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

The subject line should be:

base-files: Remove the redundant "/"

Thanks for this info

Lei

Quoted 11 lines

with the recipe/files being changed at the start, as per the commit guidelines.

I've fixed it this this and merged it.

Cheers,

Richard