drpm
A library for making, reading and applying deltarpm packages
Loading...
Searching...
No Matches
DRPM Apply

Tools for applying a DeltaRPM file to re-create a new RPM file (from an old RPM file or from filesystem data), providing the same functionality as applydeltarpm(8). More...

Topics

 DRPM Check
 Tools for checking if the reconstruction is possible (like applydeltarpm { -c | -C }).
 

Functions

DRPM_VISIBLE int drpm_apply (const char *oldrpm, const char *deltarpm, const char *newrpm)
 Applies a DeltaRPM to an old RPM or on-disk data to re-create a new RPM.
 

Detailed Description

Tools for applying a DeltaRPM file to re-create a new RPM file (from an old RPM file or from filesystem data), providing the same functionality as applydeltarpm(8).

Function Documentation

◆ drpm_apply()

DRPM_VISIBLE int drpm_apply ( const char * oldrpm,
const char * deltarpm,
const char * newrpm )

Applies a DeltaRPM to an old RPM or on-disk data to re-create a new RPM.

Parameters
[in]oldrpmName of old RPM file (if NULL, filesystem data is used).
[in]deltarpmName of DeltaRPM file.
[in]newrpmName of new RPM file to be (re-)created.
Returns
Error code.