[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

trying to create a custom sarge isntaller



Hi

I am trying to create a debian sarge installation disk with a custom
kernel, following direction on
http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/custom-kernel.txt

I created my kernel deb, which has the same version as the one on the
original installer (2.6.8-1-386). The reason for all this is that I want
to have a driver for a new type of SCSI card. SO far so good, the new
kernel has the driver and that works.

The custom-kernel.txt says: "If your custom kernel includes new kernel
modules that are not in the standard kernel, you'll need to add them to a
list in modules/i386/. See the kernel-wedge documentation for details."

I see several lists that hold scsi module information:

/usr/src/linux-kernel-di-i386-2.6-0.67/modules/i386/scsi-common-modules.lnk
/usr/src/linux-kernel-di-i386-2.6-0.67/modules/i386/scsi-core-modules.lnk
/usr/src/linux-kernel-di-i386-2.6-0.67/modules/i386/scsi-extra-modules
/usr/src/linux-kernel-di-i386-2.6-0.67/modules/i386/scsi-modules


I suspect my module (which is called arcmsr) should into
scsi-extra-modules, so I added "drivers/scsi/arcmsr/arcmsr.o" to it.

Next: "Make sure the build dependencies of linux-kernel-di-i386 are
satisfied (you will need to install the kernel-wedge package), and build
the package."

I installed kernel-wedge, and then I do:

cd /usr/src/linux-kernel-di-i386-2.6-0.67
fakeroot debian/rules binary

I get this error:

kernel-wedge gen-control > debian/control
kernel-wedge make-links
dh_testdir
dh_testdir
dh_clean -k
kernel-wedge install-files
        install -D -m 644 /boot/vmlinuz-2.6.8-1-386 debian/kernel-image-2.6.8-1-386-di/boot/vmlinuz
        install -D -m 644 /boot/System.map-2.6.8-1-386 debian/kernel-image-2.6.8-1-386-di/boot/System.map
        kernel-wedge copy-modules 2.6.8-1 386 2.6.8-1-386
kernel-wedge find-dups 2.6.8-1-386
debian/ppp-modules-2.6.8-1-386-di lib/modules/2.6.8-1-386/kernel/lib/crc-ccitt.ko
debian/nic-extra-modules-2.6.8-1-386-di lib/modules/2.6.8-1-386/kernel/lib/crc-ccitt.ko
some modules are in more than one package
command exited with status 255
make: *** [binary-arch] Error 2


I am stuck here, but this may be because I have not alot experience in
building packages.

best regards,

-- 
dick v.



Reply to: