[oe] [meta-handheld][PATCH 2/3] udev: add bbappend and disable device cache as default.

Koen Kooi koen at dominion.thruhere.net
Thu Nov 3 09:25:27 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 03-11-11 10:09, Andrea Adami schreef:
> On Thu, Nov 3, 2011 at 9:36 AM, Koen Kooi
> <koen at dominion.thruhere.net>wrote:
> 
> Op 02-11-11 22:00, Paul Eggleton schreef:
>>>> On Monday 17 October 2011 01:26:50 Andrea Adami wrote:
>>>>> * For some reasons when the cache is created root can still be ro
>>>>> * and as solution you would be obliged to add 'rw' to your
>>>>> commandline. * There are patches in openembedded-classic to
>>>>> correct this * (and those are still pending for meta-oe). * Until
>>>>> a solution is found disable the creation of the device cache on
>>>>> boot.
>>>>> 
>>>>> Signed-off-by: Andrea Adami <andrea.adami at gmail.com> --- 
>>>>> recipes-core/udev/udev/default      |    4 ++++ 
>>>>> recipes-core/udev/udev_173.bbappend |    1 + 2 files changed, 5 
>>>>> insertions(+), 0 deletions(-) create mode 100644 
>>>>> recipes-core/udev/udev/default create mode 100644 
>>>>> recipes-core/udev/udev_173.bbappend
>>>>> 
>>>>> diff --git a/recipes-core/udev/udev/default 
>>>>> b/recipes-core/udev/udev/default new file mode 100644 index 
>>>>> 0000000..ba2867e --- /dev/null +++
>>>>> b/recipes-core/udev/udev/default @@ -0,0 +1,4 @@ +# Default for
>>>>> /etc/init.d/udev + +# Uncomment this out to enable device cache
>>>>> +#DEVCACHE="/etc/dev.tar" diff --git 
>>>>> a/recipes-core/udev/udev_173.bbappend 
>>>>> b/recipes-core/udev/udev_173.bbappend new file mode 100644 index 
>>>>> 0000000..72d991c --- /dev/null +++ 
>>>>> b/recipes-core/udev/udev_173.bbappend @@ -0,0 +1 @@ 
>>>>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>> 
>>>> I think this is going to cause problems for distros such as
>>>> Angstrom that enable this layer without always using it. Can we
>>>> just disable the dev cache for the machines in meta-handheld?
> 
> Or get with the program and use udev 174 with systemd, no need for a
> device cache in that case!
> 
> regards,
> 
> Koen
> 
> 
>> Sure, this is the future...but for now oe-core doesn't implement
>> systemd as default.

Nor does it have udev 173. You can't argue that oe-core doesn't have
something that's in meta-oe when you're already relying on meta-oe.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFOsl4HMkyGM64RGpERAtCEAJ9ogPDgyj0IsYMcKjLEML/PXvMK+ACgu3xN
RT3IaA5N1TqtzQQE81uoRHU=
=5YFd
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list