[Debian-on-mobile-maintainers] Bug#968106: Bug#968106: phosh: Shell doesn't start

Guido Günther agx at sigxcpu.org
Mon Aug 17 08:39:31 BST 2020


Hi,
On Sun, Aug 16, 2020 at 07:47:04PM +0200, Michel Le Bihan via Debian-on-mobile-maintainers wrote:
> Hello,
> 
> I added `--aptopt='Apt::Install-Recommends "true"'` to mmdebstrap
> options, so my command was `sudo mmdebstrap --aptopt='Apt::Install-
> Recommends "true"' --include=linux-image-amd64,live-boot,xserver-xorg-
> video-all,phosh --arch amd64 bullseye debian-live-root 
> http://ftp.pl.debian.org/debian/`. I ended up with a 2.5G root that had
> gdm3 and gnome-shell that aren't quite useful or even wanted on mobile
> devices. When I selected Phosh as my shell and entered my password,
> Phosh didn't start and I ended up back on the login screen. I was able
> to start gnome-shell normally.
> 
> Also, why would a package required for Phosh to function only be
> recommended? Are there setups where Phosh can be started without those
> packages being installed?

It's needed for the session but not for phosh itself (hence Recommends:)
you can still run

   /usr/bin/phoc -E /usr/libexec/phosh

fine. I'm not entirely clear here though if a `Depends:` wouldn't be the
better thing to do. It does not happen with GNOME Shell since the
session file is in a separate package (gnome-session). Maybe we need a
phosh-session here? I'll open a bug for that.

That said I've also changed phosh's dependencies to not Recommend
`gnome-session` but `gnome-session-{bin,common` so it's easier to build
a stripped down system since e.g. GNOME Shell can be removed.

Cheers,
 -- Guido

> 
> Michel Le Bihan
> 
> _______________________________________________
> Debian-on-mobile-maintainers mailing list
> Debian-on-mobile-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-on-mobile-maintainers



More information about the Debian-on-mobile-maintainers mailing list