PrawnOS-nonfree/scripts/InstallScripts/InstallPackages.sh
SolidHal d0403b14e3 Cleaned up image creation, made functional installation scripts
Cleaned up build files, resources, scripts.
Made the image use a partition map to fix mmc issues

Signed-off-by: SolidHal <solidhal@users.noreply.github.com>
2018-09-05 18:35:33 -05:00

29 lines
848 B
Bash
Executable File

#!/bin/sh -xe
DIR=/InstallResources
#Setup locales, crda
apt install -y locales
dpkg-reconfigure locale
apt install -y crda
locale-gen
#Install lxqt, wicd
apt install -y xorg acpi-support lightdm tasksel dpkg librsvg2-common xorg xserver-xorg-input-libinput alsa-utils anacron avahi-daemon eject iw libnss-mdns xdg-utils lxqt wicd-daemon wicd wicd-curses wicd-gtk xserver-xorg-input-synaptics
#Copy in acpi, pulse audio, trackpad settings, funtion key settings
cp -rf $DIR/default.pa /etc/pulse/default.pa
mkdir /etc/acpi
cp -rf $DIR/sound.sh /etc/acpi/sound.sh
mkdir /etc/acpi/events
cp -rf $DIR/headphone-acpi-toggle /etc/acpi/events/headphone-acpi-toggle
mkdir /etc/X11/xorg.conf.d/
cp -rf $DIR/50-synaptics.conf /etc/X11/xorg.conf.d/
echo " Enter new username: "
read username
adduser $username
usermod -a -G sudo,netdev $username
reboot