← Back to team overview

ubuntu-phone team mailing list archive

Can't find depmod?

 

make -j4
[...]
host C: libpng <= external/libpng/pngrutil.c
'/home/developer/phablet/out/target/product/generic/ubuntu/kernel/boot/vmlinuz-3.4.0-3-goldfish'
-> '/home/developer/phablet/out/target/product/generic/ubuntu/kernel/vmlinuz'
host C: libpng <= external/libpng/pngset.c
/bin/bash: line 12: depmod: command not found
make: *** [/home/developer/phablet/out/target/product/generic/ubuntu/kernel/vmlinuz]
Error 127
make: *** Waiting for unfinished jobs....
developer@ubuntuphone:~/phablet$  which depmod
/sbin/depmod
developer@ubuntuphone:/#

Hmmm
developer@ubuntuphone:~/phablet$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
developer@ubuntuphone:~/phablet$

so it knows nothing of /sbin. What's the best place to tell it? Add it
in build/envsetup.sh?


Follow ups