From 2372a1ac834d17d99899275685606f5ebb15f265 Mon Sep 17 00:00:00 2001 From: jeff200902 Date: Mon, 27 Jul 2020 18:59:20 +0800 Subject: [PATCH] modify for osb build --- build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build b/build index 9b2d0f2..df9ce59 100755 --- a/build +++ b/build @@ -1549,6 +1549,12 @@ if test \( -n "$RPMS" -o -n "$DEBS" \) -a -n "$CREATE_BASELIBS"; then create_baselibs fi +if test -f "$BUILD_ROOT/etc/resolv.conf"; then + cat $BUILD_ROOT/etc/resolv.conf +else + cp /etc/resolv.conf $BUILD_ROOT/etc/ +fi + exitcode=0 # post build work -- 2.23.0