Yogabook packages for Debian
If you want to use this repository in your Debian installation on your Lenovo Yogabook, simply add to apt as shown below. After that you only need to install the required packages and your done. Now every Yogabook support package is installed.
After you are done, follow the rest of the Quickstart instructions. You can directly start with step 10.
Setup the repository
To setup the repository you first need to add the gpg key to your database, after that you add the repo. Please check below to find the command needed for your Debian release.
Sid
sudo curl --fail --silent --show-error --output /etc/apt/keyrings/yogabook-archive-keyring.asc --url "https://gitlab.imanuel.dev/api/v4/projects/318/debian_distributions/sid/key.asc"
echo 'deb [ signed-by=/etc/apt/keyrings/yogabook-archive-keyring.asc ] https://gitlab.imanuel.dev/api/v4/projects/318/packages/debian sid main' | sudo tee /etc/apt/sources.list.d/yogabook-project.list
sudo apt-get update
Testing
sudo curl --fail --silent --show-error --output /etc/apt/keyrings/yogabook-archive-keyring.asc --url "https://gitlab.imanuel.dev/api/v4/projects/318/debian_distributions/testing/key.asc"
echo 'deb [ signed-by=/etc/apt/keyrings/yogabook-archive-keyring.asc ] https://gitlab.imanuel.dev/api/v4/projects/318/packages/debian testing main' | sudo tee /etc/apt/sources.list.d/yogabook-project.list
sudo apt-get update
Forky
sudo curl --fail --silent --show-error --output /etc/apt/keyrings/yogabook-archive-keyring.asc --url "https://gitlab.imanuel.dev/api/v4/projects/318/debian_distributions/forky/key.asc"
echo 'deb [ signed-by=/etc/apt/keyrings/yogabook-archive-keyring.asc ] https://gitlab.imanuel.dev/api/v4/projects/318/packages/debian forky main' | sudo tee /etc/apt/sources.list.d/yogabook-project.list
sudo apt-get update
Trixie
sudo curl --fail --silent --show-error --output /etc/apt/keyrings/yogabook-archive-keyring.asc --url "https://gitlab.imanuel.dev/api/v4/projects/318/debian_distributions/trixie/key.asc"
echo 'deb [ signed-by=/etc/apt/keyrings/yogabook-archive-keyring.asc ] https://gitlab.imanuel.dev/api/v4/projects/318/packages/debian trixie main' | sudo tee /etc/apt/sources.list.d/yogabook-project.list
sudo apt-get update
Bookworm
sudo curl --fail --silent --show-error --output /etc/apt/keyrings/yogabook-archive-keyring.asc --url "https://gitlab.imanuel.dev/api/v4/projects/318/debian_distributions/bookworm/key.asc"
echo 'deb [ signed-by=/etc/apt/keyrings/yogabook-archive-keyring.asc ] https://gitlab.imanuel.dev/api/v4/projects/318/packages/debian bookworm main' | sudo tee /etc/apt/sources.list.d/yogabook-project.list
sudo apt-get update
Install required packages
To install the required packages just run the following command, this will install the alsa configuration files, the Halo Keyboard driver, a patched Linux kernel and the support scripts to enable auto turn off of the keyboard on rotate.
sudo apt install linux-image-6.17.4-yogabook5 linux-headers-6.17.4-yogabook5 yogabook-support touch-keyboard alsa-ucm-conf-yogabook
After that follow the instructions on the offical Quickstart of yogabook-linux to continue the installation.
Thanks and more
A huge thanks goes out to Yauhen Kharuzhy he provides the code for the packages.
If you are interested in the original the build scripts and pipelines, you can find them here.