Simplifying Rollback to Prior Versions of Patches Used to Fix Errors in Pre-installed Software
AssigneeOracle International Corporation
InventorsVijay Nichinbatl Sriram, PhiDien Nguyen, Shamik Ganguly
Life of this patent
Estimating the term…
Abstract
A patch tool receives multiple patches, with each patch designed to fix a corresponding subset of a set of errors in a system. Some of the patches may require that the files from older patches be removed from the system. In an embodiment of the present invention, a developer of a patch is provided the flexibility to specify that a desired file from an older patch fixing a specific error, not be removed during deployment of a new patch designed to fix the same specific error. Rolling back later to the older version of the patch may be simplified by not removing the desired file.
Claims9
A computer readable medium carrying one or more sequences of instructions constituting a patch tool for fixing a plurality of errors in a software pre-installed in a system using a plurality of patches, wherein each of said plurality of patches contains a corresponding set of files which are designed to fix corresponding errors when copied to said system, wherein said system has a first file and a second file stored thereon, wherein said first file is deployed from a first patch for fixing a first error, wherein said second file is deployed from a second patch for fixing a second error, wherein execution of said one or more sequences of instructions by one or more processors causes said patch tool to perform the actions of:
- receiving a third patch containing a third file to fix said first error, and a fourth patch containing a fourth file to fix said second error, said fourth patch further contains an indication to persist said second patch;
- deploying said third patch by removing said first file and copying said third file to said system;
- and
- deploying said fourth patch by copying said fourth file to said system, but not removing said second file from said system.
A method of fixing a plurality of errors in a software pre-installed in a system using a plurality of patches, wherein each of said plurality of patches contains a corresponding set of files which are designed to fix corresponding errors when copied to said system, wherein said system has a first file and a second file stored thereon, wherein said first file is deployed from a first patch for fixing a first error, wherein said second file is deployed from a second patch for fixing a second error, said method comprising:
- receiving a third patch containing a third file to fix said first error, and a fourth patch containing a fourth file to fix said second error, said fourth patch further contains an indication to persist said second patch;
- deploying said third patch by removing said first file and copying said third file to said system;
- and
- deploying said fourth patch by copying said fourth file to said system, but not removing said second file from said system.
An apparatus fixing a plurality of errors in a software pre-installed in a system using a plurality of patches, wherein each of said plurality of patches contains a corresponding set of files which are designed to fix corresponding errors when copied to said system, wherein said system has a first file and a second file stored thereon, wherein said first file is deployed from a first patch for fixing a first error, wherein said second file is deployed from a second patch for fixing a second error, said apparatus comprising:
- means for receiving a third patch containing a third file to fix said first error, and a fourth patch containing a fourth file to fix said second error, said fourth patch further contains an indication to persist said second patch;
- means for deploying said third patch by removing said first file and copying said third file to said system;
- and
- means for deploying said fourth patch by copying said fourth file to said system, but not removing said second file from said system.
Dependencies are inferred from the claim text.