Comment 2 for bug 374760

Revision history for this message
Ralf Hauser (hauser) wrote :

hauser-debug:/usr/src/truecrypt-4.3a-source-code/debian# ls -lart
total 156
drwxr-xr-x 11 root src 4096 2009-05-11 10:00 ..
-rwxr-xr-x 1 root root 38 2009-05-11 10:00 tc-modules.postrm.in
-rwxr-xr-x 1 root root 38 2009-05-11 10:00 tc-modules.postinst.in
-rwxr-xr-x 1 root root 532 2009-05-11 10:00 tc-modules-modprobe.postrm
-rwxr-xr-x 1 root root 4385 2009-05-11 10:00 tc-modules-modprobe.postinst
-rw-r--r-- 1 root root 101 2009-05-11 10:00 tc.modprobe
-rwxr-xr-x 1 root root 276 2009-05-11 10:00 tc-doc.prerm
-rwxr-xr-x 1 root root 208 2009-05-11 10:00 tc-doc.postinst
-rw-r--r-- 1 root root 242 2009-05-11 10:00 tc-doc.lintian-override
-rw-r--r-- 1 root root 248 2009-05-11 10:00 tc-doc.doc-base
-rw-r--r-- 1 root root 235 2009-05-11 10:00 tc-cli.lintian-override
-rwxr-xr-x 1 root root 24191 2009-05-11 10:00 rules
-rw-r--r-- 1 root root 6048 2009-05-11 10:00 README.Debian-devel
-rw-r--r-- 1 root root 2116 2009-05-11 10:00 README.Debian
drwxr-xr-x 2 root root 4096 2009-05-11 10:00 patches
-rw-r--r-- 1 root root 24 2009-05-11 10:00 docs
-rw-r--r-- 1 root root 9 2009-05-11 10:00 dirs
-rw-r--r-- 1 root root 28039 2009-05-11 10:00 copyright
-rw-r--r-- 1 root root 1596 2009-05-11 10:00 control.in
-rw-r--r-- 1 root root 2 2009-05-11 10:00 compat
-rw-r--r-- 1 root root 9561 2009-05-11 10:00 changelog
drwxr-xr-x 6 root root 4096 2009-05-11 10:00 .bzr
drwxr-xr-x 4 root root 4096 2009-05-11 10:00 .
-rw-r--r-- 1 root root 1600 2009-05-11 10:00 control

now I did a manual
     hauser-debug:/usr/src/truecrypt-4.3a-source-code/debian# mkdir 4.3a.tar.gz-2.6.26-2-686.postinst
but this didn't help because it gets overwritten

hauser-debug:/home/hauser/Desktop# diff -u /usr/src/truecrypt-4.3a-source-code/debian/rules rules
--- /usr/src/truecrypt-4.3a-source-code/debian/rules 2009-05-11 10:15:28.000000000 +0200
+++ rules 2009-05-11 10:13:10.000000000 +0200
@@ -668,6 +668,7 @@
 endif

  cd debian && \
+ mkdir $(PACKAGE)-modules-$(VERSION).postinst \
  cp $(PACKAGE)-modules.postinst.in \
     $(PACKAGE)-modules-$(VERSION).postinst

and then, at least

hauser-debug:/usr/src/truecrypt-4.3a-source-code/debian# make -f rules
test -d debian/patched || install -d debian/patched
dpatch apply-all
dpatch cat-all >>patch-stampT
mv -f patch-stampT patch-stamp