Browse Source

Merge #157: Add support for multiarch

052f3c1 Add support for multiarch (Amaury Séchet)
pull/182/head
Devrandom 2 years ago
parent
commit
46321204b5
No account linked to committer's email address
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      bin/gbuild

+ 7
- 0
bin/gbuild View File

@@ -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