SHARE
TWEET

p30-patch

a guest Jul 21st, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- ./installer/install-cli.sh.orig 2019-05-06 13:12:15.229683561 -0400
  2. +++ ./installer/install-cli.sh  2019-05-06 13:41:17.775778738 -0400
  3. @@ -335,7 +335,7 @@
  4.     local backup="$BACKUP_DIR/.kmods.list"
  5.  
  6.     cp -Rf "$KMODS_DIR" "$INSTALL_DIR"
  7. -   tar -xzf "$INSTALL_DIR_KMODS/prl_mod.tar.gz" -C "$INSTALL_DIR_KMODS"
  8. +#  tar -xzf "$INSTALL_DIR_KMODS/prl_mod.tar.gz" -C "$INSTALL_DIR_KMODS"
  9.  
  10.     make -C "$INSTALL_DIR_KMODS" -f Makefile.kmods
  11.     local result=$?
  12. @@ -1395,7 +1395,7 @@
  13.     # For RHEL/CentOS 5.x we need to add special kernel option
  14.     local release_file=/etc/redhat-release
  15.     if [ -r "$release_file" ] &&
  16. -           [ "$(rpm -qf "$release_file" | sed -e "s/.*release-\([0-9]*\).*/\1/g")" -eq 5 ]
  17. +           [ "$(rpm -qf "$release_file" --queryformat="%{VERSION}")" -eq 5 ]
  18.     then
  19.         update_grubconf || perror "Error: failed to update grub.conf"
  20.     fi
  21. --- ./kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c.orig    2019-03-12 09:12:03.000000000 -0400
  22. +++ ./kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c 2019-05-03 10:25:52.661871854 -0400
  23. @@ -116,11 +116,11 @@
  24.  {
  25.     int ret = 0;
  26.     DPRINTK("ENTER\n");
  27. -   if ( (!((*flags) & MS_RDONLY) && PRLFS_SB(sb)->readonly) ||
  28. -          ((*flags) & MS_MANDLOCK) )
  29. +   if ( (!((*flags) & SB_RDONLY) && PRLFS_SB(sb)->readonly) ||
  30. +          ((*flags) & SB_MANDLOCK) )
  31.             ret = -EINVAL;
  32.  
  33. -   *flags |= MS_SYNCHRONOUS; /* silently don't drop sync flag */
  34. +   *flags |= SB_SYNCHRONOUS; /* silently don't drop sync flag */
  35.     DPRINTK("EXIT returning %d\n", ret);
  36.     return ret;
  37.  }
  38. @@ -274,7 +274,7 @@
  39.     sb->s_maxbytes = MAX_LFS_FILESIZE;
  40.     sb->s_blocksize = PAGE_SIZE;
  41.     sb->s_blocksize_bits = PAGE_SHIFT;
  42. -   sb->s_flags |= MS_NOATIME | MS_SYNCHRONOUS;
  43. +   sb->s_flags |= SB_NOATIME | SB_SYNCHRONOUS;
  44.     sb->s_magic = PRLFS_MAGIC;
  45.     sb->s_op = &prlfs_super_ops;
  46.     PRLFS_ALLOC_SB_INFO(sb);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top