summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/CopyRep2.5
blob: 3bb78c69dc6f9047b74c195b45b20ce7aab871af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Copies the repository files to the working kernel directory
# This is used on a freshly untarred kernel

# 23 August 2002 - this is for the files vs kernel 2.5

# Change these 2 to the appropriate directories
# FROM points to the CVS base of ebtables
# TO points to the base of the kernel source tree where we want the files
export FROM=/ebtables-cvs/ebtables2/
export TO=/usr/src/linux-2.5.31

mkdir -p $TO/net/bridge/netfilter
mkdir -p $TO/include/netfilter_bridge

# only the different files are in kernel/linux2.5
/bin/cp -r -f $FROM/kernel/linux/* $TO/
/bin/cp -r -f $FROM/kernel/linux2.5/* $TO/

/bin/cp -r -f $FROM/br-nf-bds/linux2.5/* $TO/