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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user