]> err.no Git - dpkg/commitdiff
Install default configuration file
authorWichert Akkerman <wakkerma@debian.org>
Sun, 1 Oct 2000 18:53:29 +0000 (18:53 +0000)
committerWichert Akkerman <wakkerma@debian.org>
Sun, 1 Oct 2000 18:53:29 +0000 (18:53 +0000)
debian/dpkg.cfg [new file with mode: 0644]
debian/rules

diff --git a/debian/dpkg.cfg b/debian/dpkg.cfg
new file mode 100644 (file)
index 0000000..d035197
--- /dev/null
@@ -0,0 +1,7 @@
+# dpkg configuration file
+#
+# This file can contain default options for dpkg. All commandline
+# options are allowed. Values can be specific by putting them after
+# the option, seperated by whitespace and/or an `=' sign.
+#
+
index 28c9d5a6a801174ff46d2322062f276f28a6194c..6ed0afc296eabdf4c4d80fc61ab0d3573fffc4b7 100755 (executable)
@@ -105,6 +105,11 @@ binary-dpkg: stamp-binary
                        fi ; \
                done ; \
        done
+
+       install -d -m 755 -o root -g root $(TMP_DPKG)/etc/dpkg
+       install -p -m 644 -o root -g root debian/dpkg.cfg \
+               $(TMP_DPKG)/etc/dpkg/dpkg
+
 # Now that dpkg has been installed, Debianize it
 # Policy stuff
        find $(TMP_DPKG)/usr/share/man -type f | xargs gzip -9f
@@ -121,6 +126,7 @@ binary-dpkg: stamp-binary
 
 # Final package creation
        install -d -m 755 -o root -g root $(TMP_DPKG)/DEBIAN
+       install -p -m 644 -o root -g root debian/dpkg.conffiles $(TMP_DPKG)/DEBIAN/conffiles
        install -p -m 755 -o root -g root debian/dpkg.preinst $(TMP_DPKG)/DEBIAN/preinst
        install -p -m 755 -o root -g root debian/dpkg.prerm $(TMP_DPKG)/DEBIAN/prerm
        install -p -m 755 -o root -g root debian/dpkg.postinst $(TMP_DPKG)/DEBIAN/postinst