I’m using mkarchiso to build jetDS:
My build directory is ~/jetds, my working directory is ~/jetds-working, and my ISO directory (out) is ~/jetds-out.
If I were to attempt to copy /usr/lib/systemd/system/plymouth-stop.service to ~/jetds/airootfs/usr/lib/systemd/system and symbolically link ~/jetds/airootfs/usr/lib/systemd/system/plymouth-quit.service to /dev/null, pacman will probably tell me that the service is already there and won’t proceed with the installation of Plymouth in a chrooted environment.
The reason why I want to do this is to control the experience of loading the Plasma desktop in order to install jetDS. I have already taken care of masking plymouth-quit.service in Calamares installer and have /usr/local/bin/jetds-welcome call plymouth --quit, so I want to do the same by writing a service that will do just that within the live image but I will want to kind of sleep it off for 10 seconds before quitting plymouth upon autologin. Basically, I want to show the splash screen but don’t go black for a minute before showing the jetDS wallpaper once the Plasma session has started.
I know this is a very advanced topic and I could have posted in Arch Linux community forums but the last thing I want from the community is an RTFM response that will link me to the archiso wiki page. I don’t mean to be defensive though. I tried using AI for brainstorming but I’m getting close to running out of tokens until the next month. (sigh)
Update: Never mind. I actually used Copilot to help me out with this. I need to setup an override to override plymouth-quit.service.
In ~/jetds/airootfs/etc/systemd/system/plymouth-quit.service.d/override.conf:
[Service]
ExecStart=
ExecStart=/bin/sh -c 'sleep 10; plymouth --quit'
[Install]
WantedBy=graphical.target
I could have used Copilot to help me out with this, but I’m leaving this here in case others want to use archiso to build their own distro as well.
Update as of 13:39 Eastern Time: Seems 10 seconds is too short. I’m changing this to 60 and will rebuild the ISO image to see if that helps. The ISO image takes a while to load.
If anyone has any other suggestions on how to go about quitting Plymouth as soon as the automatic login to the desktop is complete, please let me know.