Public bug reported:

Environments that do not have /sbin in $PATH fail when cross compiling.

For example, when building a kernel:

snapcraft -d --target-arch=amd64 snap
....
modprobe -n --show-depends -d /home/rtg/ubuntu/unstable/parts/kernel/install -S 
4.6.0-xenial_generic+ squashfs
/tmp/tmphvf6blez: 5: exec: modprobe: not found

** Affects: snapcraft (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1585258

Title:
  snapcraft should use /sbin/modprobe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1585258/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to