1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
SCRIPTS
current-version.sh
- Sets ECRYPTFS_VERSION to the head version; other scripts should
source this
delete-cruft.sh
- Deletes miscellaneous cruft from the ecryptfs-util-git/ tree
- Run from ecryptfs-util-git/
validate-dir.sh
- Makes sure that the script is in the right directory before
delete-cruft.sh gets primeval on the directory contents
sync-kernel.sh
- Synchronizes the code in linux-git/ with the code in
ecryptfs-kernel-git/
- Copies kernel source into latest kernel branch in git (for now,
it's 2.6.18-mm1)
- Applies backpatches to get to prior kernel versions
- Applies netlink hack patch (in case kernel netlink.h does not
#define NETLINK_ECRYPTFS)
- Run from a directory containing both linux-git/ and
ecryptfs-kernel-git/
build-full-tarball.sh
- Generates a single tarball with both kernel and userspace trees
- Makes a file ecryptfs-YYYYMMDD.tar.bz2
- Run from a directory containing both ecryptfs-util-git/ and
ecryptfs-kernel-git/
build-tarball.sh
- Generates just a userspace utility tarball
- Pass version number as command-line parameter
- Run from a directory containing ecryptfs-util-git/
make.sh
- Builds and installs the trees generated by build-full-tarball.sh
- Run from directory containing both ecryptfs-util/ and
ecryptfs-kernel/
PROCEDURES
Update kernel code
- Apply patches to ecryptfs-kernel-git/ecryptfs code
- Add new code modifiers in config.h.in and configure.in, along with
corresponding #ifdef blocks in the eCryptfs code, to account for
older kernel versions
Make new tarball
- ecryptfs-util-git/scripts/build-full-tarball.sh
|