Skip to content

Instantly share code, notes, and snippets.

View TheSnowfield's full-sized avatar
🍣
I love sushi and raw salmon. (●ˇ∀ˇ●) yummy~

TheSnowfield TheSnowfield

🍣
I love sushi and raw salmon. (●ˇ∀ˇ●) yummy~
View GitHub Profile
@TheSnowfield
TheSnowfield / Home Assistant: configuring command line sensor using yaml has moved.md
Last active July 20, 2024 13:15
Home Assistant: configuring command line sensor using yaml has moved.

Configuring command line sensor using yaml has moved, after Home Assistant 2023 update.
This gist is guiding you how to perform a quick fix.

The old style

configuration.yml:

binary_sensor: !include sensors.yaml

sensors.yml

@TheSnowfield
TheSnowfield / README.md
Created November 13, 2024 00:34
Armbian fsck get a newer version of e2fsck

image This problem caused by the host used a newer mke2fs(>=1.47) to created the root filesystem, however Armbian packed the old version e2fsck(<=1.46).

This is a stupid problem, we completely know the root file system is healthy, but we can not skip the check. :(

To deal with this problem, if you're an Armbian maintainer/developer, add the hook script under packages/bsp/common/etc/initramfs-tools/hooks/upgrade-e2fsck.sh, make sure the script file has execture permission: "chmod +x upgrade-e2fsck.sh"