diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-10 18:21:40 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-10 18:21:40 +0000 |
commit | 998aaf5c6291c44123f8b88c1ca6f258b931fe1c (patch) | |
tree | c3d75cf7fcf25b416f858fa96678fe0442babf79 | |
parent | 91a15ad9f49cf8b333845cd2cd81a93eeed136f3 (diff) | |
download | perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar.gz perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar.bz2 perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.tar.xz perl-URPM-998aaf5c6291c44123f8b88c1ca6f258b931fe1c.zip |
Add the RPMPROB_FILTER_DISKNODES flag for running transactions with the
nosize option. Although rpm doesn't seem to use it internally, it sets
it on the --ignoresize command-line option.
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2942,7 +2942,7 @@ Trans_run(trans, data, ...) } else if (!memcmp(s, "delta", 5)) td.min_delta = SvIV(ST(i+1)); } else if (len == 6 && !memcmp(s, "nosize", 6)) { - if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_DISKSPACE; + if (SvIV(ST(i+1))) probFilter |= (RPMPROB_FILTER_DISKSPACE|RPMPROB_FILTER_DISKNODES); } else if (len == 9 && !memcmp(s, "noscripts", 9)) { if (SvIV(ST(i+1))) transFlags |= (RPMTRANS_FLAG_NOSCRIPTS | RPMTRANS_FLAG_NOPRE | |