[Buildroot] [PATCH] package/alsa-utils: fix install if directories exist

Peter Korsgaard peter at korsgaard.com
Sat Sep 5 08:18:30 UTC 2020


>>>>> "John" == John Keeping <john at metanate.com> writes:

 > "mkdir" (without "-p") fails if the target directory exists, which means
 > that if alsa-utils is being reinstalled or if other files have
 > previously been installed in the alsa-state.d or alsa-restore.d
 > directories the installation will fail.

 > Switch to "$(INSTALL) -d" which allows us to be explicit about the
 > permissions and handles the case of a pre-existing directory correctly.

 > Signed-off-by: John Keeping <john at metanate.com>

Committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list