mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add comment about RAM saving
This commit is contained in:
parent
0c27af4d81
commit
12b500f940
3 changed files with 7 additions and 6 deletions
|
@ -10,8 +10,8 @@ FILES=()
|
||||||
# SETUP
|
# SETUP
|
||||||
#
|
#
|
||||||
# Please change the hooks only if you know what you are doing.
|
# Please change the hooks only if you know what you are doing.
|
||||||
HOOKS=(archboot_firmware_update_installer archboot_base_common_update_installer \
|
HOOKS=(archboot_base_update_installer archboot_firmware_update_installer \
|
||||||
archboot_base_update_installer archboot_filesystems_update_installer \
|
archboot_base_common_update_installer archboot_filesystems_update_installer \
|
||||||
archboot_net_update_installer block dmraid lvm2 encrypt btrfs keyboard archboot_acpi \
|
archboot_net_update_installer block dmraid lvm2 encrypt btrfs keyboard archboot_acpi \
|
||||||
archboot_kms udev archboot_cpufreq archboot_devicemapper \
|
archboot_kms udev archboot_cpufreq archboot_devicemapper \
|
||||||
archboot_hypervisor archboot_linux_atm archboot_net_common \
|
archboot_hypervisor archboot_linux_atm archboot_net_common \
|
||||||
|
|
|
@ -10,9 +10,9 @@ FILES=()
|
||||||
# SETUP
|
# SETUP
|
||||||
#
|
#
|
||||||
# Please change the hooks only if you know what you are doing.
|
# Please change the hooks only if you know what you are doing.
|
||||||
HOOKS=(archboot_firmware_update_installer archboot_base_common_update_installer \
|
HOOKS=(archboot_base_update_installer archboot_firmware_update_installer \
|
||||||
archboot_base_update_installer archboot_filesystems_update_installer archboot_net_update_installer \
|
archboot_base_common_update_installer archboot_filesystems_update_installer
|
||||||
block dmraid lvm2 encrypt btrfs keyboard archboot_acpi \
|
archboot_net_update_installer block dmraid lvm2 encrypt btrfs keyboard archboot_acpi \
|
||||||
archboot_kms udev archboot_cpufreq archboot_devicemapper archboot_pcspkr \
|
archboot_kms udev archboot_cpufreq archboot_devicemapper archboot_pcspkr \
|
||||||
archboot_hypervisor archboot_linux_atm archboot_net_common archboot_dmidecode \
|
archboot_hypervisor archboot_linux_atm archboot_net_common archboot_dmidecode \
|
||||||
archboot_platform archboot_wireless archboot_wireless_staging \
|
archboot_platform archboot_wireless archboot_wireless_staging \
|
||||||
|
|
|
@ -12,8 +12,9 @@ build ()
|
||||||
done
|
done
|
||||||
add_file "/usr/bin/archboot-setup.sh" "/usr/bin/setup"
|
add_file "/usr/bin/archboot-setup.sh" "/usr/bin/setup"
|
||||||
add_file "/usr/bin/archboot-quickinst.sh" "/usr/bin/quickinst"
|
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"
|
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"
|
[[ -d "/var/cache/pacman/pkg" ]] && rm -r "/var/cache/pacman/pkg"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue