/[d-i]/trunk/installer/doc/porting-to-2.6.txt
ViewVC logotype

Contents of /trunk/installer/doc/porting-to-2.6.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18584 - (show annotations) (download)
Mon Jul 26 21:36:31 2004 UTC (8 years, 10 months ago) by cjwatson
File MIME type: text/plain
File size: 1669 byte(s)
Add some notes on porting architectures to 2.6.
1 Porting debian-installer to 2.6 for your architecture
2 =====================================================
3
4 This is a fairly haphazard collection of notes on what you need to do to
5 port d-i to 2.6 for your architecture.
6
7 Kernels and build system
8 ------------------------
9
10 * Make sure your kernels have devfs built-in. d-i doesn't do udev yet.
11
12 * Create packages/kernel/linux-kernel-di-<architecture>-2.6/ with
13 appropriate sets of module udebs. There are plenty of examples to borrow
14 from here.
15
16 * Create 2.6.cfg files in installer/build/config/ for each target you want
17 to ship with 2.6. You'll need to set at least KERNELVERSION,
18 KERNELMAJOR, and EXTRANAME. i386 has good examples here. Use
19 FLAVOUR_SUPPORTED in the parent config file to get 2.6.cfg to be
20 included in the build system.
21
22 * If your kernels don't have ext2 built-in (some 2.6 ones don't), set
23 INITRD_FS = cramfs.
24
25 * Add your architecture to the module-init-tools build-dependency list in
26 installer/debian/control.
27
28 * If you need different packages in your initrd on 2.6 versus 2.4 which
29 aren't already handled by the build system, look in
30 installer/build/pkg-lists/kernel_specific/.
31
32 Other packages
33 --------------
34
35 * Make any necessary changes to packages/rootskel/debian/templates-arch.
36
37 * Make packages/base-installer/debian/postinst install an appropriate 2.6
38 kernel when d-i is running with 2.6 itself.
39
40 * You may need to make some changes to hardware detection in
41 packages/ddetect/.
42
43 * You may need to tweak packages/usb-discover/usb-discover, particularly
44 if you're using a different kernel version from other architectures.

  ViewVC Help
Powered by ViewVC 1.1.5