mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
only basename on binfmt path
This commit is contained in:
parent
1a5a367f20
commit
ba8a7b58eb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue