From 34b9a2b1509c0288a9635b8b3bdb32ca03df8270 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 23 Sep 2012 11:19:29 -0400 Subject: force bsdcpio to run with LANG=C In case mkinitcpio is in run via chroot(1), this possibly silences a harmless warning about bsdcpio failing to set the default locale. This comes up fairly often with the recent install media and users think that it's something to be concerned about. Signed-off-by: Dave Reisner --- mkinitcpio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkinitcpio b/mkinitcpio index bdeaa74..c80db8f 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -405,7 +405,7 @@ if [[ $GENIMG ]]; then pushd "$BUILDROOT" >/dev/null find . -print0 | - bsdcpio "${cpio_opts[@]}" | + LANG=C bsdcpio "${cpio_opts[@]}" | $COMPRESSION $COMPRESSION_OPTIONS > "$GENIMG" pipesave=("${PIPESTATUS[@]}") # save immediately popd >/dev/null -- cgit v1.2.3-24-g4f1b