summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh3
-rwxr-xr-xpostinstall.sh7
2 files changed, 9 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 47df852..0140510 100755
--- a/install.sh
+++ b/install.sh
@@ -31,7 +31,7 @@ setup_btrfs () {
DEVICE=$1
mkfs.btrfs -f -L GENTOO $DEVICE
- mkdir /mnt/install
+ mkdir -p /mnt/install
mount -o compress=lzo $DEVICE /mnt/install
btrfs subvolume create /mnt/install/@
@@ -147,6 +147,7 @@ else
# user done the partitioning
setup_btrfs $partition
if [[ ! -z $UEFI_MODE ]]; then
+ mkdir -p /mnt/install/boot/efi
read -erp "Enter formatted EF00 ESP partition for EFI: " -i "/dev/sda1" efi_partition
mount $efi_partition /mnt/install/boot/efi
fi
diff --git a/postinstall.sh b/postinstall.sh
index 8f6fb01..8fe4039 100755
--- a/postinstall.sh
+++ b/postinstall.sh
@@ -430,6 +430,13 @@ cp /usr/share/applications/mpv.desktop ~/.local/share/applications/mpv-kio.deskt
sed -i -r "s/^Name=(.*)$/Name=mpv Media Player \(KIO cat from smb\)/g" ~/.local/share/applications/mpv-kio.desktop
sed -i -r "s/^Exec=(.*)$/Exec=mpv-kio.sh/g" ~/.local/share/applications/mpv-kio.desktop
+# change akonadi to use sqlite backend instead of mysql
+sed -i 's/^Driver=QMYSQL$/Driver=QSQLITE3/' ~/.config/akonadi/akonadiserverrc
+akonadictl restart
+
+# disable baloo, it almost always crashes and is crapware just like akonadi
+balooctl disable
+
# after script runs delete it
sed -i "s/~\/postinstall.sh &//" ~/.xinitrc