This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt update | |
apt upgrade -y | |
apt install -y build-essential automake autotools-dev libgmp-dev libssl-dev libcurl4-openssl-dev | |
git clone https://github.com/JayDDee/cpuminer-opt.git | |
cd cpuminer-opt | |
./build.sh | |
make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Nru prl_fs.orig/SharedFolders/Guest/Linux/prl_fs/inode.c prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c | |
--- prl_fs.orig/SharedFolders/Guest/Linux/prl_fs/inode.c 2013-11-11 17:56:58.000000000 +0200 | |
+++ prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c 2013-11-29 20:41:53.689167040 +0200 | |
@@ -199,10 +199,18 @@ | |
if (attr->valid & _PATTR_MODE) | |
inode->i_mode = (inode->i_mode & S_IFMT) | (attr->mode & 0777); | |
if ((attr->valid & _PATTR_UID) && | |
- (sbi->plain || sbi->share || attr->uid == -1)) | |
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) | |
+ (sbi->plain || sbi->share || __kuid_val(attr->uid) == -1)) |