Browse Source

Merge #157: Add support for multiarch

052f3c1 Add support for multiarch (Amaury Séchet)
pull/182/head
Devrandom 5 years ago
parent
commit
46321204b5
No known key found for this signature in database
GPG Key ID: 28EB4B0FB7AAF6B0
  1. 7
      bin/gbuild

7
bin/gbuild

@ -94,6 +94,13 @@ EOF" if build_desc["sudo"] and @options[:allow_sudo] @@ -94,6 +94,13 @@ EOF" if build_desc["sudo"] and @options[:allow_sudo]
end
end
if build_desc["multiarch"]
info "Adding multiarch support (log in var/install.log)"
for a in build_desc["multiarch"]
system! "on-target -u root dpkg --add-architecture #{a} > var/install.log 2>&1"
end
end
info "Updating apt-get repository (log in var/install.log)"
system! "on-target -u root apt-get update > var/install.log 2>&1"

Loading…
Cancel
Save