Browse Source

Merge 76c710f920 into 5b7de603a7

pull/195/merge
Luke Dashjr 1 year ago
parent
commit
9ef98d30d8
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      bin/gbuild

+ 2
- 0
bin/gbuild View File

@@ -73,6 +73,8 @@ def build_one_configuration(suite, arch, build_desc)

system! "on-target true"

system! "on-target -u root '/etc/init.d/cron stop ; killall -vw apt.systemd.daily ; killall -vw unattended-upgrade ; true' > var/install.log 2>&1"

system! "on-target -u root tee -a /etc/sudoers.d/#{ENV['DISTRO'] || 'ubuntu'} > /dev/null << EOF
%#{ENV['DISTRO'] || 'ubuntu'} ALL=(ALL) NOPASSWD: ALL
EOF" if build_desc["sudo"] and @options[:allow_sudo]

Loading…
Cancel
Save