[Yaffs] New yaffs patch-ker.sh mechanism

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs@lists.aleph1.co.uk
New-Topics: [Yaffs] yaffs_UnlinkWorker() code funny ?
Subject: [Yaffs] New yaffs patch-ker.sh mechanism

Hello All

One of the steps involved in the yaffs Linux mainlining project is to provide
a both multi-version and current-only varaints of the yaffs vfs glue code for
Linux.

The intention is to mainline the current-only variant but still keep the
multi-variant version fresh for backward compatability. The multi-variant
version also has extra compile switches for testing etc.

The patch-ker.sh script has been modified to support both variants. The
arguments are now:
c/l Say c to copy files into Linux tree, l to create links. Suggest c.
m/s Say m to get multi-version VFS glue, s for single-version. Suggest m
linux-tree Directory where linux tree is.

Steps to install a new version of yaffs into a 2.6.x Linux kernel tree are
now:

1. Fetch latest yaffs as per http://www.yaffs.net/node/346
2. If you fetched a tarball unpack into a handy directory.
3. Do the following.
# cd yaffs-dir
# ./patch-ker.sh c m linux-tree

If that fails because of an existing yaffs source directory then either rename
or rm -rf linux-tree/fs/yaffs2 and run .patch-ker.sh again.

-- Charles