Permalink
Browse files

remove package fai, add package fai-server and fai-client

  • Loading branch information...
Mrfai committed Oct 9, 2005
1 parent 79ccdcd commit 5e20208a6dc73fe00c36d071002c9f35d554638f
View
@@ -1,16 +1,14 @@
include VERSION
-DESTDIR=$(shell pwd)/debian/fai
+DESTDIR=$(shell pwd)/debian/tmp
DEB_HOST_ARCH=$(MACHTYPE)
export DOCDIR = $(shell pwd)/debian/fai-doc/usr/share/doc/fai-doc
LIBDIR = $(DESTDIR)/usr/lib/fai
-SHAREDIR = $(DESTDIR)/usr/share/fai
SCRIPTSDIR = $(LIBDIR)/sbin
-SCRIPTS = setup_harddisks faireboot dhclient-perl dhclient-script
-USRSBIN_SCRIPTS = make-fai-nfsroot make-fai-bootfloppy fai-setup fcopy ftar install_packages fai-chboot faimond fai-cd fai
-SBIN= fai-start-stop-daemon
+SCRIPTS = dhclient-script
+USRSBIN_SCRIPTS = make-fai-nfsroot make-fai-bootfloppy fai-setup fcopy ftar install_packages fai-chboot faimond fai-cd fai setup_harddisks faireboot fai-start-stop-daemon dhclient-perl
USRBIN_SCRIPTS = fai-class fai-do-scripts fai-mirror fai-debconf
-CONFDIR= $(SHAREDIR)/etc
+CONFDIR= $(SHAREDIR)/usr/share/fai/etc
CONFFILES= apt.conf dhclient.conf fai_modules_off
ADEXAMPLE=$(DOCDIR)/examples/advanced
SIEXAMPLE=$(DOCDIR)/examples/simple
@@ -30,18 +28,17 @@ veryclean: clean
$(MAKE) -f debian/rules clean
install:
+ mkdir -p $(DESTDIR)/man $(DESTDIR)/etc/fai
+ mkdir -p $(DESTDIR)/usr/{sbin,bin} $(DESTDIR)/usr/lib/fai
+ install man/* $(DESTDIR)/man
$(MAKE) -C doc install
-install -m755 $(libfiles) $(LIBDIR)
- -install -m755 scripts/device2grub $(LIBDIR)
- cd scripts ; install $(SBIN) $(DESTDIR)/sbin
cd scripts ; install $(USRSBIN_SCRIPTS) $(DESTDIR)/usr/sbin
cd scripts ; install $(USRBIN_SCRIPTS) $(DESTDIR)/usr/bin
- cd scripts ; install $(SCRIPTS) $(SCRIPTSDIR)
- install -m755 share/subroutines* $(SHAREDIR)
+# cd scripts ; install $(SCRIPTS) $(SCRIPTSDIR)
install -m644 share/Fai.pm $(DESTDIR)/usr/share/perl5/Debian
- cd conf ; install -m644 $(CONFFILES) $(CONFDIR)
- install -m644 conf/menu.lst conf/sources.list $(DESTDIR)/etc/fai/
- install -m644 conf/fai.conf conf/sources.list $(DESTDIR)/etc/fai/
+# cd conf ; install -m644 $(CONFFILES) $(CONFDIR)
+ install -m644 conf/fai.conf conf/sources.list conf/menu.lst $(DESTDIR)/etc/fai/
install -m600 conf/make-fai-nfsroot.conf $(DESTDIR)/etc/fai/
perl -pi -e 's/_KERNELVERSION_/$(KERNELVERSION)/' $(KVERSION_FILES)
perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' $(DESTDIR)/usr/sbin/fai
View
@@ -1,6 +1,6 @@
fai (2.9) unstable; urgency=low
- * splitting binary package in fai and fai-doc
+ * splitting binary package fai into fai-server, fai-client, fai-doc
-- Thomas Lange <lange@debian.org> Sat, 8 Oct 2005 21:28:29 +0200
View
@@ -5,20 +5,32 @@ Maintainer: Thomas Lange <lange@debian.org>
Standards-Version: 3.6.1
Build-Depends-Indep: debhelper (>= 4.1.16), debiandoc-sgml, tetex-bin, tetex-extra
-Package: fai
+Package: fai-doc
Architecture: all
-Depends: perl, libapt-pkg-perl
+Description: Documentation for FAI
+ FAI is a tool for doing Fully Automatic Installation of Debian(-based) Linux
+ systems. This is the documentation for FAI in various formats.
+
+Package: fai-server
+Architecture: all
+Depends: fai-client
Recommends: debootstrap, nfs-kernel-server | nfs-server, fai-kernels, dhcp3-server | bootp, tftpd-hpa | tftpd, rsh-server, wget, syslinux
Suggests: ssh, debmirror, mknbi, apt-move, mkinitrd-cd, grub
-Description: Fully Automatic Installation
+Description: Fully Automatic Installation server package
FAI is a non-interactive system to install a Debian GNU/Linux operating
system unattended on a PC cluster. You can take one or more virgin
PCs, turn on the power, and after a few minutes, Linux is installed,
configured, and running on the whole cluster, without any interaction
necessary. Homepage: http://www.informatik.uni-koeln.de/fai
+ This package is needed for setting up a FAI install server.
-Package: fai-doc
+Package: fai-client
Architecture: all
-Description: Documentation for FAI
- FAI is a tool for doing Fully Automatic Installation of Debian(-based) Linux
- systems. This is the documentation for FAI in various formats.
+Depends: perl, libapt-pkg-perl
+Description: Fully Automatic Installation client package
+ FAI is a non-interactive system to install a Debian GNU/Linux operating
+ system unattended on a PC cluster. You can take one or more virgin
+ PCs, turn on the power, and after a few minutes, Linux is installed,
+ configured, and running on the whole cluster, without any interaction
+ necessary. Homepage: http://www.informatik.uni-koeln.de/fai
+ This package contains the software needed on the install client.
View
@@ -0,0 +1 @@
+usr/lib/fai
View
@@ -0,0 +1,16 @@
+usr/lib/fai/check_status
+usr/lib/fai/fai-savelog
+usr/lib/fai/fai-savelog-ftp
+usr/lib/fai/get-boot-info
+usr/lib/fai/list_disks
+usr/lib/fai/subroutines
+usr/lib/fai/subroutines-linux
+usr/lib/fai/updatebase
+usr/bin/fai-class
+usr/bin/fai-debconf
+usr/bin/fai-do-scripts
+usr/sbin/fai
+usr/sbin/fcopy
+usr/sbin/ftar
+usr/sbin/install_packages
+usr/sbin/setup_harddisks
@@ -0,0 +1,7 @@
+debian/tmp/man/fai.8
+debian/tmp/man/fcopy.8
+debian/tmp/man/ftar.8
+debian/tmp/man/install_packages.8
+debian/tmp/man/fai-class.1
+debian/tmp/man/fai-debconf.1
+debian/tmp/man/fai-do-scripts.1
@@ -1,10 +1,7 @@
var/run/fai/make-fai-nfsroot
etc/fai
-sbin
usr/bin
usr/sbin
usr/share/fai/etc
-usr/lib/fai/sbin
-usr/lib/fai/nfsroot
usr/share/perl5/Debian
boot/fai
View
@@ -0,0 +1,10 @@
+usr/sbin/fai-cd
+usr/sbin/fai-chboot
+usr/sbin/fai-setup
+usr/sbin/faimond
+usr/sbin/make-fai-nfsroot
+usr/sbin/make-fai-bootfloppy
+usr/bin/fai-mirror
+etc/fai/menu.lst
+etc/fai/fai.conf
+etc/fai/make-fai-nfsroot.conf
@@ -0,0 +1,7 @@
+debian/tmp/man/fai-cd.8
+debian/tmp/man/fai-chboot.8
+debian/tmp/man/fai-mirror.1
+debian/tmp/man/fai-setup.8
+debian/tmp/man/faimond.8
+debian/tmp/man/make-fai-nfsroot.8
+debian/tmp/man/make-fai-bootfloppy.8
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,14 +1,14 @@
#!/usr/bin/make -f
-DESTDIR=`pwd`/debian/fai
+DESTDIR=`pwd`/debian/tmp
SHAREDIR = $(DESTDIR)/usr/share/fai
DOCDIR=`pwd`/debian/fai-doc/usr/share/doc/fai-doc
# we never want CVS and subversion files in our packages
export DH_ALWAYS_EXCLUDE=CVS:.svn
# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
include VERSION
@@ -45,7 +45,8 @@ binary-indep: build install
dh_installdocs
# dh_installexamples
# dh_installmenu
- dh_installman man/*.[1-9]
+ dh_installman
+ dh_install --sourcedir=debian/tmp
# dh_installinfo
dh_installchangelogs
# dh_link

0 comments on commit 5e20208

Please sign in to comment.