<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Possibility of basing on ubuntu core?]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1294/how-could-snappy-ubuntu-core-be-interesting-for-us">How could Snappy Ubuntu Core be interesting for us?</a></p>
<p dir="auto">This is a flashback on the original comment above.</p>
<p dir="auto">Upon reading the recent news about ubuntu core for desktop use cases. <a href="https://ubuntu.com/blog/ubuntu-core-an-immutable-linux-desktop" target="_blank" rel="noopener noreferrer nofollow ugc">https://ubuntu.com/blog/ubuntu-core-an-immutable-linux-desktop</a><br />
I'm wondering if it's beneficial for the ubport project to do something similar? As a long time fan of the whole ubuntu touch project, I think once canonical dropped support, ubport has been taking a super huge responsibility to not only make things work, improve it when it's needed, but also to maintain the packages and transitioned it when matured. I think this huge responsibility kinda sucks the ubport team's energy from more interested features they want to invest.</p>
<p dir="auto">I'm wondering if it's possible to build a POC of ubports that are:</p>
<ul>
<li>port hallium into gadget/kernel snap</li>
<li>core20 or 22 base snap</li>
<li>ubport shell as a snap, provides snap slots so other app(snap) can consume it if permitted by the user</li>
<li>install an snap that consumes one of the slots from ubport shell snap</li>
</ul>
]]></description><link>https://forums.ubports.com/topic/9028/possibility-of-basing-on-ubuntu-core</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 19:38:50 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/9028.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Jun 2023 10:20:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Possibility of basing on ubuntu core? on Mon, 05 Jun 2023 16:05:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a></p>
<p dir="auto">Hehe got it! Thx for everything. I'm going to learn those two for now.</p>
]]></description><link>https://forums.ubports.com/post/73482</link><guid isPermaLink="true">https://forums.ubports.com/post/73482</guid><dc:creator><![CDATA[extraymond]]></dc:creator><pubDate>Mon, 05 Jun 2023 16:05:10 GMT</pubDate></item><item><title><![CDATA[Reply to Possibility of basing on ubuntu core? on Mon, 05 Jun 2023 15:34:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/extraymond" aria-label="Profile: extraymond">@<bdi>extraymond</bdi></a> said in <a href="/post/73480">Possibility of basing on ubuntu core?</a>:</p>
<blockquote>
<pre><code>run lomiri as it is on mir which I assume is possible with ubuntu core
</code></pre>
</blockquote>
<p dir="auto">If by "on mir" you mean using the mirclient IPC, then no. That won't work on Ubuntu Core.</p>
<p dir="auto">Helpfully <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f601.png?v=aee68f5cf05" class="not-responsive emoji emoji-android emoji--grin" style="height:23px;width:auto;vertical-align:middle" title=":grin:" alt="😁" />, that leaves you with just one option:</p>
<blockquote>
<pre><code>learn about confined-shell and mirway and see if I can get lomiri running as a standalone snap on a ubuntu core device.
</code></pre>
</blockquote>
<p dir="auto">Here's the code for these:</p>
<p dir="auto"><a href="https://github.com/MirServer/confined-shell-wip" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MirServer/confined-shell-wip</a><br />
<a href="https://github.com/Miriway/Miriway" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Miriway/Miriway</a></p>
]]></description><link>https://forums.ubports.com/post/73481</link><guid isPermaLink="true">https://forums.ubports.com/post/73481</guid><dc:creator><![CDATA[alan_g]]></dc:creator><pubDate>Mon, 05 Jun 2023 15:34:27 GMT</pubDate></item><item><title><![CDATA[Reply to Possibility of basing on ubuntu core? on Mon, 05 Jun 2023 15:14:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a></p>
<p dir="auto">Thanks for the reply! These are tremendously helpful feedback.</p>
<p dir="auto">While kernel/gadget/hallium is a bit out of my league now, I'm playing a bit naive here and see if I can get some of the points you mentioned into some subtasks that I'm able to tackle on my own.</p>
<p dir="auto">About the kernel/gadget part, if the POC just targeted building on one device, would something like pixel3a or failrphone4 be straight forward enough? Unfortunately without c/c++ knowledge(rust/python for me), I think the most I can do is map the various shell script into the build yaml and see what's next. Another approach I think I might try is to use the rpi4 which has ubuntu core support and try something on top of it.</p>
<p dir="auto">The lomiri transition to wayland seems like a high priority before any of my vague assumption can happen.</p>
<p dir="auto">I think two option I might be able to try is either:</p>
<ul>
<li>run lomiri as it is on mir which I assume is possible with ubuntu core</li>
<li>learn about confined-shell and mirway and see if I can get lomiri running as a standalone snap on a ubuntu core device.</li>
</ul>
]]></description><link>https://forums.ubports.com/post/73480</link><guid isPermaLink="true">https://forums.ubports.com/post/73480</guid><dc:creator><![CDATA[extraymond]]></dc:creator><pubDate>Mon, 05 Jun 2023 15:14:47 GMT</pubDate></item><item><title><![CDATA[Reply to Possibility of basing on ubuntu core? on Mon, 05 Jun 2023 14:21:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/extraymond" aria-label="Profile: extraymond">@<bdi>extraymond</bdi></a> I'd love to see this happen, but are you volunteering to work on it? Or hoping someone else does?</p>
<p dir="auto">I've some knowledge of both Ubuntu Touch and Snaps and am willing to advise.</p>
<p dir="auto">For anyone interested, the POC described would be a huge amount of work. Probably less than the 20.04 transition but certainly more than a few months:</p>
<ul>
<li>
<p dir="auto">Ubuntu Touch uses a custom kernel for each phone so a kernel snap would need to be maintained for each phone. I also suspect that work would be needed to have hallium "play nice" with snapd.<br />
Anyone tackling this has a huge learning curve to surmount: You likely have as much knowledge as anyone else here about getting hallium working in a kernel snap</p>
</li>
<li>
<p dir="auto">The base doesn't really matter for this, but I'd suggest core20 to match the 20.04 base of other UBports projects</p>
</li>
<li>
<p dir="auto">Lomiri (the shell used by the project) is not designed to work with snap confinement, so this would involve more than "just packaging".<br />
And "just packaging" as a snap isn't trivial for shells - I speak as one that has done it! (See below)</p>
</li>
<li>
<p dir="auto">The only snap interface between Lomiri and "an snap" would have to be <code>wayland</code> (There is no Snap interface for the legacy mirclient-based IPC).<br />
The client bit is simple, there are loads of snaps available that consume the <code>wayland</code> slot. However, work on transitioning Lomiri to Wayland is incomplete (it has been in progress for several years)</p>
</li>
</ul>
<p dir="auto">If you're on Ubuntu desktop, you can experiment with a couple of relevant snaps of another Mir based shell (Miriway) that I've packaged: you can install both of these on your system:</p>
<ul>
<li><a href="https://snapcraft.io/confined-shell" target="_blank" rel="noopener noreferrer nofollow ugc">confined-shell</a> is a strictly confined snap which is what is needed to install on Ubuntu Core; and,</li>
<li><a href="https://snapcraft.io/miriway" target="_blank" rel="noopener noreferrer nofollow ugc">miriway</a> an unconfined snap that doesn't have to deal with the limitations imposed by strict confinement</li>
</ul>
<p dir="auto">Probably the most tractable part of this POC would be to package Lomiri as a snap. This could also be useful for Lomiri's desktop ambitions. You could get an idea of what's involved by starting with a "classic" snap modelled on miriway.</p>
]]></description><link>https://forums.ubports.com/post/73479</link><guid isPermaLink="true">https://forums.ubports.com/post/73479</guid><dc:creator><![CDATA[alan_g]]></dc:creator><pubDate>Mon, 05 Jun 2023 14:21:33 GMT</pubDate></item><item><title><![CDATA[Reply to Possibility of basing on ubuntu core? on Mon, 05 Jun 2023 14:10:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arubislander" aria-label="Profile: arubislander">@<bdi>arubislander</bdi></a></p>
<p dir="auto">To be honest I don't think it should be and It would be.<br />
For example, I have some experience running and building snaps, it's definitely something I'm pleasantly doing.<br />
If we can utilize the userbase of snap packagers to help the ubport team, and take some of the maintenance burden from their shoulder, it might be a healthy thing for the project from my perspective. This might provide a new angle to attract more contributors to the project after all.</p>
<p dir="auto">All in all, the point of this post is kinda reach out to someone more experience than I am, and see if someone had already tried similar stuff like the original comment above. Maybe it's not as hard as I think it would be.</p>
]]></description><link>https://forums.ubports.com/post/73478</link><guid isPermaLink="true">https://forums.ubports.com/post/73478</guid><dc:creator><![CDATA[extraymond]]></dc:creator><pubDate>Mon, 05 Jun 2023 14:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to Possibility of basing on ubuntu core? on Mon, 05 Jun 2023 11:11:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/extraymond" aria-label="Profile: extraymond">@<bdi>extraymond</bdi></a> Don't you think this POC would also "suck the ubport team's energy from more interesting features they want to invest."?</p>
]]></description><link>https://forums.ubports.com/post/73476</link><guid isPermaLink="true">https://forums.ubports.com/post/73476</guid><dc:creator><![CDATA[arubislander]]></dc:creator><pubDate>Mon, 05 Jun 2023 11:11:39 GMT</pubDate></item></channel></rss>