On 18 March 2013 09:21, Ales Kozumplik <akozumpl(a)redhat.com> wrote:
How does PackageKit implement this?
We ask NetworkManager (or connman) for the network adaptor type. This
seems to work well, unless someone uses their phone as a portable
hotspot (i.e. Wifi) and then it fails hard. Code is in
https://gitorious.org/packagekit/packagekit/trees/master/src -- see
pk-network-stack*.[c|h].
Richard