summaryrefslogtreecommitdiff
path: root/makedeltarpm.8
blob: 233e4aa104c38568ff509093fa00b26a03648b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.\" man page for makedeltarpm
.\" Copyright (c) 2010 Michael Schroeder <mls@suse.de>
.\" See LICENSE.BSD for license
.TH MAKEDELTARPM 8 "Jul 2010"
.SH NAME
makedeltarpm \- create a deltarpm from two rpms

.SH SYNOPSIS
.B makedeltarpm
.RB [ -v ]
.RB [ -V
.IR version ]
.RB [ -z
.IR compression ]
.RB [ -m
.IR mbytes ]
.RB [ -s
.IR seqfile ]
.RB [ -r ]
.RB [ -u ]
.I oldrpm
.I newrpm
.I deltarpm
.br
.B makedeltarpm
.RB [ -v ]
.RB [ -V
.IR version ]
.RB [ -z
.IR compression ]
.RB [ -s
.IR seqfile ]
.RB [ -u ]
.B -p
.I oldrpmprint
.IR oldpatchrpm
.I oldrpm
.I newrpm
.I deltarpm

.SH DESCRIPTION
makedeltarpm creates a deltarpm from two rpms. The deltarpm can
later be used to recreate the new rpm from either filesystem data
or the old rpm. Use the
.B -v
option to make makedeltarpm more verbose about its work (use it
twice to make it even more verbose).
.PP
If you want to create a
smaller and faster to combine "rpm-only" deltarpm which does not
work with filesystem data, specify the
.B -r
option.
.PP
makedeltarpm normally produces
a V3 format deltarpm, use the
.B -V
option to specify a different version if desired. The
.B -z
option can be used to specify a different compression method, the
default is to use the same compression method as used in the
new rpm.
.PP
The
.B -s
option makes makedeltarpm write out the sequence id to the specified
file
.IR seqfile .

If you also use patch rpms you should use the
.B -p
option to specify the rpm-print of
.I oldrpm
and the created
patch rpm. This option tells makedeltarpm to exclude the files that
were not included in the patch rpm but are not byteswise identical
to the ones in oldrpm.
.PP
makedeltarpm can also create an "identity" deltarpm by adding the
.B -u
switch. In this case only one rpm has to be specified. An identity
deltarpm can be useful to just replace the signature header of a
rpm or to reconstruct a rpm from the filesystem.

.SH MEMORY CONSIDERATIONS
makedeltarpm normally needs about three to four times the size
of the rpm's uncompressed payload. You can use the
.B -m
option to enable a sliding block algorithm that needs
.IR mbytes
megabytes of memory. This trades memory usage with the size of
the created deltarpm. Furthermore, the uncompressed deltarpm
payload is currently also stored in memory when this option is
used, but it tends to be small in most cases.

.SH SEE ALSO
.BR applydeltarpm (8)
.BR combinedeltarpm (8)

.SH AUTHOR
Michael Schroeder <mls@suse.de>