Patchwork [PATCH:V2] Remove the redundant "/" in base-files

login
register
mail settings
Submitter lei.yang@windriver.com
Date Jan. 7, 2013, 10:54 a.m.
Message ID <1357556076-17485-1-git-send-email-lei.yang@windriver.com>
Download mbox | patch
Permalink /patch/42181/
State New
Headers show

Comments

lei.yang@windriver.com - Jan. 7, 2013, 10:54 a.m.
From: Lei Yang <lei.yang@windriver.com>

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

Signed-off-by: Lei Yang <lei.yang@windriver.com>
---
 meta/recipes-core/base-files/base-files_3.0.14.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Jan. 7, 2013, 1:38 p.m.
On Mon, 2013-01-07 at 18:54 +0800, lei.yang@windriver.com wrote:
> From: Lei Yang <lei.yang@windriver.com>
> 
> I'm working on my virt-test,when I check this file find it has
> redundant "/"
> 
> Signed-off-by: Lei Yang <lei.yang@windriver.com>
> ---
>  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
lei.yang@windriver.com - Jan. 7, 2013, 3:03 p.m.
On 01/07/2013 09:38 PM, Richard Purdie wrote:
> On Mon, 2013-01-07 at 18:54 +0800, lei.yang@windriver.com wrote:
>> From: Lei Yang<lei.yang@windriver.com>
>>
>> I'm working on my virt-test,when I check this file find it has
>> redundant "/"
>>
>> Signed-off-by: Lei Yang<lei.yang@windriver.com>
>> ---
>>   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

> 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
>
>
>

Patch

diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index 39faad9..8ef7195 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -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