installer: Remove a more or less arbitrary check of the swap size.
authorSascha Wildner <saw@online.de>
Fri, 8 Aug 2014 17:15:41 +0000 (19:15 +0200)
committerSascha Wildner <saw@online.de>
Fri, 8 Aug 2014 17:15:41 +0000 (19:15 +0200)
commite9a34c1fc1e608c998e67398970b409c1ac7a298
tree378279815c205210c73603d8108775d14285705e
parent67fefd076e8223c2c65e0f8b31bbc2848e3c047e
installer: Remove a more or less arbitrary check of the swap size.

Except for boxes which have lots of memory combined with a very very
small disk, the installer gives a sane default for swap size by itself
and if the user doesn't change it, all will be good.

However, if the user did choose to adjust the swap size and if it was
to below the main memory size, this check caused it not to be activated
and no dumpdev was written to the rc.conf of the installed system.

Instead of guessing around how much swap is needed to hold a dump,
adding warnings and whatnot, just assume that anyone who tinkers with
the offered defaults is intelligent enough to know possible
consequences and accept their choice in any case.
usr.sbin/installer/dfuibe_installer/fn_install.c