Subject: Bug#3522: kernel-package image.postinst troubles.

From: Buddha Buck <[email-masked]>
Date: Fri, 05 Jul 1996 02:05:28 -0400

Oops, I forgot the promised patch to 
/usr/lib/kernel-package/debian/kernel.rules.

Here it is...

(As a side note, how should patch files be MIME-encapsulated?  My mailer
wanted to encapsulate it as an "application/x-patch", BASE64 encoded.  I
overrode that suggestion, here, but it left me wondering how I should do it
in the future.)
--- kernel.rules~	Tue Jun 18 12:16:34 1996
+++ kernel.rules	Thu Jul  4 22:54:08 1996
@@ -245,8 +245,8 @@
 	sed -e 's/=V/$(version)/g' -e 's/=D/$(debian)/g' \
 	    -e 's/=A/$(architecture)/g' -e 's/=M/$(maintainer) <$(email)>/g' \
 		$(DEBDIR)/debian/image.control > image-tmp/DEBIAN/control
-	sed -e 's/=V/$(version)/g' debian/image.postinst \
-                > image-tmp/DEBIAN/postinst
+	sed -e 's/=V/$(version)/g' 
+		$(DEBDIR)/debian/image.postinst > image-tmp/DEBIAN/postinst
 	chmod 755 image-tmp/DEBIAN/postinst
 	sed -e 's/=V/$(version)/g' \
 	             $(DEBDIR)/debian/image.prerm > image-tmp/DEBIAN/prerm
--
     Buddha Buck                      [email-masked]
"Just as the strength of the Internet is chaos, so the strength of our
liberty depends upon the chaos and cacaphony of the unfettered speech
the First Amendment protects."  -- A.L.A. v. U.S. Dept. of Justice

---

From: Ian Jackson <[email-masked]>
Date: Wed, 10 Jul 96 00:51 BST

Buddha Buck writes ("Bug#3522: kernel-package image.postinst troubles."):
...
> overrode that suggestion, here, but it left me wondering how I should do it

text/x-patch, unencoded ?

Ian.