mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-07-05 05:55:02 +01:00
5511610ae4
* Harmonize systemd unit and helper-script prefixes to haos (#4725) Rename the hassos-prefixed systemd units and their ExecStart helper binaries to a consistent haos- prefix, and update all in-repo references. Normalize the affected unit Description= strings as well. Units renamed in this commit are not referred externally (except for syslog identifiers used in Supervisor Host logs), so no other changes should be needed. * Rename hassos-config to haos-config with alias Rename the hassos-config.service unit and its binary to the haos- prefix. This unit is restarted by Supervisor in os/manager.py, so add Alias= to avoid the need to try both variants there. * Rename hassos-cli binary to haos-cli * Change HassOS to HAOS in unit descriptions and comments * Rename hassos->haos in Buildroot makefiles, scripts and configs * Rename bootargs_hassos to bootargs_haos in U-Boot scripts * Rename external Buildroot tree HASSOS to HAOS Set external.desc name to HAOS and rename all BR2_EXTERNAL_HASSOS_PATH references to BR2_EXTERNAL_HAOS_PATH accordingly. * Rename hassos.conf service drop-ins to haos.conf * Rename hassos.config kernel fragment to haos.config * Rename hassos-blobs repo in package/bluetooth-rtl8723 The repo was renamed somewhere in the past and it now relies on an internal GitHub redirect. Change the URL to match the new repo name.
30 lines
512 B
Bash
Executable File
30 lines
512 B
Bash
Executable File
#!/bin/bash
|
|
# shellcheck disable=SC1090,SC1091
|
|
set -e
|
|
|
|
SCRIPT_DIR=${BR2_EXTERNAL_HAOS_PATH}/scripts
|
|
BOARD_DIR=${2}
|
|
HOOK_FILE=${3}
|
|
|
|
. "${BR2_EXTERNAL_HAOS_PATH}/meta"
|
|
. "${BOARD_DIR}/meta"
|
|
|
|
. "${SCRIPT_DIR}/hdd-image.sh"
|
|
. "${SCRIPT_DIR}/rootfs-layer.sh"
|
|
. "${SCRIPT_DIR}/name.sh"
|
|
. "${SCRIPT_DIR}/rauc.sh"
|
|
. "${HOOK_FILE}"
|
|
|
|
# Cleanup
|
|
rm -rf "$(path_boot_dir)"
|
|
mkdir -p "$(path_boot_dir)"
|
|
|
|
# Hook pre image build stuff
|
|
haos_pre_image
|
|
|
|
# Disk & OTA
|
|
create_disk_image
|
|
|
|
# Hook post image build stuff
|
|
haos_post_image
|