Commit 049d3ce1 authored by Natanael Copa's avatar Natanael Copa

setup-xorg-base: initial commit

This script is supposed to help users to quickly get a working xorg server
parent 4d1ea131
...@@ -16,4 +16,5 @@ setup-interfaces ...@@ -16,4 +16,5 @@ setup-interfaces
setup-keymap setup-keymap
setup-mta setup-mta
setup-timezone setup-timezone
update-conf update-conf
...@@ -24,6 +24,7 @@ SBIN_FILES := lbu\ ...@@ -24,6 +24,7 @@ SBIN_FILES := lbu\
setup-acf\ setup-acf\
setup-bootable\ setup-bootable\
setup-timezone\ setup-timezone\
update-conf update-conf
BIN_FILES := uniso BIN_FILES := uniso
# simple script to setup x basic org server
# you will still need a window manager and login manager or xinit
base_pkgs="xorg-server xf86-video-vesa xf86-input-evdev xf86-input-mouse
xf86-input-keyboard udev"
# TODO: detect graphics card and pick proper xf86-video-* driver based on that
# TODO: detect if we need xf86-input-synaptics
# ps mouse
modprobe psmouse
grep -q -w psmouse /etc/modules || echo "psmouse" >> /etc/modules
# install packages
apk add $base_pkgs $@
# setup and start udev
rc-update -q del mdev sysinit
rc-update -q add udev sysinit
rc-update -q add udev-postmount default
if ! rc-service -q udev status; then
rc-service udev start
rc-service udev-postmount start
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment