This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
name: *** | |
display_name: *** | |
esphome: | |
name: $name | |
friendly_name: $display_name | |
esp32: | |
board: esp32dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pkgctl repo clone --protocol=https linux-zen | |
cd linux-zen | |
echo "Downloading patch" | |
curl -O https://gist.githubusercontent.com/slaclau/257fdb279729416b18568b9772415a3d/raw/765d294376b2fdf7adaf20071744ec384f56ec66/lockdown_hibernate.patch | |
echo "Updating PKGBUILD" | |
sed -i 's/pkgbase=linux-zen/pkgbase=linux-zen-sl/g' PKGBUILD | |
sed -i 's/ config # the main kernel config file/ config # the main kernel config file\n lockdown_hibernate.patch/g' PKGBUILD | |
echo "Updating MD5 sums" | |
updpkgsums |