summaryrefslogtreecommitdiff
path: root/debian/patches/0005-debootstrap-Ensure-etc-hosts-exists.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0005-debootstrap-Ensure-etc-hosts-exists.patch')
-rw-r--r--debian/patches/0005-debootstrap-Ensure-etc-hosts-exists.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/debian/patches/0005-debootstrap-Ensure-etc-hosts-exists.patch b/debian/patches/0005-debootstrap-Ensure-etc-hosts-exists.patch
deleted file mode 100644
index 85010b6..0000000
--- a/debian/patches/0005-debootstrap-Ensure-etc-hosts-exists.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 08c4e3c12ace96779547ecd1130088d544cb023d Mon Sep 17 00:00:00 2001
-From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
-Date: Tue, 31 Jan 2017 09:46:55 +0100
-Subject: [PATCH 5/8] debootstrap: Ensure /etc/hosts exists
-
-a debootstrap won't necesserily create /etc/hosts, so copy it from the
-main buildroot if it's not there.
-
-Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
----
- build-recipe-debootstrap | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/build-recipe-debootstrap b/build-recipe-debootstrap
-index 65bbfbd..ae52dc0 100644
---- a/build-recipe-debootstrap
-+++ b/build-recipe-debootstrap
-@@ -61,6 +61,10 @@ recipe_build_debootstrap() {
- chown "$ABUILD_UID:$ABUILD_GID" $BUILD_ROOT/$myroot/home/abuild
- fi
-
-+ if ! test -e $BUILD_ROOT/$myroot/etc/hosts ; then
-+ cp $BUILD_ROOT/etc/hosts $BUILD_ROOT/$myroot/etc/hosts
-+ fi
-+
- # move topdir over
- mv "$BUILD_ROOT/$TOPDIR" "$BUILD_ROOT/$myroot/${TOPDIR%/*}"
-
---
-2.1.4
-