only basename on binfmt path

This commit is contained in:
Tobias Powalowski 2022-10-02 23:50:42 +02:00
parent 1a5a367f20
commit ba8a7b58eb
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ _create_pacman_conf() {
echo "ParallelDownloads = 5" >> "${_PACMAN_CONF}"
echo "[archboot]" >> "${_PACMAN_CONF}"
echo "Server = ${_INSTALL_SOURCE}" >> "${_PACMAN_CONF}"
_PACMAN_CONF="$(basename ${_PACMAN_CONF})"
[[ "${2}" == "use_container_config" ]] && _PACMAN_CONF="$(basename ${_PACMAN_CONF})"
fi
}

View file

@ -96,7 +96,7 @@ _update_source() {
_server_release() {
cd "${_ISO_HOME_ARCH}" || exit 1
"archboot-${_ARCH}-release.sh" "${_ISO_BUILD_DIR}" "${_ARCHBOOT_SOURCE}/${_ARCH}/${_DIR}" || (umount -R ${_ISO_BUILD_DIR}/{dev,sys,proc};rm -r "${_ISO_BUILD_DIR}";exit 1)
"archboot-${_ARCH}-release.sh" "${_ISO_BUILD_DIR}" "${_ARCHBOOT_SOURCE}/${_ARCH}/${_DIR}" || exit 1
# set user rights on files
[[ -d "${_ISO_BUILD_DIR}" ]] || exit 1
chmod 755 "${_ISO_BUILD_DIR}"