PacManager (FWS-PacManage 1.2.1) is packaged like fws-dnd: a local PKGBUILD with the sources vendored in the repository, because the upstream Gitea is private and makepkg cannot fetch from it during the build. It is deliberately absent from packages.x86_64. On a live system one is about to replace, a package manager serves no purpose, and it would drag qt6-base into the squashfs for nothing. build.sh drops the built package into the image instead, and the kickstart %post installs it into the target, then deletes the file. Two conditions there: only when a desktop was chosen (it is a GUI application, nothing could launch it on a command-line install), and never blocking -- "pacman -U" resolves qt6-base over the network, and no PacManager is not a failed installation. The binary goes to /usr/lib/fws-pacmanage rather than /usr/bin: PluginManager looks for its plugins in applicationDirPath()/plugins, so /usr/bin would mean a /usr/bin/plugins directory polluting a PATH entry. Binary and plugins stay together in a private directory and /usr/bin/fws-pacmanage is a symlink -- Qt resolves /proc/self/exe, so the plugins are still found. Upstream ships no .desktop file, so one is provided here. build.sh also gains a guard: it now checks, before any lengthy step, that every package only local-repo can provide is actually built. Until now a missing one surfaced as a bare "target not found" from pacman, after the mirror refresh, the full upgrade and the whole mkarchiso setup -- several minutes for an error detectable in one second. Signed-off-by: nocode <suzuku295@gmail.com>
54 KiB
54 KiB