Patchwork [2/6] atom-pc:fix xuser write to usb storage failed

login
register
mail settings
Submitter Hongxu Jia
Date July 12, 2013, 9:29 a.m.
Message ID <8c39af966fa951e9395639e403195b34c37e6dbb.1373599041.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/53553/
State New
Headers show

Comments

Hongxu Jia - July 12, 2013, 9:29 a.m.
Add package pmount to atom-pc, the normal user could invoke pmount to mount
storage device and would have permissions to access it.

[YOCTO #4004]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-yocto-bsp/conf/machine/atom-pc.conf | 1 +
 1 file changed, 1 insertion(+)
Saul Wold - July 15, 2013, 7:14 a.m.
On 07/12/2013 02:29 AM, Hongxu Jia wrote:
> Add package pmount to atom-pc, the normal user could invoke pmount to mount
> storage device and would have permissions to access it.
>
This should really have gone to the Poky ML (poky@yoctoproject.org)

Sau!

> [YOCTO #4004]
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
>   meta-yocto-bsp/conf/machine/atom-pc.conf | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta-yocto-bsp/conf/machine/atom-pc.conf b/meta-yocto-bsp/conf/machine/atom-pc.conf
> index 6318d60..127b3ad 100644
> --- a/meta-yocto-bsp/conf/machine/atom-pc.conf
> +++ b/meta-yocto-bsp/conf/machine/atom-pc.conf
> @@ -35,3 +35,4 @@ GLIBC_ADDONS = "nptl"
>   EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
>
>   ROOTLESS_X = "1"
> +IMAGE_INSTALL_append = " pmount"
>
Hongxu Jia - July 15, 2013, 7:42 a.m.
On 07/15/2013 03:14 PM, Saul Wold wrote:
> On 07/12/2013 02:29 AM, Hongxu Jia wrote:
>> Add package pmount to atom-pc, the normal user could invoke pmount to 
>> mount
>> storage device and would have permissions to access it.
>>
> This should really have gone to the Poky ML (poky@yoctoproject.org)
>
Got it, I will sent this patch to poky@yoctoproject.org
> Sau!
>
>> [YOCTO #4004]
>>
>> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
>> ---
>>   meta-yocto-bsp/conf/machine/atom-pc.conf | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta-yocto-bsp/conf/machine/atom-pc.conf 
>> b/meta-yocto-bsp/conf/machine/atom-pc.conf
>> index 6318d60..127b3ad 100644
>> --- a/meta-yocto-bsp/conf/machine/atom-pc.conf
>> +++ b/meta-yocto-bsp/conf/machine/atom-pc.conf
>> @@ -35,3 +35,4 @@ GLIBC_ADDONS = "nptl"
>>   EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
>>
>>   ROOTLESS_X = "1"
>> +IMAGE_INSTALL_append = " pmount"
>>

Patch

diff --git a/meta-yocto-bsp/conf/machine/atom-pc.conf b/meta-yocto-bsp/conf/machine/atom-pc.conf
index 6318d60..127b3ad 100644
--- a/meta-yocto-bsp/conf/machine/atom-pc.conf
+++ b/meta-yocto-bsp/conf/machine/atom-pc.conf
@@ -35,3 +35,4 @@  GLIBC_ADDONS = "nptl"
 EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
 
 ROOTLESS_X = "1"
+IMAGE_INSTALL_append = " pmount"