mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
clean cache after archboot installation
This commit is contained in:
parent
004e174d6c
commit
90e4ab4410
3 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@ if [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
|
||||||
_clean_mkinitcpio "${1}"
|
_clean_mkinitcpio "${1}"
|
||||||
_clean_cache "${1}"
|
_clean_cache "${1}"
|
||||||
_install_archboot "${1}" || exit 1
|
_install_archboot "${1}" || exit 1
|
||||||
|
_clean_cache "${1}"
|
||||||
_umount_special "${1}" || exit 1
|
_umount_special "${1}" || exit 1
|
||||||
_generate_locales "${1}"
|
_generate_locales "${1}"
|
||||||
_fix_groups "${1}"
|
_fix_groups "${1}"
|
||||||
|
|
|
@ -74,6 +74,7 @@ if [[ "${_G_RELEASE}" == "1" ]]; then
|
||||||
_zram_w_dir "${_ZRAM_IMAGE_SIZE}"
|
_zram_w_dir "${_ZRAM_IMAGE_SIZE}"
|
||||||
echo -e "\033[1mStep 1/2:\033[0m Removing not necessary files from / ..."
|
echo -e "\033[1mStep 1/2:\033[0m Removing not necessary files from / ..."
|
||||||
_clean_archboot
|
_clean_archboot
|
||||||
|
_zram_usr "300M"
|
||||||
echo -e "\033[1mStep 2/2:\033[0m Generating new iso files in ${_W_DIR} now ..."
|
echo -e "\033[1mStep 2/2:\033[0m Generating new iso files in ${_W_DIR} now ..."
|
||||||
echo " This will need some time ..."
|
echo " This will need some time ..."
|
||||||
"archboot-${_RUNNING_ARCH}-release.sh" "${_W_DIR}" >/dev/tty7 2>&1 || exit 1
|
"archboot-${_RUNNING_ARCH}-release.sh" "${_W_DIR}" >/dev/tty7 2>&1 || exit 1
|
||||||
|
|
|
@ -16,6 +16,7 @@ _install_base_packages "${1}" || exit 1
|
||||||
_clean_mkinitcpio "${1}"
|
_clean_mkinitcpio "${1}"
|
||||||
_clean_cache "${1}"
|
_clean_cache "${1}"
|
||||||
_install_archboot "${1}" || exit 1
|
_install_archboot "${1}" || exit 1
|
||||||
|
_clean_cache "${1}"
|
||||||
_umount_special "${1}" || exit 1
|
_umount_special "${1}" || exit 1
|
||||||
_generate_locales "${1}"
|
_generate_locales "${1}"
|
||||||
_fix_groups "${1}"
|
_fix_groups "${1}"
|
||||||
|
|
Loading…
Reference in a new issue