RPM Patch Packaging With File Mapping for Targeted Linux Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing RPM-based Linux systems require full application replacement for updates and patches, which is resource-intensive, especially in low-power environments, and lack traceability and record-keeping of changes.

Innovation Solution

Generate a diff of files to be patched and install it using an altered RPM mechanism with mapping, creating a patch RPM that applies patches to specific locations without rebuilding the entire RPM, enabling traceable and targeted patching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If full RPM packages are installed for updates, then system reliability is improved, but resource consumption increases

Engineering Contradiction:
Improvesystem reliabilityVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent segments the RPM package into two parts: a base package containing only the binary files and a separate patch package containing the mapping file and diff data. This allows the system to install only the necessary changes rather than the entire package, reducing resource consumption while maintaining the ability to reliably update the system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the mapping file and patch data from the full RPM package to create a separate, lightweight patch package. This extraction enables targeted installation of only the changes needed, eliminating the need to transfer and process the entire base package again, thus reducing resource consumption while preserving system reliability.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If full RPM packages are installed for updates, then completeness of updates is improved, but installation time increases

Engineering Contradiction:
Improvecompleteness of updatesVSAvoidinstallation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

By segmenting the update process into base package installation (done once) and subsequent patch applications, the patent enables rapid incremental updates. The mapping file efficiently directs the patch application process to only the necessary files, reducing installation time while ensuring completeness through the structured diff-based approach.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The mapping file is generated in advance during the patch creation process, containing pre-calculated information about where patches should be applied. This preliminary preparation eliminates the need for time-consuming analysis during installation, allowing the system to quickly apply only the necessary changes while maintaining update completeness.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If traditional RPM patching is used, then ease of operation is maintained, but traceability of changes is lost

Engineering Contradiction:
Improveease of operationVSAvoidtraceability of changes
Core Design Contradiction:
Ease of operationVSLoss of information

Solution Approach 1:

The mapping file serves as an intermediary that bridges the traditional RPM installation process with traceability requirements. It contains structured information about which files are patched and where, enabling automatic generation of change logs and audit trails without complicating the installation process for users.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements feedback mechanisms where the mapping file and patch metadata are used to automatically record and report changes. This provides traceability information back to system administrators without requiring manual intervention, maintaining ease of operation while preventing loss of change information.

Inventive Principle:
Principle #23Feedback

4Reliability

If full RPM packages are distributed, then availability of complete applications is improved, but distribution bandwidth consumption increases

Engineering Contradiction:
Improveavailability of complete applicationsVSAvoiddistribution bandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts only the essential patch data and mapping information from the full RPM package to create a compact patch package for distribution. This extraction dramatically reduces distribution bandwidth consumption while the base package remains available on the target system, ensuring availability of complete applications without repeated full-package distribution.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of distributing full RPM packages again, the patent creates lightweight copies containing only the changes (diff data) and installation instructions (mapping file). These compact copies consume minimal bandwidth while the actual application files are copied from the existing installation on the target system, eliminating redundant data transfer.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12632246B2Deploying patches via RPMs
Publication Date: 2026.05.19 RED HAT INC
  • US12632246B2 patent drawing
  • US12632246B2 patent drawing
  • US12632246B2 patent drawing

AI summary

Systems and methods for automated targeted patching of a target system. In one embodiment the present disclosure includes a method for compiling binary files from a source code package; running a diff tool to determine differences between the binary files and an application already installed on a target system; generating, based on the determined differences, a patch that includes at least one file to be installed on the target system; generating, a mapping file, the mapping file including information on where the at least one file will be installed on the target system; combining, the mapping file and the patch into a patch package; and installing the patch package on the target system.