mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix package install on local image
This commit is contained in:
parent
b61669877c
commit
47b0452d63
1 changed files with 0 additions and 2 deletions
|
@ -203,9 +203,7 @@ _create_container() {
|
||||||
# add the db too on reboot
|
# add the db too on reboot
|
||||||
install -D -m644 /var/cache/pacman/pkg/archboot.db "${_W_DIR}"/var/cache/pacman/pkg/archboot.db
|
install -D -m644 /var/cache/pacman/pkg/archboot.db "${_W_DIR}"/var/cache/pacman/pkg/archboot.db
|
||||||
if [[ "${_L_INSTALL_COMPLETE}" == "1" ]]; then
|
if [[ "${_L_INSTALL_COMPLETE}" == "1" ]]; then
|
||||||
#mv /var/cache/pacman/pkg/* ${_W_DIR}/var/cache/pacman/pkg/
|
|
||||||
"archboot-${_RUNNING_ARCH}-create-container.sh" "${_W_DIR}" -cc --install-source=file:///var/cache/pacman/pkg >/dev/tty7 2>&1 || exit 1
|
"archboot-${_RUNNING_ARCH}-create-container.sh" "${_W_DIR}" -cc --install-source=file:///var/cache/pacman/pkg >/dev/tty7 2>&1 || exit 1
|
||||||
rm /var/cache/pacman/pkg/*
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
#online mode
|
#online mode
|
||||||
|
|
Loading…
Reference in a new issue