1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-05-08 17:49:46 +01:00

Optimize GCC9 & busybox (#623)

* Optimize GCC9 & busybox

* Move to o2 for stable

* fix shell issue
This commit is contained in:
Pascal Vizeli
2020-04-17 14:44:34 +02:00
committed by GitHub
parent 5a6678147e
commit 3281cbd365
15 changed files with 204 additions and 86 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ function fix_rootfs() {
function install_hassos_cli() {
# shellcheck disable=SC1117
sed -i "s|\(root.*\)/bin/sh|\1/usr/sbin/hassos-cli|" "${TARGET_DIR}/etc/passwd"
sed -i "s|\(root:.*\)/bin/sh|\1/usr/sbin/hassos-cli|" "${TARGET_DIR}/etc/passwd"
if ! grep "hassos-cli" "${TARGET_DIR}/etc/shells"; then
echo "/usr/sbin/hassos-cli" >> "${TARGET_DIR}/etc/shells"