Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

disable DNS resolving in chrooted environment

  • Loading branch information...
commit 76c5d0d98ed577edbdf79c29d5345501b092cfc6 1 parent 53d7b36
@tuxofil tuxofil authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 yabs-worker.sh
View
4 yabs-worker.sh
@@ -144,6 +144,10 @@ chroot "$ROOTFS" /usr/sbin/groupadd builder
chroot "$ROOTFS" /usr/sbin/useradd --home /usr/src/packages/ --password "" --gid builder builder
## ---------------------------------------------
+## disabling DNS resolving...
+> "$ROOTFS"/etc/resolv.conf
+
+## ---------------------------------------------
## deploy and build package...
chroot "$ROOTFS" chown --recursive builder:builder /usr/src/packages
SPECBASENAME=`basename "$SPEC"`
Please sign in to comment.
Something went wrong with that request. Please try again.