[Fai-commit] r3867 - in trunk: . debian
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Tue Sep 5 16:18:04 UTC 2006
Author: lange
Date: 2006-09-05 16:18:03 +0000 (Tue, 05 Sep 2006)
New Revision: 3867
Added:
trunk/debian/fai-nfsroot.postinst
trunk/debian/fai-nfsroot.prerm
Modified:
trunk/Makefile
trunk/debian/fai-nfsroot.install
Log:
add policy-rc.d support
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2006-09-05 16:16:12 UTC (rev 3866)
+++ trunk/Makefile 2006-09-05 16:18:03 UTC (rev 3867)
@@ -5,7 +5,8 @@
LIBDIR = $(DESTDIR)/usr/lib/fai
USRSBIN_SCRIPTS = make-fai-nfsroot make-fai-bootfloppy fai-setup fcopy ftar install_packages fai-chboot faimond fai-cd fai setup_harddisks faireboot fai-statoverride
-USRBIN_SCRIPTS = fai-class fai-do-scripts fai-mirror fai-debconf device2grub
+USRBIN_SCRIPTS = fai-class fai-do-scripts fai-mirror fai-debconf device2grub policy-rc.d.fai
+
libfiles=$(wildcard lib/[a-z]*) # do not include CVS dir
# files with variable KERNLEVERSION in it; this string will be substituted
Modified: trunk/debian/fai-nfsroot.install
===================================================================
--- trunk/debian/fai-nfsroot.install 2006-09-05 16:16:12 UTC (rev 3866)
+++ trunk/debian/fai-nfsroot.install 2006-09-05 16:18:03 UTC (rev 3867)
@@ -1,4 +1,5 @@
usr/sbin/faireboot
+usr/bin/policy-rc.d.fai
usr/lib/fai/dhclient-perl
usr/lib/fai/create_ramdisk
usr/lib/fai/create_resolv_conf
Added: trunk/debian/fai-nfsroot.postinst
===================================================================
--- trunk/debian/fai-nfsroot.postinst (rev 0)
+++ trunk/debian/fai-nfsroot.postinst 2006-09-05 16:18:03 UTC (rev 3867)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+case "$1" in
+ configure)
+ update-alternatives --install /usr/sbin/policy-rc.d policy-rc.d \
+ /usr/bin/policy-rc.d.fai 100
+esac
+
+#DEBHELPER#
+
+exit 0
Property changes on: trunk/debian/fai-nfsroot.postinst
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/debian/fai-nfsroot.prerm
===================================================================
--- trunk/debian/fai-nfsroot.prerm (rev 0)
+++ trunk/debian/fai-nfsroot.prerm 2006-09-05 16:18:03 UTC (rev 3867)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+case "$1" in
+ remove|deconfigure|failed-upgrade)
+ update-alternatives --remove policy-rc.d /usr/bin/policy-rc.d.fai
+ ;;
+fi
+
+#DEBHELPER#
+
+exit 0
Property changes on: trunk/debian/fai-nfsroot.prerm
___________________________________________________________________
Name: svn:executable
+ *
More information about the Fai-commit
mailing list