remove linux-firmware it's automatically included saves 500MB :), remove wiki_lite, saves 30MB.

This commit is contained in:
Tobias Powalowski 2021-09-18 08:31:32 +02:00
parent 6d9e350f05
commit 5f9339a64b
3 changed files with 2 additions and 33 deletions

View file

@ -11,7 +11,7 @@ FILES=()
# #
# 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_kms udev archboot_base archboot_installer archboot_bootmessage_x86_64 archboot_tz archboot_keymap \ HOOKS=(archboot_kms udev archboot_base archboot_installer archboot_bootmessage_x86_64 archboot_tz archboot_keymap \
archboot_acpi archboot_motd archboot_memtest archboot_linux_firmware archboot_intel_wireless \ archboot_acpi archboot_motd archboot_memtest archboot_intel_wireless \
archboot_hwdetect block memdisk archboot_pcspkr archboot_net \ archboot_hwdetect block memdisk archboot_pcspkr archboot_net \
archboot_sound keyboard dmraid archboot_devicemapper archboot_mdadm mdadm_udev lvm2 archboot_lvm2 \ archboot_sound keyboard dmraid archboot_devicemapper archboot_mdadm mdadm_udev lvm2 archboot_lvm2 \
encrypt archboot_cryptoloop btrfs archboot_filesystems archboot_remote archboot_cpufreq archboot_links archboot_kexec archboot_ppp archboot_xl2tpd \ encrypt archboot_cryptoloop btrfs archboot_filesystems archboot_remote archboot_cpufreq archboot_links archboot_kexec archboot_ppp archboot_xl2tpd \
@ -19,7 +19,7 @@ archboot_pppoe archboot_grub archboot_refind archboot_efibootmgr archboot_syslin
archboot_openvpn archboot_vpnc archboot_pptpclient archboot_smartmontools archboot_licenses archboot_wireless archboot_wireless_staging \ archboot_openvpn archboot_vpnc archboot_pptpclient archboot_smartmontools archboot_licenses archboot_wireless archboot_wireless_staging \
archboot_linux_atm archboot_netctl archboot_fsarchiver archboot_vim archboot_wipe archboot_testdisk archboot_ddrescue \ archboot_linux_atm archboot_netctl archboot_fsarchiver archboot_vim archboot_wipe archboot_testdisk archboot_ddrescue \
archboot_chntpw archboot_weechat archboot_nmap archboot_tcpdump archboot_openconnect archboot_dnsmasq archboot_platform \ archboot_chntpw archboot_weechat archboot_nmap archboot_tcpdump archboot_openconnect archboot_dnsmasq archboot_platform \
archboot_hypervisor archboot_dmidecode archboot_wiki_lite archboot_amd_ucode archboot_intel_ucode archboot_wvdial \ archboot_hypervisor archboot_dmidecode archboot_amd_ucode archboot_intel_ucode archboot_wvdial \
archboot_usb_modeswitch archboot_lockdown-ms archboot_prebootloader archboot_efivar net) archboot_usb_modeswitch archboot_lockdown-ms archboot_prebootloader archboot_efivar net)
# COMPRESSION # COMPRESSION

View file

@ -1,16 +0,0 @@
#!/usr/bin/env bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
# add firmware files and licenses
add_full_dir "/lib/firmware"
add_full_dir "/usr/share/licenses/linux-firmware"
}
help ()
{
cat<<HELPEOF
This hook includes linux_firmware on an arch boot image.
HELPEOF
}

View file

@ -1,15 +0,0 @@
#!/usr/bin/env bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_file "/usr/bin/wiki-search"
add_full_dir "/usr/share/doc/arch-wiki/text"
}
help ()
{
cat<<HELPEOF
This hook includes arch wiki lite on an arch boot image.
HELPEOF
}