build: Remove copying of 'rmt' into installer filesystem (#176)
build: Remove copying of 'rmt' into installer filesystem (#176)

On Debian systems, /etc/rmt is a dangling symlink until after a package
which provides 'rmt' is installed (at which point the links are
/etc/rmt -> /usr/sbin/rmt -> /etc/alternatives/rmt). During the build
of the installer, alternatives are not processed, so /etc/rmt is a
link which points into the filesystem of the build host (not the build
directory).

If the build is being done on a Debian-style system, the installer will
end up with an /etc/rmt which is a binary from the host, which may not
even operate on the Raspberry Pi. If the build is being done on a
non-Debian-style system, the cp command in create_cpio() will probably
fail.

Since the installer does not connect to other systems to process tar
archives, rmt is not needed, so this patch removes any attempt to copy
it into the installer.

Signed-off-by: Kevin P. Fleming <ffb4761cba839470133bee36aeb139f58d7dbaa9@km6g.us>
FooDeas/raspberrypi-ua-netinst