diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-09-23 17:19:29 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-09-24 04:10:58 +0200 |
commit | 34b9a2b1509c0288a9635b8b3bdb32ca03df8270 (patch) | |
tree | cb28f6744c5cc7fbbf3f0c3f51937523e6b55906 | |
parent | 2b227f8ac09c2767e621db5919e9da5d99e09b31 (diff) | |
download | mkinitcpio-34b9a2b1509c0288a9635b8b3bdb32ca03df8270.tar.gz mkinitcpio-34b9a2b1509c0288a9635b8b3bdb32ca03df8270.tar.xz |
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 <dreisner@archlinux.org>
-rwxr-xr-x | mkinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |