guysoft / CustomPiOS

A Raspberry Pi and other ARM devices distribution builder
GNU General Public License v3.0
508 stars 146 forks source link

Docker module on ubuntu fails with #149

Closed guysoft closed 1 year ago

guysoft commented 2 years ago

Related: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1947601

Manually installing linux-modules-extra-raspi solves the issue, however in CustomPiOS running this triggers flash-kernel which fails. Overriding flask-kernel does not install the module correctly.

guysoft commented 2 years ago

Flash-kernel bug report: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1955353 Apparently it should know its in chroot

guysoft commented 1 year ago

A fix has been released in to Ubuntu:

This bug was fixed in the package flash-kernel - 3.106ubuntu7

---------------
flash-kernel (3.106ubuntu7) kinetic; urgency=medium

  * Change FK_FORCE_CONTAINER to FK_FORCE and cleanly exit if running
    in a chroot environment (LP: [#1955353](https://bugs.launchpad.net/bugs/1955353))

 -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> Thu, 08 Sep 2022 09:16:55 -0500

Still need to test it.

guysoft commented 1 year ago

There is a fix now in devel that uses the proposed package

guysoft commented 1 year ago

Fixed also the cgroup bug https://github.com/docker/for-linux/issues/219