Re: [PATCH] Allow swap files specified by filename (#468504)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 29, 2008 at 05:07:14PM -0400, Jeremy Katz wrote:
> This is pretty straight-forward, if a little ugly.  Should make it so
> that people who specify a swapfile don't get failures on the upgrade
> attempt
> 
> Jeremy
> 
> ---
>  fsset.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fsset.py b/fsset.py
> index d37ec6c..40eb0d2 100644
> --- a/fsset.py
> +++ b/fsset.py
> @@ -1974,7 +1974,7 @@ MAILADDR root
>                          else:
>                              continue
>                      else:
> -                        if anaconda.id.getUpgrade() and not
> (entry.getLabel() or entry.getUuid()):
> +                        if anaconda.id.getUpgrade() and not
> (entry.getLabel() or entry.getUuid()) and
> entry.device.getDevice().startswith("/dev"):
>                              errStr = _("Error mounting device %s as %s:
> "
>                                         "%s\n\n"
>                                         "Devices in /etc/fstab should be
> specified "
> -- 
> 1.6.0.3

Looks fine to me.

-- 
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

Attachment: pgp7pUA8u77yc.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux