root/morphix/trunk/cloop/debian/README.Debian

Revision 2, 1.6 kB (checked in by nextime, 2 years ago)

Initial import, branching from morphix svn

Line 
1 cloop for Debian
2 ----------------
3
4 What is cloop? It is a simple way to compress a real filesystem and mount it
5 per loopback, so you can access all the data on-the-fly.
6
7 Before starting, you will need to build the filesystem module and load it into
8 the running kernel. Please read the create_compressed_fs(1) manpage about how
9 to create a compressed filesystem volume and how to mount it.  I recommend to
10 build proper Debian modules while compiling a new kernel, or install the
11 kernel-headers-2.4.x-Y package for your kernel and continue as described below.
12
13 To build the cloop modules package you better use make-kpkg. To install,
14 extract the tarbal in /usr/src, and create the modules package with make-kpkg.
15 Then install with dpkg.
16
17 $ cd /usr/src
18 $ tar zxvf cloop.tar.gz
19
20 If you have kernel source for your kernel installed, then do:
21
22 $ cd /usr/src/kernel-source-2.4.X
23 $ make-kpkg modules_image
24 $ ls -ltra ..
25 $ dpkg -i ../<NEW CREATED PACKAGE>
26
27 If the source is not installed, and wish to go with the kernel-headers package,
28 then do:
29
30 $ apt-get install debhelper make gcc kernel-headers-VERSION
31  where VERSION must match exactly the version of your kernel, ie. 2.4.16-k7
32 $ cd /usr/src/modules/cloop
33 $ debian/binary KSRC=/usr/src/kernel-headers-VERSION KVERS=VERSION kdist_image
34 $ dpkg -i /usr/src/<NEW CREATED PACKAGE>
35
36 If you are a Debian maintainer and going to package official modules package,
37 use another command line:
38
39 $ debian/binary kdist KSRC=/usr/src/kernel-headers-VERSION KVERS=VERSION KDREV=2.4.xy-1
40
41 Also set KEMAIL, KMAINT and/or DEBFULLNAME and GNUPGHOME as necessary.
42
43  -- Eduard Bloch <blade@debian.org>  Mon,  3 Dec 2001 22:22:28 +0100
Note: See TracBrowser for help on using the browser.