update build deb packages for xCAT
- removed dependencies for most of xcat-dep packages - updating packages changes git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
48c3e12220
commit
191e8d09d4
@ -7,6 +7,7 @@ Standards-Version: 3.7.2
|
||||
|
||||
Package: xcat
|
||||
Architecture: all
|
||||
Depends: ${perl:Depends}, xcat-server, xcat-client, libdbd-sqlite3-perl, dhcp3-server, apache2, expect, nfs-kernel-server, nmap, fping, bind9, vsftpd, libxml-parser-perl, atftp-xcat, conserver, yaboot-xcat, libnet-telnet-perl, ipmitool (>=1.8.9), xnba-undi, syslinux-xcat, xcat-nbroot-oss-x86, xcat-nbroot-core-x86, xcat-nbkernel-x86, xcat-nbroot-oss-amd64, xcat-nbroot-core-amd64, xcat-nbkernel-amd64, xcat-nbroot-oss-ppc64, xcat-nbroot-core-ppc64, xcat-nbkernel-ppc64, syslinux
|
||||
Depends: ${perl:Depends}, xcat-server, xcat-client, libdbd-sqlite3-perl, dhcp3-server, apache2, expect, nfs-kernel-server, nmap, fping, bind9, vsftpd, libxml-parser-perl, xinetd, tftpd-hpa, tftp-hpa, conserver, libnet-telnet-perl, ipmitool (>=1.8.9), syslinux, libsys-virt-perl
|
||||
Recommends: xnba-undi, yaboot-xcat
|
||||
Description: Server and configuration utilities of the xCAT management project
|
||||
xcat-server provides the core server and configuration management components of xCAT. This package should be installed on your management server
|
||||
|
@ -1,6 +1,8 @@
|
||||
install
|
||||
install/postscripts
|
||||
install/postscripts/hostkeys
|
||||
install/prescripts
|
||||
install/kdump
|
||||
opt/xcat/share/xcat
|
||||
etc/apache2/conf.d
|
||||
opt/xcat/share/doc/packages/xCAT
|
||||
etc
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# postinst script for openmpi
|
||||
# postinst script for xCAT
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
@ -20,8 +20,15 @@ set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
#. /etc/profile.d/xcat.sh
|
||||
#xcatconfig -i
|
||||
. /etc/profile.d/xcat.sh
|
||||
if [ -f /tmp/xCAT_upgrade ]
|
||||
then
|
||||
xcatconfig -u
|
||||
rm /tmp/xCAT_upgrade
|
||||
else
|
||||
xcatconfig -i -d -s
|
||||
fi
|
||||
/etc/init.d/apache2 restart
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
41
xCAT/debian/prerm
Normal file
41
xCAT/debian/prerm
Normal file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
# prerm script for xCAT
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <prerm> `remove'
|
||||
# * <old-prerm> `upgrade' <new-version>
|
||||
# * <new-prerm> `failed-upgrade' <old-version>
|
||||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
|
||||
# * <deconfigured's-prerm> `deconfigure' `in-favour'
|
||||
# <package-being-installed> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
case "$1" in
|
||||
upgrade)
|
||||
touch /tmp/xCAT_upgrade.tmp
|
||||
;;
|
||||
remove|deconfigure)
|
||||
;;
|
||||
|
||||
failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user