Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Update oprofile to know about OE root home directory
@ 2012-07-02 19:25 Mark Hatle
  2012-07-02 19:25 ` [PATCH 1/1] oprofile: Change /root to /home/root Mark Hatle
  2012-07-05 17:44 ` [PATCH 0/1] Update oprofile to know about OE root home directory Saul Wold
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Hatle @ 2012-07-02 19:25 UTC (permalink / raw)
  To: openembedded-core

The root home directory is /home/root and not /root, adjust oprofile to match.

The following changes since commit 64422f7c5da160050a5454817c8fa9d070104b34:

  package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS (2012-07-02 16:44:57 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib mhatle/oprofile
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/oprofile

Mark Hatle (1):
  oprofile: Change /root to /home/root

 meta/recipes-kernel/oprofile/oprofile.inc          |    3 +-
 .../oprofile/oprofile/oprofile-root.patch          |  108 ++++++++++++++++++++
 2 files changed, 110 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-kernel/oprofile/oprofile/oprofile-root.patch

-- 
1.7.3.4




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-02 19:25 [PATCH 0/1] Update oprofile to know about OE root home directory Mark Hatle
@ 2012-07-02 19:25 ` Mark Hatle
  2012-07-02 20:06   ` Phil Blundell
  2012-07-05 17:44 ` [PATCH 0/1] Update oprofile to know about OE root home directory Saul Wold
  1 sibling, 1 reply; 10+ messages in thread
From: Mark Hatle @ 2012-07-02 19:25 UTC (permalink / raw)
  To: openembedded-core

OE uses /home/root instead of /root for the root user's directory.  Update
oprofile to match.

Upstream-status: Inappropriate [OE Specific]

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-kernel/oprofile/oprofile.inc          |    3 +-
 .../oprofile/oprofile/oprofile-root.patch          |  108 ++++++++++++++++++++
 2 files changed, 110 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-kernel/oprofile/oprofile/oprofile-root.patch

diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
index 73a5a07..ac8ce10 100644
--- a/meta/recipes-kernel/oprofile/oprofile.inc
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -19,10 +19,11 @@ FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
 FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
 FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
 
-INC_PR = "r0"
+INC_PR = "r1"
 
 SRC_URI = "file://opstart.patch \
            file://oprofile-no-query-modules.patch \
+           file://oprofile-root.patch \
            file://acinclude.m4"
 
 inherit autotools
diff --git a/meta/recipes-kernel/oprofile/oprofile/oprofile-root.patch b/meta/recipes-kernel/oprofile/oprofile/oprofile-root.patch
new file mode 100644
index 0000000..db63a8e
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofile/oprofile-root.patch
@@ -0,0 +1,108 @@
+Change hardcoded /root to /home/root
+
+Upstream-Status: inappropriate [OE specific]
+
+Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+
+diff -ur oprofile-0.9.7.orig/doc/opcontrol.1.in oprofile-0.9.7/doc/opcontrol.1.in
+--- oprofile-0.9.7.orig/doc/opcontrol.1.in	2011-07-04 21:25:04.000000000 -0500
++++ oprofile-0.9.7/doc/opcontrol.1.in	2012-07-02 14:02:16.358865420 -0500
+@@ -171,7 +171,7 @@
+ 
+ .SH FILES
+ .TP
+-.I /root/.oprofile/daemonrc
++.I /home/root/.oprofile/daemonrc
+ Configuration file for opcontrol
+ .TP
+ .I /var/lib/oprofile/samples/
+diff -ur oprofile-0.9.7.orig/doc/oprofile.1 oprofile-0.9.7/doc/oprofile.1
+--- oprofile-0.9.7.orig/doc/oprofile.1	2011-08-12 10:23:27.000000000 -0500
++++ oprofile-0.9.7/doc/oprofile.1	2012-07-02 14:02:29.295862358 -0500
+@@ -150,7 +150,7 @@
+ .I $HOME/.oprofile/
+ Configuration files
+ .TP
+-.I /root/.oprofile/daemonrc
++.I /home/root/.oprofile/daemonrc
+ Configuration file for opcontrol
+ .TP
+ .I /opt/oprofile-0.9.7-rc3/share/oprofile/
+diff -ur oprofile-0.9.7.orig/doc/oprofile.1.in oprofile-0.9.7/doc/oprofile.1.in
+--- oprofile-0.9.7.orig/doc/oprofile.1.in	2011-07-04 21:25:04.000000000 -0500
++++ oprofile-0.9.7/doc/oprofile.1.in	2012-07-02 14:01:35.812004623 -0500
+@@ -150,7 +150,7 @@
+ .I $HOME/.oprofile/
+ Configuration files
+ .TP
+-.I /root/.oprofile/daemonrc
++.I /home/root/.oprofile/daemonrc
+ Configuration file for opcontrol
+ .TP
+ .I @prefix@/share/oprofile/
+diff -ur oprofile-0.9.7.orig/doc/oprofile.html oprofile-0.9.7/doc/oprofile.html
+--- oprofile-0.9.7.orig/doc/oprofile.html	2011-07-04 21:32:35.000000000 -0500
++++ oprofile-0.9.7/doc/oprofile.html	2012-07-02 14:04:59.804018961 -0500
+@@ -1394,7 +1394,7 @@
+               <dd>
+                 <p>
+ 		    Followed by list arguments for profiling set up. List of arguments
+-		    saved in <code class="filename">/root/.oprofile/daemonrc</code>.
++		    saved in <code class="filename">/home/root/.oprofile/daemonrc</code>.
+ 		    Giving this option is not necessary; you can just directly pass one
+ 		    of the setup options, e.g. <span class="command"><strong>opcontrol --no-vmlinux</strong></span>.
+ 		  </p>
+@@ -1430,7 +1430,7 @@
+               <dd>
+                 <p>
+ 		    Start data collection with either arguments provided by <code class="option">--setup</code>
+-		or information saved in <code class="filename">/root/.oprofile/daemonrc</code>. Specifying
++		or information saved in <code class="filename">/home/root/.oprofile/daemonrc</code>. Specifying
+ 		the addition <code class="option">--verbose</code> makes the daemon generate lots of debug data
+ 		whilst it is running.
+ 		</p>
+diff -ur oprofile-0.9.7.orig/doc/oprofile.xml oprofile-0.9.7/doc/oprofile.xml
+--- oprofile-0.9.7.orig/doc/oprofile.xml	2011-07-04 21:25:04.000000000 -0500
++++ oprofile-0.9.7/doc/oprofile.xml	2012-07-02 14:02:03.543019283 -0500
+@@ -568,7 +568,7 @@
+ 		<term><option>--setup</option></term>
+ 		<listitem><para>
+ 		    Followed by list arguments for profiling set up. List of arguments
+-		    saved in <filename>/root/.oprofile/daemonrc</filename>.
++		    saved in <filename>/home/root/.oprofile/daemonrc</filename>.
+ 		    Giving this option is not necessary; you can just directly pass one
+ 		    of the setup options, e.g. <command>opcontrol --no-vmlinux</command>.
+ 		  </para></listitem>
+@@ -592,7 +592,7 @@
+ 		<term><option>--start</option></term>
+ 		<listitem><para>
+ 		    Start data collection with either arguments provided by <option>--setup</option>
+-		or information saved in <filename>/root/.oprofile/daemonrc</filename>. Specifying
++		or information saved in <filename>/home/root/.oprofile/daemonrc</filename>. Specifying
+ 		the addition <option>--verbose</option> makes the daemon generate lots of debug data
+ 		whilst it is running.
+ 		</para></listitem>
+diff -ur oprofile-0.9.7.orig/gui/oprof_start_util.cpp oprofile-0.9.7/gui/oprof_start_util.cpp
+--- oprofile-0.9.7.orig/gui/oprof_start_util.cpp	2011-07-04 21:25:04.000000000 -0500
++++ oprofile-0.9.7/gui/oprof_start_util.cpp	2012-07-02 13:55:21.041876096 -0500
+@@ -39,7 +39,7 @@
+ // return the ~ expansion suffixed with a '/'
+ string const get_config_dir()
+ {
+-	return "/root";
++	return "/home/root";
+ }
+ 
+ string daemon_pid;
+diff -ur oprofile-0.9.7.orig/utils/opcontrol oprofile-0.9.7/utils/opcontrol
+--- oprofile-0.9.7.orig/utils/opcontrol	2011-07-20 14:36:48.000000000 -0500
++++ oprofile-0.9.7/utils/opcontrol	2012-07-02 13:55:06.232872688 -0500
+@@ -384,7 +384,7 @@
+ 	OPROFILED="$OPDIR/oprofiled"
+ 
+ 	# location for daemon setup information
+-	SETUP_DIR="/root/.oprofile"
++	SETUP_DIR="/home/root/.oprofile"
+ 	SETUP_FILE="$SETUP_DIR/daemonrc"
+ 	SEC_SETUP_FILE="$SETUP_DIR/daemonrc_new"
+ 
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-02 19:25 ` [PATCH 1/1] oprofile: Change /root to /home/root Mark Hatle
@ 2012-07-02 20:06   ` Phil Blundell
  2012-07-02 20:31     ` Mark Hatle
  2012-07-02 23:44     ` Khem Raj
  0 siblings, 2 replies; 10+ messages in thread
From: Phil Blundell @ 2012-07-02 20:06 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, 2012-07-02 at 14:25 -0500, Mark Hatle wrote:
> +diff -ur oprofile-0.9.7.orig/utils/opcontrol oprofile-0.9.7/utils/opcontrol
> +--- oprofile-0.9.7.orig/utils/opcontrol	2011-07-20 14:36:48.000000000 -0500
> ++++ oprofile-0.9.7/utils/opcontrol	2012-07-02 13:55:06.232872688 -0500
> +@@ -384,7 +384,7 @@
> + 	OPROFILED="$OPDIR/oprofiled"
> + 
> + 	# location for daemon setup information
> +-	SETUP_DIR="/root/.oprofile"
> ++	SETUP_DIR="/home/root/.oprofile"
> + 	SETUP_FILE="$SETUP_DIR/daemonrc"
> + 	SEC_SETUP_FILE="$SETUP_DIR/daemonrc_new"
> + 

Why is it putting "daemon setup information" in /root in the first
place?  Surely that should go in /etc or some such place.

Also, the choice of where root's home directory goes is a distro
decision and, in the general case, it is not correct to say that "OE
uses /home/root".  Changing the hardcoded value from one thing to
another is probably not that much of an improvement overall. 

p.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-02 20:06   ` Phil Blundell
@ 2012-07-02 20:31     ` Mark Hatle
  2012-07-02 23:44     ` Khem Raj
  1 sibling, 0 replies; 10+ messages in thread
From: Mark Hatle @ 2012-07-02 20:31 UTC (permalink / raw)
  To: openembedded-core

On 7/2/12 3:06 PM, Phil Blundell wrote:
> On Mon, 2012-07-02 at 14:25 -0500, Mark Hatle wrote:
>> +diff -ur oprofile-0.9.7.orig/utils/opcontrol oprofile-0.9.7/utils/opcontrol
>> +--- oprofile-0.9.7.orig/utils/opcontrol	2011-07-20 14:36:48.000000000 -0500
>> ++++ oprofile-0.9.7/utils/opcontrol	2012-07-02 13:55:06.232872688 -0500
>> +@@ -384,7 +384,7 @@
>> + 	OPROFILED="$OPDIR/oprofiled"
>> +
>> + 	# location for daemon setup information
>> +-	SETUP_DIR="/root/.oprofile"
>> ++	SETUP_DIR="/home/root/.oprofile"
>> + 	SETUP_FILE="$SETUP_DIR/daemonrc"
>> + 	SEC_SETUP_FILE="$SETUP_DIR/daemonrc_new"
>> +
>
> Why is it putting "daemon setup information" in /root in the first
> place?  Surely that should go in /etc or some such place.
>
> Also, the choice of where root's home directory goes is a distro
> decision and, in the general case, it is not correct to say that "OE
> uses /home/root".  Changing the hardcoded value from one thing to
> another is probably not that much of an improvement overall.

systemd (meta-oe), base-passwd, base-files (profile settings), xserver-
nodm-init-2.0/xserver-nodm -- they all have patches that change hard coded /root 
to /home/root.

I don't honestly care which we used, but /home/root has been used as -the- root 
directory on OE since as far back as 2004 from what I can tell.

As for the files, these are files used by the system to setup and store the 
data.  oprofile does this to the root home directory.  I don't know or 
understand why, other then I have a bug in my pile that says oprofile is 
currently broken, as there is no /root directory.

--Mark

> p.
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-02 20:06   ` Phil Blundell
  2012-07-02 20:31     ` Mark Hatle
@ 2012-07-02 23:44     ` Khem Raj
  2012-07-03 15:28       ` Philip Balister
  1 sibling, 1 reply; 10+ messages in thread
From: Khem Raj @ 2012-07-02 23:44 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, Jul 2, 2012 at 1:06 PM, Phil Blundell <philb@gnu.org> wrote:
>
> Why is it putting "daemon setup information" in /root in the first
> place?  Surely that should go in /etc or some such place.
>
> Also, the choice of where root's home directory goes is a distro
> decision and, in the general case, it is not correct to say that "OE
> uses /home/root".  Changing the hardcoded value from one thing to
> another is probably not that much of an improvement overall.

yes having ROOTHOME configurable is desirable but probably nothing as such
exists AFAICT



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-02 23:44     ` Khem Raj
@ 2012-07-03 15:28       ` Philip Balister
  2012-07-03 16:30         ` Mark Hatle
  0 siblings, 1 reply; 10+ messages in thread
From: Philip Balister @ 2012-07-03 15:28 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/02/2012 07:44 PM, Khem Raj wrote:
> On Mon, Jul 2, 2012 at 1:06 PM, Phil Blundell <philb@gnu.org> wrote:
>>
>> Why is it putting "daemon setup information" in /root in the first
>> place?  Surely that should go in /etc or some such place.
>>
>> Also, the choice of where root's home directory goes is a distro
>> decision and, in the general case, it is not correct to say that "OE
>> uses /home/root".  Changing the hardcoded value from one thing to
>> another is probably not that much of an improvement overall.
>
> yes having ROOTHOME configurable is desirable but probably nothing as such
> exists AFAICT

Why do we use /home/root instead of /root? If we are having to patch 
multiple recipes to account for this, maybe we should default to /root?

Philip




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-03 15:28       ` Philip Balister
@ 2012-07-03 16:30         ` Mark Hatle
  2012-07-03 16:45           ` Saul Wold
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Hatle @ 2012-07-03 16:30 UTC (permalink / raw)
  To: openembedded-core

On 7/3/12 10:28 AM, Philip Balister wrote:
> On 07/02/2012 07:44 PM, Khem Raj wrote:
>> On Mon, Jul 2, 2012 at 1:06 PM, Phil Blundell <philb@gnu.org> wrote:
>>>
>>> Why is it putting "daemon setup information" in /root in the first
>>> place?  Surely that should go in /etc or some such place.
>>>
>>> Also, the choice of where root's home directory goes is a distro
>>> decision and, in the general case, it is not correct to say that "OE
>>> uses /home/root".  Changing the hardcoded value from one thing to
>>> another is probably not that much of an improvement overall.
>>
>> yes having ROOTHOME configurable is desirable but probably nothing as such
>> exists AFAICT
>
> Why do we use /home/root instead of /root? If we are having to patch
> multiple recipes to account for this, maybe we should default to /root?

I attempted to figure this out yesterday... I probably have some details wrong, 
so anyone who knows should correct this...

The original Zaurus (commercial release) used /home/root, because the main / 
filesystem was read-only, and there was a need for all user data to reside on rw 
space (SD card?)

When OpenZaurus came about, it copied this behavior and it was eventually 
adopted by handhelds.org, nslu2, OpenEmbedded etc.. this is around 2004 time 
frame and later.

The first reference to this I find in the logs is around January of 2004, and 
it's been that way ever since.

 From what I can tell, there used to be a symlink from /root -> /home/root... 
but I don't see that symlink in OE anymore.


This who /home/root vs /root certainly caught me by surprise.. but frankly I 
don't care either way.  oprofile is not matching the system, so it needs to 
match -- or the system needs to change.

Most of the developers I work with are partial to /root vs /home/root.  I'm open 
to either changing it back to /root, allowing for a more dynamic option, or 
keeping it the way it is..

--Mark

> Philip
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-03 16:30         ` Mark Hatle
@ 2012-07-03 16:45           ` Saul Wold
  2012-07-03 16:55             ` Mark Hatle
  0 siblings, 1 reply; 10+ messages in thread
From: Saul Wold @ 2012-07-03 16:45 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/03/2012 09:30 AM, Mark Hatle wrote:
> On 7/3/12 10:28 AM, Philip Balister wrote:
>> On 07/02/2012 07:44 PM, Khem Raj wrote:
>>> On Mon, Jul 2, 2012 at 1:06 PM, Phil Blundell <philb@gnu.org> wrote:
>>>>
>>>> Why is it putting "daemon setup information" in /root in the first
>>>> place? Surely that should go in /etc or some such place.
>>>>
>>>> Also, the choice of where root's home directory goes is a distro
>>>> decision and, in the general case, it is not correct to say that "OE
>>>> uses /home/root". Changing the hardcoded value from one thing to
>>>> another is probably not that much of an improvement overall.
>>>
>>> yes having ROOTHOME configurable is desirable but probably nothing as
>>> such
>>> exists AFAICT
>>
>> Why do we use /home/root instead of /root? If we are having to patch
>> multiple recipes to account for this, maybe we should default to /root?
>
> I attempted to figure this out yesterday... I probably have some details
> wrong, so anyone who knows should correct this...
>
> The original Zaurus (commercial release) used /home/root, because the
> main / filesystem was read-only, and there was a need for all user data
> to reside on rw space (SD card?)
>
> When OpenZaurus came about, it copied this behavior and it was
> eventually adopted by handhelds.org, nslu2, OpenEmbedded etc.. this is
> around 2004 time frame and later.
>
> The first reference to this I find in the logs is around January of
> 2004, and it's been that way ever since.
>
>  From what I can tell, there used to be a symlink from /root ->
> /home/root... but I don't see that symlink in OE anymore.
>
>
> This who /home/root vs /root certainly caught me by surprise.. but
> frankly I don't care either way. oprofile is not matching the system, so
> it needs to match -- or the system needs to change.
>
> Most of the developers I work with are partial to /root vs /home/root.
> I'm open to either changing it back to /root, allowing for a more
> dynamic option, or keeping it the way it is..
>
Mark,

For the sack of expediency, maybe we take your change now, can you file 
a bug to make it dynamic and we can get that fixed overall?

Making it dynamic will require a bit more work, would you take that RFE 
on for 1.3 or future?

Sau!

> --Mark
>
>> Philip
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/1] oprofile: Change /root to /home/root
  2012-07-03 16:45           ` Saul Wold
@ 2012-07-03 16:55             ` Mark Hatle
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Hatle @ 2012-07-03 16:55 UTC (permalink / raw)
  To: Saul Wold; +Cc: Patches and discussions about the oe-core layer

On 7/3/12 11:45 AM, Saul Wold wrote:
> On 07/03/2012 09:30 AM, Mark Hatle wrote:
>> On 7/3/12 10:28 AM, Philip Balister wrote:
>>> On 07/02/2012 07:44 PM, Khem Raj wrote:
>>>> On Mon, Jul 2, 2012 at 1:06 PM, Phil Blundell <philb@gnu.org> wrote:
>>>>>
>>>>> Why is it putting "daemon setup information" in /root in the first
>>>>> place? Surely that should go in /etc or some such place.
>>>>>
>>>>> Also, the choice of where root's home directory goes is a distro
>>>>> decision and, in the general case, it is not correct to say that "OE
>>>>> uses /home/root". Changing the hardcoded value from one thing to
>>>>> another is probably not that much of an improvement overall.
>>>>
>>>> yes having ROOTHOME configurable is desirable but probably nothing as
>>>> such
>>>> exists AFAICT
>>>
>>> Why do we use /home/root instead of /root? If we are having to patch
>>> multiple recipes to account for this, maybe we should default to /root?
>>
>> I attempted to figure this out yesterday... I probably have some details
>> wrong, so anyone who knows should correct this...
>>
>> The original Zaurus (commercial release) used /home/root, because the
>> main / filesystem was read-only, and there was a need for all user data
>> to reside on rw space (SD card?)
>>
>> When OpenZaurus came about, it copied this behavior and it was
>> eventually adopted by handhelds.org, nslu2, OpenEmbedded etc.. this is
>> around 2004 time frame and later.
>>
>> The first reference to this I find in the logs is around January of
>> 2004, and it's been that way ever since.
>>
>>   From what I can tell, there used to be a symlink from /root ->
>> /home/root... but I don't see that symlink in OE anymore.
>>
>>
>> This who /home/root vs /root certainly caught me by surprise.. but
>> frankly I don't care either way. oprofile is not matching the system, so
>> it needs to match -- or the system needs to change.
>>
>> Most of the developers I work with are partial to /root vs /home/root.
>> I'm open to either changing it back to /root, allowing for a more
>> dynamic option, or keeping it the way it is..
>>
> Mark,
>
> For the sack of expediency, maybe we take your change now, can you file
> a bug to make it dynamic and we can get that fixed overall?
>
> Making it dynamic will require a bit more work, would you take that RFE
> on for 1.3 or future?

I'll add an enhancement request to the Yocto Project bugzilla.. I'm not sure at 
this point where it could be implemented, but due to history the "safe" answer 
right now is to keep /home/root until we can make it dynamic.

--Mark

> Sau!
>
>> --Mark
>>
>>> Philip
>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/1] Update oprofile to know about OE root home directory
  2012-07-02 19:25 [PATCH 0/1] Update oprofile to know about OE root home directory Mark Hatle
  2012-07-02 19:25 ` [PATCH 1/1] oprofile: Change /root to /home/root Mark Hatle
@ 2012-07-05 17:44 ` Saul Wold
  1 sibling, 0 replies; 10+ messages in thread
From: Saul Wold @ 2012-07-05 17:44 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/02/2012 12:25 PM, Mark Hatle wrote:
> The root home directory is /home/root and not /root, adjust oprofile to match.
>
> The following changes since commit 64422f7c5da160050a5454817c8fa9d070104b34:
>
>    package.bbclass: Add missing PKGR, PKGV, PKGE and ALTERNATIVE variables from PACKAGEVARS (2012-07-02 16:44:57 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib mhatle/oprofile
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/oprofile
>
> Mark Hatle (1):
>    oprofile: Change /root to /home/root
>
>   meta/recipes-kernel/oprofile/oprofile.inc          |    3 +-
>   .../oprofile/oprofile/oprofile-root.patch          |  108 ++++++++++++++++++++
>   2 files changed, 110 insertions(+), 1 deletions(-)
>   create mode 100644 meta/recipes-kernel/oprofile/oprofile/oprofile-root.patch
>

Merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-05 17:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 19:25 [PATCH 0/1] Update oprofile to know about OE root home directory Mark Hatle
2012-07-02 19:25 ` [PATCH 1/1] oprofile: Change /root to /home/root Mark Hatle
2012-07-02 20:06   ` Phil Blundell
2012-07-02 20:31     ` Mark Hatle
2012-07-02 23:44     ` Khem Raj
2012-07-03 15:28       ` Philip Balister
2012-07-03 16:30         ` Mark Hatle
2012-07-03 16:45           ` Saul Wold
2012-07-03 16:55             ` Mark Hatle
2012-07-05 17:44 ` [PATCH 0/1] Update oprofile to know about OE root home directory Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox