source: trunk/server/doc/kernel-build-howto @ 1693

Last change on this file since 1693 was 1693, checked in by ezyang, 14 years ago
Merge Fedora 13 development back to trunk.
  • Property svn:eol-style set to native
File size: 1.8 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}-
21You can build kernel-firmware, which is a bunch of binary blobs for
22hardware, by running the mock build with --arch=noarch.
24<Build kmod-openafs>
26[root@old-faithful ~]# su scripts-build -
27[scripts-build@old-faithful ~]$ cd repository
28[scripts-build@old-faithful repository]$ svn up
29[scripts-build@old-faithful repository]$ cd server/fedora
30[scripts-build@old-faithful fedora]$ make openafs-kernel kernvers=
31[scripts-build@old-faithful fedora]$ logout
32[root@old-faithful ~]# cp -a /home/scripts-build/rpmbuild/RPMS/x86_64/kmod-openafs-1.4.5- .
33[root@old-faithful ~]# rpm -ivh kmod-openafs-1.4.5-
Note: See TracBrowser for help on using the repository browser.