source: tags/fc9-eol/server/doc/kernel-build-howto @ 1257

Last change on this file since 1257 was 630, checked in by andersk, 16 years ago
I found this lying around.
  • Property svn:eol-style set to native
File size: 1.7 KB
1<Build kernel>
3[root@old-faithful ~]# su - scripts-build
4[scripts-build@old-faithful ~]$ wget -N
5[scripts-build@old-faithful ~]$ rpm -i kernel-
6[scripts-build@old-faithful ~]$ cd rpmbuild/SOURCES
7[scripts-build@old-faithful SOURCES]$ wget -N
8[scripts-build@old-faithful SOURCES]$ wget -N
9[scripts-build@old-faithful SOURCES]$ rename kernel-*.config
10[scripts-build@old-faithful SOURCES]$ cd ../SPECS
11[scripts-build@old-faithful SPECS]$ emacs kernel-2.6.spec
12 change:
13 %define build_id .scripts1
14 %define base_sublevel 23
15 %define stable_update 8
16[scripts-build@old-faithful SPECS]$ rpmbuild --with baseonly --with vanilla -bb kernel-2.6.spec
17[scripts-build@old-faithful ~]$ logout
18[root@old-faithful ~]# cp -a /home/scripts-build/rpmbuild/RPMS/x86_64/kernel-vanilla*- .
19[root@old-faithful ~]# rpm -ivh kernel-vanilla{,-devel}-
21<Build kmod-openafs>
23[root@old-faithful ~]# su scripts-build -
24[scripts-build@old-faithful ~]$ cd repository
25[scripts-build@old-faithful repository]$ svn up
26[scripts-build@old-faithful repository]$ cd server/fedora
27[scripts-build@old-faithful fedora]$ make openafs-kernel kernvers=
28[scripts-build@old-faithful fedora]$ logout
29[root@old-faithful ~]# cp -a /home/scripts-build/rpmbuild/RPMS/x86_64/kmod-openafs-1.4.5- .
30[root@old-faithful ~]# rpm -ivh kmod-openafs-1.4.5-
Note: See TracBrowser for help on using the repository browser.