Page 1 of 1

install dot sh wipes media. but does not reinstate it.....

PostPosted: Tue Mar 13, 2018 12:18 am
by due40
hello,
trying to build drivers.
compile/link works fine.
but then.....

this is install.sh :
____________________________
more install.sh
./patch-kernel.sh
make distclean
make -j4
sudo rm -r -f /lib/modules/$(uname -r)/kernel/drivers/media
sudo make install
_____________________________________

after that the new modules are supposed to be installed.
but that does not happen, because media is also wiped / directories are not recreated.

any fix ?
[edit]
( by the way, commenting out the rm -r -f line fixes the problem, but no clean up, of course.... )
[/edit]