[pkg-nvidia-devel] r1037 - in /packages/nvidia-kernel-common/trunk/debian: changelog control nvidia-kernel-common.dpkg-maintscript-helper nvidia-kernel-common.postinst nvidia-kernel-common.postrm nvidia-kernel-common.preinst rules
anbe-guest at users.alioth.debian.org
anbe-guest at users.alioth.debian.org
Sun Jun 6 15:50:57 UTC 2010
Author: anbe-guest
Date: Sun Jun 6 15:50:51 2010
New Revision: 1037
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1037
Log:
* Switch to dpkg-maintscript-helper for renaming config files.
* Put the common rename/remove conffile code fragment into
debian/nvidia-kernel-common.dpkg-maintscript-helper and copy it to
{preinst,postinst,postrm}.debhelper.
Added:
packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.dpkg-maintscript-helper
Removed:
packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.postinst
packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.postrm
packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.preinst
Modified:
packages/nvidia-kernel-common/trunk/debian/changelog
packages/nvidia-kernel-common/trunk/debian/control
packages/nvidia-kernel-common/trunk/debian/rules
Modified: packages/nvidia-kernel-common/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-kernel-common/trunk/debian/changelog?rev=1037&op=diff
==============================================================================
--- packages/nvidia-kernel-common/trunk/debian/changelog (original)
+++ packages/nvidia-kernel-common/trunk/debian/changelog Sun Jun 6 15:50:51 2010
@@ -1,3 +1,13 @@
+nvidia-kernel-common (20100522+2) unstable; urgency=low
+
+ [ Andreas Beckmann ]
+ * Switch to dpkg-maintscript-helper for renaming config files.
+ * Put the common rename/remove conffile code fragment into
+ debian/nvidia-kernel-common.dpkg-maintscript-helper and copy it to
+ {preinst,postinst,postrm}.debhelper.
+
+ -- Andreas Beckmann <debian at abeckmann.de> Sun, 06 Jun 2010 17:44:57 +0200
+
nvidia-kernel-common (20100522+1) unstable; urgency=low
[ Andreas Beckmann ]
Modified: packages/nvidia-kernel-common/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-kernel-common/trunk/debian/control?rev=1037&op=diff
==============================================================================
--- packages/nvidia-kernel-common/trunk/debian/control (original)
+++ packages/nvidia-kernel-common/trunk/debian/control Sun Jun 6 15:50:51 2010
@@ -8,6 +8,7 @@
Package: nvidia-kernel-common
Architecture: all
+Pre-Depends: dpkg (>= 1.15.7.2)
Depends: module-init-tools, ${misc:Depends}
Description: NVIDIA binary kernel module support files
This package contains support files used for any version of the NVIDIA
Added: packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.dpkg-maintscript-helper
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.dpkg-maintscript-helper?rev=1037&op=file
==============================================================================
--- packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.dpkg-maintscript-helper (added)
+++ packages/nvidia-kernel-common/trunk/debian/nvidia-kernel-common.dpkg-maintscript-helper Sun Jun 6 15:50:51 2010
@@ -1,0 +1,21 @@
+
+# Migration etch->lenny
+dpkg-maintscript-helper rm_conffile \
+ /etc/devfs/conf.d/nvidia-kernel-nkc \
+ '20051028+1+nmu2~' -- "$@"
+dpkg-maintscript-helper rm_conffile \
+ /etc/modutils/nvidia-kernel-nkc \
+ '20051028+1+nmu2~' -- "$@"
+
+# Migration lenny->squeeze
+dpkg-maintscript-helper mv_conffile \
+ /etc/modprobe.d/nvidia-kernel-nkc \
+ /etc/modprobe.d/nvidia-kernel-common.conf \
+ '20100216+1~' -- "$@"
+
+# Migration squeeze->squeeze
+dpkg-maintscript-helper mv_conffile \
+ /etc/modprobe.d/nvidia-kernel-nkc.conf \
+ /etc/modprobe.d/nvidia-kernel-common.conf \
+ '20100522+1~' -- "$@"
+
Modified: packages/nvidia-kernel-common/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-kernel-common/trunk/debian/rules?rev=1037&op=diff
==============================================================================
--- packages/nvidia-kernel-common/trunk/debian/rules (original)
+++ packages/nvidia-kernel-common/trunk/debian/rules Sun Jun 6 15:50:51 2010
@@ -6,6 +6,12 @@
chmod 0755 nvidia_helper.ck
chmod 0755 nvidia_helper
+override_dh_install:
+ dh_install
+ cat debian/nvidia-kernel-common.dpkg-maintscript-helper >> debian/nvidia-kernel-common.preinst.debhelper
+ cat debian/nvidia-kernel-common.dpkg-maintscript-helper >> debian/nvidia-kernel-common.postinst.debhelper
+ cat debian/nvidia-kernel-common.dpkg-maintscript-helper >> debian/nvidia-kernel-common.postrm.debhelper
+
override_dh_installinit:
dh_installinit --name=nvidia-kernel -- start 20 2 3 4 5 .
More information about the Pkg-nvidia-devel
mailing list