mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
more container cleanup
This commit is contained in:
parent
14e744966f
commit
90b84244a7
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ if [[ "$(uname -m)" == "aarch64" ]]; then
|
|||
systemd-nspawn -D "${_DIR}" /bin/bash -c "echo 'en_US ISO-8859-1' >> /etc/locale.gen" >/dev/null 2>&1
|
||||
systemd-nspawn -D "${_DIR}" /bin/bash -c "echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen" >/dev/null 2>&1
|
||||
systemd-nspawn -D "${_DIR}" locale-gen >/dev/null 2>&1
|
||||
[[ "${_SAVE_RAM}" == "1" ]] && rm -r "${_DIR}/usr/share/locale"
|
||||
[[ "${_SAVE_RAM}" == "1" ]] && rm -r "${_DIR}"/usr/share/{i18n,locale}
|
||||
# generate pacman keyring
|
||||
echo "Generate pacman keyring in container ..."
|
||||
systemd-nspawn -D "${_DIR}" pacman-key --init >/dev/null 2>&1
|
||||
|
|
Loading…
Reference in a new issue