[SSI-devel] recent changes to debian repository.
Brought to you by:
brucewalker,
rogertsang
From: Aneesh K. K.V <ane...@hp...> - 2004-09-28 13:42:09
|
Hi All, I made lot of changes to Debian code base and also some changes to generic code in order to get a fully automated install of Debian. I am right now rebuilding everything from scratch and will do a fresh installation of the cluster. I am listing below what are the changes. 1) The meta package kernel-image-2.4-686-smp will call a) during pre install phase ssi-create. b) during post install phase we will write the kernel version to /cluster/kernel_version file. This file only contain the version number and the initrd and kernel image are built as kernel="/boot/vmlinuz-"$VERSION initrd="/boot/initrd.img-"$VERSION The old method still works. All these changes will come into picture only when the file /cluster/kernel_version is present. The only confusion that i have now is ( I can validate this only by a fresh install which i am doing now ) kernel meta package kernel-image-2.4.686-smp depends on kernel-image-2.4.22-ac1-ssi-686-smp Now the ram disk is built during the installation of kernel-image-2.4.22-ac1-ssi-686-smp That means when installing kernel-image-2.4.22-ac1-ssi-686-smp i will not have meta package installed. For us right now the ssi-create happens in the preinst of the meta pacakge. Now when i am installing the cluster from zero the ramdisk creation will fail as there is no /etc/clustertab present. I guess dpkg-deb runs all the specified package preinst before those package post inst is run. If the above assumption is not correct i will have to see when we can create the cluster so that the mkinitrd stage goes fine when we are installing the cluster from zero. For upgrade everything should work fine. Another option i have is put ssi-create in the preinst of kernel-image-2.4.22-ac1-ssi-686-smp. I am not doing it right now because for Debian kernel package is built using make-kpkg. and i don't have any of the related package source in the CVS. May be finally i may end up moving the ssi-create to post inst of kernel-image-2.4.22-ac1-ssi-686-smp. -aneesh |