News for hackers. Stuff that matters.
Re:Wayland and LVGL on PinePhone with Ubuntu Touch by zozbot234 on Saturday July 25, 2020 @04:24AM (#23947616)
> It has a read-only root filesystem that gets updated over the air. ... you would have to root it. But then your changes would get wiped with the next update.

No, given root access you can simply overlay a separate read-write filesystem over the readonly system partition. It can be as "Linux" as any Live distribution with persistence.

Re:Wayland and LVGL on PinePhone with Ubuntu Touch by HugThem on Saturday July 25, 2020 @05:24AM (#23947837)
What are the "easy" steps to "overlay a separate read-write filesystem over the readonly system partition"? I would not even know where to start.
Re:Wayland and LVGL on PinePhone with Ubuntu Touch by lupyuen on Saturday July 25, 2020 @06:37AM (#23948120)
Just a simple line :-)

sudo mount -o remount,rw /

Then we can sudo apt install anything...

sudo apt install gcc gdb git make libgles2-mesa-dev

Re:Wayland and LVGL on PinePhone with Ubuntu Touch by panta on Saturday July 25, 2020 @08:10AM (#23948589)
This is re-mounting R/W the root, not mounting an overlay. What you install this way will be wiped out on next update.
Re:Wayland and LVGL on PinePhone with Ubuntu Touch by IronBacon on Saturday July 25, 2020 @06:38AM (#23948125)
I think something like "mount --bind olddir newdir"...
Re:Wayland and LVGL on PinePhone with Ubuntu Touch by panta on Saturday July 25, 2020 @08:13AM (#23948607)
This is a bind mount, not an overlay. For an actual overlay you need something like overlayfs or unionfs. See for example https://wiki.archlinux.org/index.php/Overlay_filesystem
Re:Wayland and LVGL on PinePhone with Ubuntu Touch by lupyuen on Saturday July 25, 2020 @08:19AM (#23948646)
Thanks! Will try that out
Re:Wayland and LVGL on PinePhone with Ubuntu Touch by panta on Saturday July 25, 2020 @08:16AM (#23948630)
Yes, but if it wasn’t already done out of the box (no idea if it is or not!), you’d need to apply the changes to mount the overlay to the root on every update.