Browse Source

Add support for multiarch

pull/157/head
Amaury Séchet 5 years ago
parent
commit
052f3c1ae4
  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