Re: [Angstrom-devel] [RFC] provide FUSE kernel module for all zaurus machines

2008-02-22 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Junqian Gordon Xu schreef:
| On 02/21/2008 04:50 AM, Koen Kooi wrote:
|> Paul Sokolovsky schreef:
|> | On Tue, 19 Feb 2008 23:26:32 -0500
|> | Junqian Gordon Xu <[EMAIL PROTECTED]>
wrote:
|> |
|> |> In response to user request (oebug 3468), I'd like to propose to
|> |> provide fuse kernel module for all zaurus machines (i.e.
|> |> CONFIG_FUSE_FS=m).
|> | I can only support this, IMHO this should be in the main Angstrom
|> | scope. linux-hh already has it enabled.
|>
|> I've been thinking about this for a while, and thanks to linux*.inc,
|> it's pretty easy to do in the stable branch (include LOCALVERSION
|> backport). I don't know how fit it is for .dev, but I like it very much
|> to the stablebranch.
|
| I like the general approach as well. Koen, why are you concerned about
.dev?

Because it takes away choice from kernel recipe maintainers and it's
very non-OE for its hardcoding and non-extensibility.

If we want it in .dev as well, it will probable something like:


linux*.inc:
sed -e  \
~-e  \
~${DISTRO_KERNEL_MANGLE} \
~${MACHINE_KERNEL_MANGLE} \

echo CONFIG_FOO=y \
~ ${DISTRO_KERNEL_CONFIG} \
~ ${MACHINE_KERNEL_MANGLE} \

angstrom-.conf:
${DISTRO_KERNEL_MANGLE} ?= "-e /CONFIG_FUSE/d"
${DISTRO_KERNEL_CONFIG} ?= "CONFIG_FUSE=m"

leet-machine.conf:
${MACHINE_KERNEL_MANGLE} = "-e /LEET_DRIVER/d"
${MACHINE_KERNEL_MANGLE} = "LEET_DRIVER=y"

And I'm not sure that will be acceptible either, but I'm currently too
short on time to come up with a proposal, test it and RFC it.

regards,

Koen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHvxShMkyGM64RGpERAsIoAKC06cNqM6KLznSArzdchusO7ZPE4QCgs5p6
Pkaz7fnvgxgybMKvuQ9adjk=
=pHLc
-END PGP SIGNATURE-


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] [RFC] provide FUSE kernel module for all zaurus machines

2008-02-21 Thread Junqian Gordon Xu
On 02/21/2008 04:50 AM, Koen Kooi wrote:
> Paul Sokolovsky schreef:
> | On Tue, 19 Feb 2008 23:26:32 -0500
> | Junqian Gordon Xu <[EMAIL PROTECTED]> wrote:
> |
> |> In response to user request (oebug 3468), I'd like to propose to
> |> provide fuse kernel module for all zaurus machines (i.e.
> |> CONFIG_FUSE_FS=m).
> | I can only support this, IMHO this should be in the main Angstrom
> | scope. linux-hh already has it enabled.
> 
> I've been thinking about this for a while, and thanks to linux*.inc,
> it's pretty easy to do in the stable branch (include LOCALVERSION
> backport). I don't know how fit it is for .dev, but I like it very much
> to the stablebranch.

I like the general approach as well. Koen, why are you concerned about .dev?

Regards
Gordon

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] [RFC] provide FUSE kernel module for all zaurus machines

2008-02-21 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Sokolovsky schreef:
| Hello,
|
| On Tue, 19 Feb 2008 23:26:32 -0500
| Junqian Gordon Xu <[EMAIL PROTECTED]> wrote:
|
|> In response to user request (oebug 3468), I'd like to propose to
|> provide fuse kernel module for all zaurus machines (i.e.
|> CONFIG_FUSE_FS=m).
|>
|> Currently tosa and collie have that line set in defconfig. So that
|> left akia, c7x0, poodle and spitz to switch that on. This will be
|> applied to linux-rp-2.6.23 and linux-rp-2.6.24 (except for tosa).
|> Please let me know if there is any objections.
|
| I can only support this, IMHO this should be in the main Angstrom
| scope. linux-hh already has it enabled.

I've been thinking about this for a while, and thanks to linux*.inc,
it's pretty easy to do in the stable branch (include LOCALVERSION
backport). I don't know how fit it is for .dev, but I like it very much
to the stablebranch.


#
# old_revision [3ec5b70fa69ba091ab91072e8a26d1c771ead137]
#
# patch "packages/linux/linux-rp.inc"
#  from [0754d43aed9f1733a268bc5a327d596268b601e3]
#to [e18661b32deb11def0875c5e2e0c82ef559a1c1b]
#
# patch "packages/linux/linux.inc"
#  from [c2377d7cc726218e3c29b1d34e48ddc5e3e5c482]
#to [30bae14ccc58a2184849ffb6103b46acea79eb37]
#

- --- packages/linux/linux-rp.inc 0754d43aed9f1733a268bc5a327d596268b601e3
+++ packages/linux/linux-rp.inc e18661b32deb11def0875c5e2e0c82ef559a1c1b
@@ -101,6 +101,9 @@ do_configure() {
~echo "# CONFIG_OABI_COMPAT is not set"  >> ${S}/.config
~fi

+# Misc fixups:
+   echo "CONFIG_FUSE_FS=m" >> ${S}/.config
+
~if [ "${DISTRO}" = "poky" -a "${MACHINE}" != "collie" ]; then
~echo "CONFIG_LOGO=y"  >>
${S}/.config
~echo "CONFIG_LOGO_OHAND_CLUT224=y">>
${S}/.config
@@ -130,6 +133,7 @@ do_configure() {
~-e '/CONFIG_LOGO_OZ240_CLUT224=/d' \
~-e '/CONFIG_LOGO_OZ480_CLUT224=/d' \
~-e '/CONFIG_LOGO_OZ640_CLUT224=/d' \
+   -e '/CONFIG_FUSE_FS/d' \
~'${WORKDIR}/${KERNEL_DEFCONFIG}' >>'${S}/.config'

~yes '' | oe_runmake oldconfig

- --- packages/linux/linux.incc2377d7cc726218e3c29b1d34e48ddc5e3e5c482
+++ packages/linux/linux.inc30bae14ccc58a2184849ffb6103b46acea79eb37
@@ -61,6 +61,9 @@ do_configure_prepend() {
~ if [ "${SITEINFO_ENDIANESS}" = "be" ]; then
~ echo "CONFIG_CPU_BIG_ENDIAN=y"  >> ${S}/.config
~ fi
+
+   # Misc fixups:
+echo "CONFIG_FUSE_FS=m" >> ${S}/.config

~ echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config

@@ -70,7 +73,9 @@ do_configure_prepend() {
~ -e '/CONFIG_CPU_BIG_ENDIAN/d' \
~ -e '/CONFIG_LOGO=/d' \
~ -e '/CONFIG_LOGO_LINUX_CLUT224=/d' \
- -< '${WORKDIR}/defconfig' >>'${S}/.config'
+-e '/CONFIG_LOCALVERSION/d' \
+-e '/CONFIG_FUSE_FS/d' \
+   < '${WORKDIR}/defconfig' >>'${S}/.config'

~ #
~ # root-over-nfs-over-usb-eth support. Limited, but should cover
some cases.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHvUlZMkyGM64RGpERApdpAJ9V9oWdZYgHf7B7+vo+/gVLTkkp/QCfYEt0
JdBryWFRjBRO8ge4w9LSCY0=
=SoMS
-END PGP SIGNATURE-


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] [RFC] provide FUSE kernel module for all zaurus machines

2008-02-20 Thread Paul Sokolovsky
Hello,

On Tue, 19 Feb 2008 23:26:32 -0500
Junqian Gordon Xu <[EMAIL PROTECTED]> wrote:

> In response to user request (oebug 3468), I'd like to propose to
> provide fuse kernel module for all zaurus machines (i.e.
> CONFIG_FUSE_FS=m).
> 
> Currently tosa and collie have that line set in defconfig. So that
> left akia, c7x0, poodle and spitz to switch that on. This will be
> applied to linux-rp-2.6.23 and linux-rp-2.6.24 (except for tosa).
> Please let me know if there is any objections.

I can only support this, IMHO this should be in the main Angstrom
scope. linux-hh already has it enabled.

> 
> Regards
> Gordon

-- 
Best regards,
 Paul  mailto:[EMAIL PROTECTED]

___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel