Yogabook packages for Arch Linux
If you want to use this repository in your Arch Linux installation on your Lenovo Yogabook, you need to add my gpg key and then you can simply add the repository to your pacman.conf. You also need to setup your bootloader to select the correct kernel. You can check an example for systemd-boot below.
Setup the repository
To setup the repository you first need to add the gpg key pacman, after that you add the repo. You can find details about the key on keyserver.ubuntu.com
sudo pacman-key --recv-keys 6917332FF10B3AE2
sudo pacman-key --lsign-key 6917332FF10B3AE2
To add the repository to your pacman.conf you can execute the following command.
sudo tee -a /etc/pacman.conf <<'EOF'
[yogabook]
Server = https://arch.yogabook.ulbricht.casa
EOF
After that synchronize your repositories and then you are good to go for the next step.
Install required packages
To install the required packages for running Arch Linux on your Lenovo Yogabook run the command below. After that you can continue with the configuration of your bootlaoder.
sudo pacman -Syu yogabook-keyboard yogabook-support alsa-ucm-conf-yogabook linux-yogabook linux-yogabook-headers intel-ucode
Setup your bootloader
For now, these instructions only include systemd-boot, which I personally use. For others you can adapt the configs written below.
The Yogabook kernel generally is named as vmlinuz-linux-yogabook, while the initramfs file is named initramfs-linux-yogabook.img. It is highly recommended to include the intel-ucode aswell, since the Yogabook comes with an Intel Atom x5.
systemd-boot
To use the Yogabook kernel for systemd-boot, you need to create a the following file /boot/loader/entries/yogabook.conf.
In this file you need to add the following content.
title Arch Linux for Yogabook
linux /vmlinuz-linux-yogabook
initrd /intel-ucode.img
initrd /initramfs-linux-yogabook.img
options # Insert your original options here, like encryption, splashscreen etc
After you finished this, simply replace the default loader configuration by editing the file /boot/loader/loader.conf.
#timeout 3
#console-mode keep
default yogabook.conf
editor no
# Add more custom options here
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.