diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-10-15 11:59:21 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-10-15 11:59:21 +0000 |
commit | 994571f4d56393429978b7dc9ced2567714da7cb (patch) | |
tree | 84c56e609a6bfafdf2c21ecdab368b3d92b4b3f3 /cluster/Makefile | |
parent | c558674d80aef960207ca1ae9746d263e96123d3 (diff) | |
download | drakx-backup-do-not-use-994571f4d56393429978b7dc9ced2567714da7cb.tar drakx-backup-do-not-use-994571f4d56393429978b7dc9ced2567714da7cb.tar.gz drakx-backup-do-not-use-994571f4d56393429978b7dc9ced2567714da7cb.tar.bz2 drakx-backup-do-not-use-994571f4d56393429978b7dc9ced2567714da7cb.tar.xz drakx-backup-do-not-use-994571f4d56393429978b7dc9ced2567714da7cb.zip |
add mdkc files
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 |