Open etudor opened 6 years ago
| tar is no running as sudo
try
sudo git archive driver-${DRV_VERSION} | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
You can leave out the first sudo, so git archive
is run as normal user, but your conclusion is absolutely right. You must run tar -x ...
as sudo as you're trying to write into /usr/src/
.
Hello,
I get the following errors while runnig this command
sudo git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
: