File: fix-dupes-in-buildd-configuration.patch

package info (click to toggle)
schroot 1.6.13-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,628 kB
  • sloc: cpp: 21,758; sh: 1,019; ansic: 231; makefile: 77
file content (34 lines) | stat: -rw-r--r-- 855 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Fix dupes in buildd configuration
Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Forwarded: yes
Last-Update: 2022-09-28

    The files

        /etc/schroot/buildd/copyfiles
        /etc/schroot/buildd/nssdatabases

    contain duplicated information.

    This was possibly introduced in 2011, in commit d7dad336 ("etc:
    Add buildd profile-template from sbuild").

--- a/etc/profile-templates/buildd/all/copyfiles
+++ b/etc/profile-templates/buildd/all/copyfiles
@@ -1,6 +1,2 @@
-# Files to copy into the chroot from the host system.
-#
-# <source-and-destination>[ <destination>]
 /etc/hosts
-/etc/resolv.conf
 /etc/networks
--- a/etc/profile-templates/buildd/all/nssdatabases
+++ /dev/null
@@ -1,7 +0,0 @@
-# System databases to copy into the chroot from the host system.
-#
-# <database name>
-passwd
-shadow
-group
-gshadow