Use apt-get install return code in bb-dependencies (#152)
Use apt-get install return code in bb-dependencies (#152)

Use apt-get install return code to determine if buildbot
should retry package installation. Error code 11 indicates
that a lock file couldn't be obtained to install packages,
retry in those cases.

Signed-off-by: Giuseppe Di Natale <8f90fd86203578c7bda52281540dd9a2276d6d80@llnl.gov>
zfsonlinux/zfs-buildbot,zfsonlinux/zfs-buildbot