[Angstrom-devel] [RFC] provide FUSE kernel module for all zaurus machines
Koen Kooi
koen at dominion.kabel.utwente.nl
Thu Feb 21 10:50:17 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Sokolovsky schreef:
| Hello,
|
| On Tue, 19 Feb 2008 23:26:32 -0500
| Junqian Gordon Xu <xjqian at gmail.com> 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.inc c2377d7cc726218e3c29b1d34e48ddc5e3e5c482
+++ packages/linux/linux.inc 30bae14ccc58a2184849ffb6103b46acea79eb37
@@ -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-----
More information about the Angstrom-distro-devel
mailing list