kernel-install: avoid process substitution
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 16 Dec 2016 17:14:47 +0000 (18:14 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 11 Jan 2017 20:34:54 +0000 (15:34 -0500)
commitdb1e2bfc4f049261ae2d407568ff39569b36d98c
tree8d80339bfdfd818e4a8134e9437e02b6152c84ac
parent374e69225215aa25ea67b166ec4b61ad628d5021
kernel-install: avoid process substitution

bash implements process substitution using /dev/fd/N (this is documented
in man bash). We'd like kernel-install to work in chrooted RPM
scriptlets without /dev.

We can use here-strings instead. bash uses temporary files to implement
those.
src/kernel-install/kernel-install