فهرست منبع

Don't check build dependencies in the host system.

By default dpkg-buildpackage checks build dependencies and conflicts
before building the package, no matter whether source or binary. When no
.dsc file is supplied to the build command, baiji uses dpkg-buildpackage
to build a source package from the current directory first. This is
liable to fail if the host system doesn't satisfy the build
dependencies. Since the actual building job is done inside a Docker
environment, we don't need this behavior.
Ilyas Gasanov 6 سال پیش
والد
کامیت
3d443e9cb4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      baiji

+ 1 - 1
baiji

@@ -161,7 +161,7 @@ def build(args):
 
     if args.dsc is None:
         try:
-            subprocess.check_call(("dpkg-buildpackage", "-S", "-us", "-uc", "-rfakeroot"))
+            subprocess.check_call(("dpkg-buildpackage", "-S", "-d", "-us", "-uc", "-rfakeroot"))
         except Exception as e:
             sys.exit("Couldn't build source package: {!s}".format(e))
         try: