mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add LANG=C to common.sh
This commit is contained in:
parent
dc123b22bf
commit
ec7aed5101
3 changed files with 6 additions and 5 deletions
|
@ -102,8 +102,8 @@ build_image() {
|
|||
# If this pipeline changes, |pipeprogs| below needs to be updated as well.
|
||||
find . -mindepth 1 -printf '%P\0' |
|
||||
sort -z |
|
||||
LANG=C bsdtar --null -cnf - -T - |
|
||||
LANG=C bsdtar --null -cf - --format=newc @- |
|
||||
bsdtar --null -cnf - -T - |
|
||||
bsdtar --null -cf - --format=newc @- |
|
||||
$compress "${COMPRESSION_OPTIONS[@]}" > "$compressout"
|
||||
pipestatus=("${PIPESTATUS[@]}")
|
||||
pipeprogs=('find' 'sort' 'bsdtar (step 1)' 'bsdtar (step 2)' "$compress")
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
LANG=C
|
||||
. /etc/archboot/defaults
|
||||
_BASENAME=${0##*/}
|
||||
_RUNNING_ARCH="$(uname -m)"
|
||||
|
@ -207,7 +208,7 @@ _fix_network() {
|
|||
_create_archboot_db() {
|
||||
echo "Creating archboot repository db..."
|
||||
#shellcheck disable=SC2046
|
||||
LANG=C repo-add -q "${1}"/archboot.db.tar.gz $(find "${1}"/ -type f ! -name '*.sig')
|
||||
repo-add -q "${1}"/archboot.db.tar.gz $(find "${1}"/ -type f ! -name '*.sig')
|
||||
}
|
||||
|
||||
_pacman_parameters() {
|
||||
|
|
|
@ -119,8 +119,8 @@ _create_initramfs() {
|
|||
cd "${_ROOTFS_DIR}" || exit 1
|
||||
find . -mindepth 1 -printf '%P\0' |
|
||||
sort -z |
|
||||
LANG=C bsdtar --null -cnf - -T - |
|
||||
LANG=C bsdtar --null -cf - --format=newc @- |
|
||||
bsdtar --null -cnf - -T - |
|
||||
bsdtar --null -cf - --format=newc @- |
|
||||
zstd --rm -T0> "${_RAM}/${_INITRD}" &
|
||||
sleep 2
|
||||
while pgrep -x zstd &>"${_NO_LOG}"; do
|
||||
|
|
Loading…
Reference in a new issue