-
-
Notifications
You must be signed in to change notification settings - Fork 3
Build Image with OpenWB support #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ngehrsitz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for getting out-of the-box OpenWB support
userpatches/customize-image.sh
Outdated
| mkdir -p /var/lib/systemd/linger/ || true | ||
| touch /var/lib/systemd/linger/admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should do the same as
| mkdir -p /var/lib/systemd/linger/ || true | |
| touch /var/lib/systemd/linger/admin | |
| loginctl enable-linger admin |
| # ============================================================================ | ||
| # Fix homedirectory permissions | ||
| # ============================================================================ | ||
| cp -r /etc/skel/. /home/admin/ 2>/dev/null | ||
| chown -R admin:admin /home/admin | ||
| chmod 755 /home/admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why wasn´t this necessary before?
userpatches/customize-image.sh
Outdated
| cat >/etc/evcc.yaml <<YAML | ||
| network: | ||
| schema: https | ||
| schema: http |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change this?
userpatches/customize-image.sh
Outdated
| echo "[customize-image] OpenWB with display customizations" | ||
| apt-get install -y --no-install-recommends labwc wayfire seatd xdg-user-dirs firefox-esr swayidle wlopm | ||
|
|
||
| mkdir -p /home/admin/.config/labwc || true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can this fail?
userpatches/customize-image.sh
Outdated
| # Pre-generate minimal config if missing | ||
| if [[ ! -f /etc/evcc.yaml ]]; then | ||
| cat >/etc/evcc.yaml <<YAML | ||
| cat >/etc/evcc.yaml <<YAML |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also pre-generate the config from evcc-io/evcc#21984
The only thing missing to avoid manual configuration would be smart meter detection which is why I suggested auto-detecting that in code.
Initial draft of building Armbian images which support openWB