Etercifs/devel/newkernels: различия между версиями

Материал из Etersoft wiki
Перейти к навигацииПерейти к поиску
Строка 9: Строка 9:
3. Create a new vX.x-etercifs branch and merge etersoft-* branches into it.
3. Create a new vX.x-etercifs branch and merge etersoft-* branches into it.


4. Create a new folder source/X.x/ in etercifs git repository and copy new kernel module sources there.
4. Create a new source/X.x/ directory in etercifs git repository and copy new kernel module sources there.


5. Add rules to .gear/rules in the same way like current entries. A module version is taken from cifsfs.h file of sources.
5. Add rules to .gear/rules in the same way like current entries. A module version is taken from cifsfs.h file of sources.


6. Update AUTHORS, TODO, CHANGES files in etercifs/ folder from cifs-2.6/Documentation/filesystems/cifs/.
6. Update AUTHORS, TODO, CHANGES files in etercifs/ directory from cifs-2.6/Documentation/filesystems/cifs/.


7. Add the information about the new kernel to etercifs.spec in the same way like current entries.
7. Add the information about the new kernel to etercifs.spec in the same way like current entries.

Версия 14:01, 29 декабря 2014

Algorithm for etercifs update with the recent Linux kernel version


1. Download the recent changes from the mainline kernel branch (http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git) into cifs-2.6 git repository.

2. Update etersoft-* branches from cifs-2.6 git repository with "git merge vX.X". In a case of conflicts, resolve them and commit the result. Make sure that the module is compiled without errors from every etersoft-* branch.

3. Create a new vX.x-etercifs branch and merge etersoft-* branches into it.

4. Create a new source/X.x/ directory in etercifs git repository and copy new kernel module sources there.

5. Add rules to .gear/rules in the same way like current entries. A module version is taken from cifsfs.h file of sources.

6. Update AUTHORS, TODO, CHANGES files in etercifs/ directory from cifs-2.6/Documentation/filesystems/cifs/.

7. Add the information about the new kernel to etercifs.spec in the same way like current entries.