Add gnome edition as experimental

Also remove pbpro and rockpi4 TLP related workaround, since it did not work anyway.
This commit is contained in:
Dan Johansen 2019-11-25 16:02:13 +01:00
parent a37783f472
commit 2d2334221d
1 changed files with 1 additions and 4 deletions

View File

@ -233,10 +233,6 @@ create_install() {
$NSPAWN $TMPDIR/root systemctl enable pinebook-post-install.service 1> /dev/null 2>&1
sed -i s/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)"/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck bootsplash-manjaro)"/g $TMPDIR/root/etc/mkinitcpio.conf
$NSPAWN $TMPDIR/root mkinitcpio -P 1> /dev/null 2>&1
elif [[ "$DEVICE" = "pbpro" ]]; then
sed -i s/"WIFI_PWR_ON_BAT=on"/"WIFI_PWR_ON_BAT=off"/ $TMPDIR/root/etc/default/tlp
elif [[ "$DEVICE" = "rockpi4" ]]; then
sed -i s/"WIFI_PWR_ON_BAT=on"/"WIFI_PWR_ON_BAT=off"/ $TMPDIR/root/etc/default/tlp
elif [[ "$DEVICE" = "pinephone" ]] || [[ "$DEVICE" = "pinetab" ]]; then
$NSPAWN $TMPDIR/root systemctl enable pinebook-post-install.service 1> /dev/null 2>&1
sed -i s/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)"/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck bootsplash-manjaro)"/g $TMPDIR/root/etc/mkinitcpio.conf
@ -479,6 +475,7 @@ if [ ! -z "$DEVICE" ]; then
"lxqt" "Full LXQT Desktop and apps (lightweight)" \
"i3" "Mininal i3 WM with apps (very light)" \
"cubocore" "QT based Desktop (lightweight)" \
"gnome" "Full Gnome desktop and apps (EXPERIMANTAL)" \
3>&1 1>&2 2>&3 3>&-)
else