initrd: don't leave an empty /rescue after switching location
authorAaron LI <liweitianux@live.com>
Sat, 9 Jun 2018 08:45:48 +0000 (16:45 +0800)
committerAaron LI <liweitianux@live.com>
Sat, 9 Jun 2018 09:00:17 +0000 (17:00 +0800)
commit111cbfe4120e75ea2a4ae370743107616748cd43
treef1afd8b03dbb531a2971947e01716f3a1f11ce2f
parentf401eab700995e250454bbfc0ca147b8194a150d
initrd: don't leave an empty /rescue after switching location

The recent initrd change will remove the rescue tools from their old
location (/usr/share/initrd) but leave an empty /rescue directory.  Avoid
such a situation by building the rescue tools after installworld if /rescue
is empty.

Suggested-by: François Tigeot
Makefile.inc1