add comment about RAM saving

This commit is contained in:
Tobias Powalowski 2022-02-07 15:16:34 +01:00
parent 0c27af4d81
commit 12b500f940
3 changed files with 7 additions and 6 deletions

View file

@ -10,8 +10,8 @@ FILES=()
# SETUP
#
# Please change the hooks only if you know what you are doing.
HOOKS=(archboot_firmware_update_installer archboot_base_common_update_installer \
archboot_base_update_installer archboot_filesystems_update_installer \
HOOKS=(archboot_base_update_installer archboot_firmware_update_installer \
archboot_base_common_update_installer archboot_filesystems_update_installer \
archboot_net_update_installer block dmraid lvm2 encrypt btrfs keyboard archboot_acpi \
archboot_kms udev archboot_cpufreq archboot_devicemapper \
archboot_hypervisor archboot_linux_atm archboot_net_common \

View file

@ -10,9 +10,9 @@ FILES=()
# SETUP
#
# Please change the hooks only if you know what you are doing.
HOOKS=(archboot_firmware_update_installer archboot_base_common_update_installer \
archboot_base_update_installer archboot_filesystems_update_installer archboot_net_update_installer \
block dmraid lvm2 encrypt btrfs keyboard archboot_acpi \
HOOKS=(archboot_base_update_installer archboot_firmware_update_installer \
archboot_base_common_update_installer archboot_filesystems_update_installer
archboot_net_update_installer block dmraid lvm2 encrypt btrfs keyboard archboot_acpi \
archboot_kms udev archboot_cpufreq archboot_devicemapper archboot_pcspkr \
archboot_hypervisor archboot_linux_atm archboot_net_common archboot_dmidecode \
archboot_platform archboot_wireless archboot_wireless_staging \

View file

@ -12,8 +12,9 @@ build ()
done
add_file "/usr/bin/archboot-setup.sh" "/usr/bin/setup"
add_file "/usr/bin/archboot-quickinst.sh" "/usr/bin/quickinst"
# only include cachedir on booted archboot or container
# include cachedir on booted archboot or container
add_full_dir "/var/cache/pacman/pkg"
# save RAM with deleting already copied content
[[ -d "/var/cache/pacman/pkg" ]] && rm -r "/var/cache/pacman/pkg"
}