* [PATCH 0/1] image.bbclass: default USE_DEVFS to '1'
@ 2013-12-09 3:17 Qi.Chen
2013-12-09 3:17 ` [PATCH 1/1] " Qi.Chen
0 siblings, 1 reply; 7+ messages in thread
From: Qi.Chen @ 2013-12-09 3:17 UTC (permalink / raw)
To: openembedded-core
From: Chen Qi <Qi.Chen@windriver.com>
The following changes since commit 184038bedb20f74ba4dcad6ef2d92e87a9ba5f9a:
bitbake: fetch2/git: Ensure check is made in the correct directory (2013-12-06 14:10:15 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/USE_DEVFS
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/USE_DEVFS
Chen Qi (1):
image.bbclass: default USE_DEVFS to '1'
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'
2013-12-09 3:17 [PATCH 0/1] image.bbclass: default USE_DEVFS to '1' Qi.Chen
@ 2013-12-09 3:17 ` Qi.Chen
2013-12-09 11:52 ` Otavio Salvador
0 siblings, 1 reply; 7+ messages in thread
From: Qi.Chen @ 2013-12-09 3:17 UTC (permalink / raw)
To: openembedded-core
From: Chen Qi <Qi.Chen@windriver.com>
Default USE_DEVFS to "1" so that the `makedevs' command is not run
at rootfs time by default. There are mainly two reasons to do so.
1. This will fix a build failure with initramfs-kexecboot-klibc-image.
2. Most of our images use a filesystem over /dev. Most of the time, it's
just devtmpfs. So we actually are using a filesystem over /dev.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index cc65e35..b8bd462 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
# Images are generally built explicitly, do not need to be part of world.
EXCLUDE_FROM_WORLD = "1"
-USE_DEVFS ?= "0"
+USE_DEVFS ?= "1"
PID = "${@os.getpid()}"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'
2013-12-09 3:17 ` [PATCH 1/1] " Qi.Chen
@ 2013-12-09 11:52 ` Otavio Salvador
2013-12-09 13:52 ` Andrea Adami
2013-12-10 2:31 ` ChenQi
0 siblings, 2 replies; 7+ messages in thread
From: Otavio Salvador @ 2013-12-09 11:52 UTC (permalink / raw)
To: ChenQi; +Cc: Patches and discussions about the oe-core layer
Hello,
I agree with the commit but ...
On Mon, Dec 9, 2013 at 1:17 AM, <Qi.Chen@windriver.com> wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> Default USE_DEVFS to "1" so that the `makedevs' command is not run
> at rootfs time by default. There are mainly two reasons to do so.
> 1. This will fix a build failure with initramfs-kexecboot-klibc-image.
Can you elaborate this error? is it something we can/should fix?
> 2. Most of our images use a filesystem over /dev. Most of the time, it's
> just devtmpfs. So we actually are using a filesystem over /dev.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
> meta/classes/image.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index cc65e35..b8bd462 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
> # Images are generally built explicitly, do not need to be part of world.
> EXCLUDE_FROM_WORLD = "1"
>
> -USE_DEVFS ?= "0"
> +USE_DEVFS ?= "1"
>
> PID = "${@os.getpid()}"
>
> --
> 1.7.9.5
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'
2013-12-09 11:52 ` Otavio Salvador
@ 2013-12-09 13:52 ` Andrea Adami
2013-12-10 2:26 ` ChenQi
2013-12-10 2:31 ` ChenQi
1 sibling, 1 reply; 7+ messages in thread
From: Andrea Adami @ 2013-12-09 13:52 UTC (permalink / raw)
To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
On Mon, Dec 9, 2013 at 12:52 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello,
>
> I agree with the commit but ...
>
> On Mon, Dec 9, 2013 at 1:17 AM, <Qi.Chen@windriver.com> wrote:
>> From: Chen Qi <Qi.Chen@windriver.com>
>>
>> Default USE_DEVFS to "1" so that the `makedevs' command is not run
>> at rootfs time by default. There are mainly two reasons to do so.
>> 1. This will fix a build failure with initramfs-kexecboot-klibc-image.
>
> Can you elaborate this error? is it something we can/should fix?
>
>> 2. Most of our images use a filesystem over /dev. Most of the time, it's
>> just devtmpfs. So we actually are using a filesystem over /dev.
>>
>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>> ---
>> meta/classes/image.bbclass | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
>> index cc65e35..b8bd462 100644
>> --- a/meta/classes/image.bbclass
>> +++ b/meta/classes/image.bbclass
>> @@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
>> # Images are generally built explicitly, do not need to be part of world.
>> EXCLUDE_FROM_WORLD = "1"
>>
>> -USE_DEVFS ?= "0"
>> +USE_DEVFS ?= "1"
>>
>> PID = "${@os.getpid()}"
>>
>> --
>> 1.7.9.5
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
The underlying issue here is the extra pass of makedevs " makedevs:
No entry for root in search list "
At first I could not understand why that was *not* happening on my
builds then I realized we set
IMAGE_DEVICE_TABLES = "" in our machine.conf because we use devtmpfs
for all images.
qemux86 does instead inherit the default setting of image.bbclass so
it uses "files/device_table-minimal.txt"
Cheers
Andrea
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'
2013-12-09 13:52 ` Andrea Adami
@ 2013-12-10 2:26 ` ChenQi
0 siblings, 0 replies; 7+ messages in thread
From: ChenQi @ 2013-12-10 2:26 UTC (permalink / raw)
To: Andrea Adami
Cc: Otavio Salvador, Patches and discussions about the oe-core layer
On 12/09/2013 09:52 PM, Andrea Adami wrote:
> On Mon, Dec 9, 2013 at 12:52 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> Hello,
>>
>> I agree with the commit but ...
>>
>> On Mon, Dec 9, 2013 at 1:17 AM, <Qi.Chen@windriver.com> wrote:
>>> From: Chen Qi <Qi.Chen@windriver.com>
>>>
>>> Default USE_DEVFS to "1" so that the `makedevs' command is not run
>>> at rootfs time by default. There are mainly two reasons to do so.
>>> 1. This will fix a build failure with initramfs-kexecboot-klibc-image.
>> Can you elaborate this error? is it something we can/should fix?
>>
>>> 2. Most of our images use a filesystem over /dev. Most of the time, it's
>>> just devtmpfs. So we actually are using a filesystem over /dev.
>>>
>>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>>> ---
>>> meta/classes/image.bbclass | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
>>> index cc65e35..b8bd462 100644
>>> --- a/meta/classes/image.bbclass
>>> +++ b/meta/classes/image.bbclass
>>> @@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
>>> # Images are generally built explicitly, do not need to be part of world.
>>> EXCLUDE_FROM_WORLD = "1"
>>>
>>> -USE_DEVFS ?= "0"
>>> +USE_DEVFS ?= "1"
>>>
>>> PID = "${@os.getpid()}"
>>>
>>> --
>>> 1.7.9.5
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>>
>> --
>> Otavio Salvador O.S. Systems
>> http://www.ossystems.com.br http://code.ossystems.com.br
>> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
> The underlying issue here is the extra pass of makedevs " makedevs:
> No entry for root in search list "
>
> At first I could not understand why that was *not* happening on my
> builds then I realized we set
> IMAGE_DEVICE_TABLES = "" in our machine.conf because we use devtmpfs
> for all images.
>
> qemux86 does instead inherit the default setting of image.bbclass so
> it uses "files/device_table-minimal.txt"
>
>
> Cheers
>
> Andrea
>
>
Thanks for you extra information.
Best Regards,
Chen Qi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'
2013-12-09 11:52 ` Otavio Salvador
2013-12-09 13:52 ` Andrea Adami
@ 2013-12-10 2:31 ` ChenQi
2013-12-10 4:38 ` Saul Wold
1 sibling, 1 reply; 7+ messages in thread
From: ChenQi @ 2013-12-10 2:31 UTC (permalink / raw)
To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
On 12/09/2013 07:52 PM, Otavio Salvador wrote:
> Hello,
>
> I agree with the commit but ...
>
> On Mon, Dec 9, 2013 at 1:17 AM, <Qi.Chen@windriver.com> wrote:
>> From: Chen Qi <Qi.Chen@windriver.com>
>>
>> Default USE_DEVFS to "1" so that the `makedevs' command is not run
>> at rootfs time by default. There are mainly two reasons to do so.
>> 1. This will fix a build failure with initramfs-kexecboot-klibc-image.
> Can you elaborate this error? is it something we can/should fix?
It's "makedevs: No entry for root in search list ", just as Andrea said.
I've updated the commit message in remote tree.
http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ChenQi/USE_DEVFS&id=435b6e6e34c4c65022e57b78a246cfd8fcd2d71f
Thanks,
Chen Qi
>> 2. Most of our images use a filesystem over /dev. Most of the time, it's
>> just devtmpfs. So we actually are using a filesystem over /dev.
>>
>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>> ---
>> meta/classes/image.bbclass | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
>> index cc65e35..b8bd462 100644
>> --- a/meta/classes/image.bbclass
>> +++ b/meta/classes/image.bbclass
>> @@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}"
>> # Images are generally built explicitly, do not need to be part of world.
>> EXCLUDE_FROM_WORLD = "1"
>>
>> -USE_DEVFS ?= "0"
>> +USE_DEVFS ?= "1"
>>
>> PID = "${@os.getpid()}"
>>
>> --
>> 1.7.9.5
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'
2013-12-10 2:31 ` ChenQi
@ 2013-12-10 4:38 ` Saul Wold
0 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2013-12-10 4:38 UTC (permalink / raw)
To: ChenQi, Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
On 12/09/2013 06:31 PM, ChenQi wrote:
> On 12/09/2013 07:52 PM, Otavio Salvador wrote:
>> Hello,
>>
>> I agree with the commit but ...
>>
>> On Mon, Dec 9, 2013 at 1:17 AM, <Qi.Chen@windriver.com> wrote:
>>> From: Chen Qi <Qi.Chen@windriver.com>
>>>
>>> Default USE_DEVFS to "1" so that the `makedevs' command is not run
>>> at rootfs time by default. There are mainly two reasons to do so.
>>> 1. This will fix a build failure with initramfs-kexecboot-klibc-image.
>> Can you elaborate this error? is it something we can/should fix?
>
> It's "makedevs: No entry for root in search list ", just as Andrea said.
> I've updated the commit message in remote tree.
> http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ChenQi/USE_DEVFS&id=435b6e6e34c4c65022e57b78a246cfd8fcd2d71f
>
Please resend as a V2
Sau!
>
> Thanks,
> Chen Qi
>
>>> 2. Most of our images use a filesystem over /dev. Most of the time, it's
>>> just devtmpfs. So we actually are using a filesystem over /dev.
>>>
>>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>>> ---
>>> meta/classes/image.bbclass | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
>>> index cc65e35..b8bd462 100644
>>> --- a/meta/classes/image.bbclass
>>> +++ b/meta/classes/image.bbclass
>>> @@ -77,7 +77,7 @@ PACKAGE_INSTALL_ATTEMPTONLY ?=
>>> "${FEATURE_INSTALL_OPTIONAL}"
>>> # Images are generally built explicitly, do not need to be part of
>>> world.
>>> EXCLUDE_FROM_WORLD = "1"
>>>
>>> -USE_DEVFS ?= "0"
>>> +USE_DEVFS ?= "1"
>>>
>>> PID = "${@os.getpid()}"
>>>
>>> --
>>> 1.7.9.5
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
>>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-12-10 4:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-09 3:17 [PATCH 0/1] image.bbclass: default USE_DEVFS to '1' Qi.Chen
2013-12-09 3:17 ` [PATCH 1/1] " Qi.Chen
2013-12-09 11:52 ` Otavio Salvador
2013-12-09 13:52 ` Andrea Adami
2013-12-10 2:26 ` ChenQi
2013-12-10 2:31 ` ChenQi
2013-12-10 4:38 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox