Fixed installation of jade-gui flatpak on ISO

main
Michal 2 years ago
parent e18d5b549c
commit 8d1b3e12b4
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -7,6 +7,9 @@ usermod -p $(echo "crystal" | openssl passwd -6 -stdin) crystal
usermod -p $(echo "crystal" | openssl passwd -6 -stdin) root
chsh -s /usr/bin/zsh crystal
# Install Jade's GUI
flatpak install -y --noninteractive /usr/share/jade-gui/jade-gui.flatpak
# Desktop icon for Jade's GUI
mkdir -p /home/crystal/Desktop
cp /usr/share/applications/Jade.desktop /home/crystal/Desktop/Install.desktop
@ -16,7 +19,6 @@ chown -R crystal:crystal /home/crystal/
systemctl enable NetworkManager
systemctl enable reflector
systemctl enable gdm
systemctl enable jade-gui
# Hostname and Locale
echo "crystal-live" > /etc/hostname

@ -1 +1 @@
Built on 07/30/22 @ 00:03:09 EST
Built on 07/30/22 @ 11:52:24 EST

@ -1,12 +0,0 @@
[Unit]
Description=Installing Jade's GUI counterpart (This may take a while)
Before=gdm.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/mount -o remount,size=2G /run/archiso/cowspace
ExecStart=/bin/flatpak install -y --noninteractive /usr/share/jade-gui/jade-gui.flatpak
[Install]
WantedBy=multi-user.target

@ -6,7 +6,7 @@ echo "Chrooting to $1, and running chrooted.sh"
cp chrooted.sh ${1}/.
cp crystal/pacman.conf ${1}/.
chmod +x ${1}/chrooted.sh
chroot $1 /bin/bash -c ./chrooted.sh
arch-chroot $1 /bin/bash -c ./chrooted.sh
rm ${1}/chrooted.sh
echo "inject.sh completed."

Loading…
Cancel
Save