diff options
author | Aaron Ball <nullspoon@oper.io> | 2024-11-21 19:04:33 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2024-11-21 19:04:33 -0700 |
commit | 32d4b79e874cb868d03827b5c48d626fc1176ab3 (patch) | |
tree | 52774669da75d9462b045501fe5a95fc8798abb8 | |
parent | 3b1ba9da321485f842b339054e976dca7fdbff77 (diff) | |
download | oper.io-32d4b79e874cb868d03827b5c48d626fc1176ab3.tar.gz oper.io-32d4b79e874cb868d03827b5c48d626fc1176ab3.tar.xz |
Updates to librem5:crimson-daily-driver
-rw-r--r-- | posts/librem5:crimson-daily-driver.md | 51 |
1 files changed, 21 insertions, 30 deletions
diff --git a/posts/librem5:crimson-daily-driver.md b/posts/librem5:crimson-daily-driver.md index 1b14d51..f56fb87 100644 --- a/posts/librem5:crimson-daily-driver.md +++ b/posts/librem5:crimson-daily-driver.md @@ -54,11 +54,16 @@ absolutely sure_ to also run `sudo apt install libgl1-mesa-dri=22.3.6-1+deb12u1` before you reboot the phone, or you'll end up in a crash loop of phosh. -_Update 2024.10.26_ In rather frustrating timing, an important phone call came -in today while I wasn't home and the phone completely crashed and boot looped. -When I got home and could troubleshoot, I discovered an update of libseat1 to -0.9.0 had broken the phone, and it needs to stay at version `libseat1=0.7.0-6` -for now. + +Updates +------- + +### Update 2024.10.26 + +In rather frustrating timing, an important phone call came in today while I +wasn't home and the phone completely crashed and boot looped. When I got home +and could troubleshoot, I discovered an update of libseat1 to 0.9.0 had broken +the phone, and it needs to stay at version `libseat1=0.7.0-6` for now. Here's an all-in-one command to keep your crimson phone working. @@ -75,6 +80,17 @@ I'll update this post with other caveats as they come to me. If you're fine with the above issues though, +### Update 2024.11.21 + +I removed the `alsa-ucm-conf` piece of the below script, as that version of the +package is now available in the crimson repos. Woo! + +Additionally, still no SDcard support and the libseat and libgl1-mesa-dri +downgrades is still required, despite _many_ updates having come in from +upstream. It's moving right along! At this point, we're seeing somewhere +between 2 and 30 package updates per day. + + Hacks to get running -------------------- @@ -102,30 +118,6 @@ In short, the following script: set -euo pipefail export IFS=$'\n\t' -# Deploy updated alsa-ucm-conf profiles. -# -# Solution discovered by [Kyle Evans] -# https://source.puri.sm/Librem5/OS-issues/-/issues/346#note_264442) -# -fix_alsa_ucm() { - local name='alsa-ucm-conf' - local version='1.2.12' - local src="https://github.com/alsa-project/${name}/archive/refs/tags/v${version}.tar.gz" - - if [ ! -f v${version}.tar.gz ]; then - printf 'Downloading %s version %s\n' "${name}" "${version}" - curl -o ".v${version}.tar.gz.tmp" -L -# "${src}" - mv ".v${version}.tar.gz.tmp" "v${version}.tar.gz" - fi - tar -xf "v${version}.tar.gz" - - printf 'Deploying updated ucm2 profiles\n' - if [ -d /usr/share/alsa/ucm2 ]; then - sudo mv -v /usr/share/alsa/ucm2{,.$(date +%F)} - fi - sudo cp -r "${name}-${version}/ucm2" "/usr/share/alsa/ucm2" -} - # By default Crimson comes with the crimson repos, which is very broken last I # checked. # This adds landing, crimson-security, crimson-updates, and @@ -142,7 +134,6 @@ deb http://repo.pureos.net/pureos crimson-updates-proposed main EOF } -fix_alsa_ucm apt_set_repos ``` |