mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add more lts changes
This commit is contained in:
parent
0e18a97fe8
commit
d78dc1c55a
5 changed files with 38 additions and 3 deletions
|
@ -8,7 +8,7 @@ FILES=""
|
|||
# SETUP
|
||||
#
|
||||
# Please change the hooks only if you know what you are doing.
|
||||
HOOKS="arch_ftp_install arch_installer arch_bootmessage_allinone arch_tz arch_keymap arch_acpi arch_motd arch_memtest arch_pam arch_shadow arch_base arch_udev arch_udev_lts arch_fb arch_intel_wireless arch_hwdetect arch_udevtrigger ide pata scsi sata arch_cdrom arch_pcspkr arch_net arch_isdn arch_pcmcia arch_rtc arch_sound usb usbinput arch_fw_lts arch_floppy arch_virtio arch_dmraid arch_advanced_root arch_devicemapper arch_mdadm arch_lvm2 arch_encrypt arch_filesystems arch_remote arch_cpufreq arch_links arch_pacman_lts arch_kexec arch_ppp arch_pppoe arch_lilo arch_grub arch_syslinux arch_iptables arch_capi4k arch_pciutils arch_usbutils arch_openvpn arch_vpnc arch_pptpclient arch_licenses arch_wireless arch_linux_atm arch_tiacx_wireless arch_netcfg arch_fsarchiver arch_addons arch_vim arch_wipe arch_testdisk arch_ddrescue arch_clamav"
|
||||
HOOKS="arch_base_install arch_installer arch_bootmessage_allinone arch_tz arch_keymap arch_acpi arch_motd arch_memtest arch_pam arch_shadow arch_base arch_udev arch_udev_lts arch_fb_lts arch_intel_wireless arch_hwdetect arch_udevtrigger ide pata scsi sata arch_cdrom arch_pcspkr arch_net arch_isdn arch_pcmcia arch_rtc arch_sound usb usbinput arch_fw_lts arch_floppy arch_virtio arch_dmraid arch_advanced_root arch_devicemapper arch_mdadm arch_lvm2 arch_encrypt arch_filesystems arch_remote arch_cpufreq arch_links arch_pacman_lts arch_kexec arch_ppp arch_pppoe arch_lilo arch_grub arch_syslinux arch_iptables arch_capi4k arch_pciutils arch_usbutils arch_openvpn arch_vpnc arch_pptpclient arch_licenses arch_wireless arch_linux_atm arch_tiacx_wireless arch_netcfg arch_fsarchiver arch_addons arch_vim arch_wipe arch_testdisk arch_ddrescue arch_clamav"
|
||||
|
||||
### NETWORK SETUP
|
||||
# the default install media creating process, uses latest files from svn!
|
||||
|
|
17
lib/initcpio/hooks/arch_fb_lts
Normal file
17
lib/initcpio/hooks/arch_fb_lts
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
run_hook ()
|
||||
{
|
||||
|
||||
# check for uvesafb
|
||||
if [ "$(echo $uvesafb | grep "[0-9]*x[0-9]*-[0-9]*")" ]; then
|
||||
msg ":: Switching to uvesafb mode..."
|
||||
sed -i -e "s#options.*#options uvesafb mode_option=$uvesafb scroll=ywrap#g" /etc/modprobe.d/uvesafb.conf
|
||||
fbmodule="uvesafb"
|
||||
fi
|
||||
# load correct module
|
||||
if ! [ "$fbmodule" = "" -a "$fbmodule" = "y" ]; then
|
||||
msg ":: Loading ${fbmodule}..."
|
||||
modprobe -aq $fbmodule >/dev/null 2>&1
|
||||
fi
|
||||
}
|
17
lib/initcpio/install/arch_fb_lts
Normal file
17
lib/initcpio/install/arch_fb_lts
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
install ()
|
||||
{
|
||||
MODULES=" $(checked_modules "drivers/video/" | grep 'fb') $(checked_modules "drivers/char/agp") "
|
||||
BINARIES="v86d"
|
||||
FILES=""
|
||||
SCRIPT="arch_fb_lts"
|
||||
add_file "/usr/share/archboot/fb/etc/modprobe.d/uvesafb.conf" "/etc/modprobe.d/uvesafb.conf"
|
||||
}
|
||||
|
||||
help ()
|
||||
{
|
||||
cat<<HELPEOF
|
||||
This hook includes the framebuffer and kms subsystem on an arch boot lts image.
|
||||
HELPEOF
|
||||
}
|
|
@ -16,7 +16,8 @@ install ()
|
|||
help ()
|
||||
{
|
||||
cat<<HELPEOF
|
||||
This hook loads the necessary modules for a firewire root device.
|
||||
This hook loads the necessary modules for a firewire root device, on
|
||||
lts kernel image.
|
||||
Detection will take place at runtime. To minimize the modules
|
||||
in the image, add the autodetect hook too.
|
||||
HELPEOF
|
||||
|
|
|
@ -40,6 +40,6 @@ add_file "/usr/share/archboot/pacman/etc/pacman.d/mirrorlist" "/etc/pacman.d/mir
|
|||
help ()
|
||||
{
|
||||
cat<<HELPEOF
|
||||
This hook includes the pacman on an arch boot image.
|
||||
This hook includes the pacman on an arch lts boot image.
|
||||
HELPEOF
|
||||
}
|
Loading…
Reference in a new issue