diff options
Diffstat (limited to 'cluster/Makefile')
-rw-r--r-- | cluster/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cluster/Makefile b/cluster/Makefile new file mode 100644 index 000000000..beedddc37 --- /dev/null +++ b/cluster/Makefile @@ -0,0 +1,29 @@ +# build mdkc release + +STAGE2=../perl-install +RESCUE=../rescue +KERNEL=../kernel +STAGE1=../mdk-stage1 + +install: +# copy missing files in rescue tree + cp -avf tree/* $(RESCUE)/tree/ + cp -avf data/gen_modules_conf.pl.pl $(KERNEL)/gen_modules_conf.pl.pl + cd $(KERNEL) && perl gen_modules_conf.pl.pl > $(RESCUE)/tree/ka/gen_modules_conf.pl +# copy stage1-with ka needed by ka method + cp -vf data/stage1-with-ka.tar.bz2 $(STAGE1)/stage1-data/stage1-with-ka.tar.bz2 +# copy and add drakcluster step in perl-install + cp -avf drakcluster $(STAGE2)/ + perl -pi -e "s/PMS_DIRS.*/PMS_DIRS = Newt Xconfig c xf86misc diskdrake harddrake interactive modules network partition_table printer resize_fat sbus_probing security drakcluster/" $(STAGE2)/Makefile.config + cp -avf data/steps.pm $(STAGE2)/steps.pm +# use dhcpd clisnet instead of dhcp-client (more info in /etc/) + perl -pi -e "s/dhcp-client/dhcpcd/" $(STAGE2)/network/network.pm +# use cluster's rpmsrate and compssUsers + cp -avf data/compssUsers.cluster $(STAGE2)/share/compssUsers + cp -avf data/rpmsrate.cluster $(STAGE2)/share/rpmsrate + cp -avf data/logo-mdkc.png $(STAGE2)/share/logo-mandrake.png +# cd $(STAGE1) && ADDITIONAL_DEFS="-DMANDRAKE_CLUSTERING" MDKC=1 make +# build, hope it builds... + cd ../ && make +# partitions and supported lang + cp patch-oem.pl /export/Mandrake/base |