]> code.ossystems Code Review - openembedded-core.git/commit
util-linux: Update for swapoff being a separate binary
authorColin Walters <walters@verbum.org>
Mon, 29 Jul 2013 12:43:14 +0000 (08:43 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Jul 2013 05:56:27 +0000 (06:56 +0100)
commit4a15433f12c616f06192a4cda209da29395ceb93
treebc47dce4ef3dc956c901e68a74ec70bc690d90d1
parent4ca0af699b5b4b3cf95b3e76482651949fd922ac
util-linux: Update for swapoff being a separate binary

In older versions of util-linux, swapon and swapoff were the
same binary, and it did runtime detection.  But since v2.22
which is util-linux commit 6cf8d46ceefe9a7, they are separate
binaries.

This patch is necessary to make the util-linux version of
swapoff work at all - currently in OE swapoff = swapon, which
is clearly broken =)

Probably most OE consumers use the busybox swapoff and hence
this has gone unnoticed.

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/util-linux/util-linux.inc