1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-04-02 00:27:14 +01:00
Commit Graph

1947 Commits

Author SHA1 Message Date
Jan Čermák
131e4fcc74 Linux: Update kernel to 6.12.79 (#4621)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.78
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.79
2026-03-31 17:50:07 +02:00
Stefan Agner
50c1efdb3a Add patches with fixes for Docker engine (#4605)
This adds two patches with fixes/improvements for the Docker engine

- `0001-daemon-respect-explicit-AppArmor-profile-on-privileg.patch`:
  Makes sure that AppArmor rules are always loaded, also on reboot. This
  is a long standing bug in Docker and affects Supervisor which is a
  privileged container with an AppArmor profile.
  Upstream PR: https://github.com/moby/moby/pull/52215
- `0002-bridge-protect-bridge-subnet-from-direct-external-ac.patch`:
  Makes sure that the whole network (including gateway IP) of any Docker
  bridge network in NAT mode is firewalled from access from the outside.
  This essentially implements on Docker level what Supervisor applies on
  startup with https://github.com/home-assistant/supervisor/pull/6650.
  Upstream PR: https://github.com/moby/moby/pull/52224.
2026-03-30 11:25:00 +02:00
Jan Čermák
a64767b123 Bump OS to development version 18.0.dev0 2026-03-24 18:50:58 +01:00
Jan Čermák
21e4c3733d Fix skopeo for ARM images in hassio after builder changes (#4594)
Afer builder changes, ARM images are now correctly published with their
platform, and when skopeo is used to inspect/pull the image on x86 without any
other flags, it fails with:

Error parsing manifest for image: Error choosing image instance: no image found in image index for architecture amd64, variant "", OS linux

Pass the correct arch in skopeo operations to fix that.
2026-03-23 09:36:13 +01:00
Jan Čermák
a82e64f24f Bump QEMU guest agent to v10.2.2 (#4592)
* Bumped to latest version
* Changed to HTTPS download source
* Updated build dependencies (mirroring package/qemu)
* Added path to host Python (same as package/qemu)
* Removed meson flag (no longer needed)
* Added --disable-linux-io-uring (new in v10)
* Replaced old --disable-user by per-OS flags
* Removed duplicated flags
* Sorted flags alphabetically for easier maintenance

Fixes #4336
2026-03-19 19:07:39 +01:00
Jan Čermák
3458b7fa2e Fix rpi-eeprom-config when booting RPi 5 from NVMe (#4586)
Update the patch adjusting findBootFS for HAOS. Make sure that the hardware
survey is performed before that so we know if we can/should use flashrom on
Pi 5 with NVMe.

Fixes #4574
2026-03-19 19:07:28 +01:00
Jan Čermák
8cb16e8982 RaspberryPi: Update kernel to 6.12.75 - 89050b1059997d38d55462b323b099a6436dc10d (#4591)
* RaspberryPi: Update kernel to 6.12.75 - 89050b1059997d38d55462b323b099a6436dc10d

Raspberry devs now don't seem to care about updating any of the repositories
following a kernel release anymore so the hash for the latest release was
determined from the source package of the latest APT release.

* Update rpi-firmware

* buildroot d9cb724f06...be34a81850 (1):
  > package/rpi-firmware: update to eb3ee43 (for 6.12.75)

* Add patch fixing serial in U-Boot, refresh patches

Change in DTS includes shadowed previous patch adding U-Boot-specific
compatible string for UARTs. Make sure that AMBA UARTs in device trees also
contain compatibles consumed by U-Boot as fallback.

Also, refresh RPi patches with --zero-commit.
2026-03-19 18:47:30 +01:00
Stefan Agner
d918dace95 Drop explicit IPv6 forwarding sysctl (#4589)
Remove net.ipv6.conf.all.forwarding=1 from 60-otbr-ip-forward.conf
and rely on Docker to enable IPv6 forwarding instead, just as we
already rely on it for IPv4 forwarding (needed for NAT64 in OTBR).
When this sysctl was added (d9ec60316), Docker did not enable IPv6 by
default. Since Docker 27 (April 2024), IPv6 support — including
ip6tables — is enabled by default, and Docker enables IPv6 forwarding
at startup just like it does for IPv4.

Importantly, when Docker enables forwarding itself (rather than finding
it already on), it also sets the FORWARD chain policy to DROP as a
safety measure, Pre-enabling the sysctl prevents this, leaving the IPv6
FORWARD chain at ACCEPT. By removing our sysctl, we get the same
protective DROP policy for IPv6 that we already benefit from for IPv4.
2026-03-19 13:00:10 +01:00
Jan Čermák
a6094fde66 Linux: Update kernel to 6.12.77 (#4582)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.77
2026-03-16 18:25:30 +01:00
Stefan Agner
3981c7798c logind: Set InhibitDelayMaxSec=300 to allow Supervisor graceful shutdown (#4577)
Supervisor takes a logind delay inhibitor lock on startup and releases it
after gracefully stopping all add-ons, Home Assistant Core, and plugins in
the correct order. The default 5s window is far too short — Core alone can
take 40+ seconds to stop. 300s gives enough headroom for a clean shutdown.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 17:10:56 +01:00
Jan Čermák
123b023f20 Fix retry in hassio container fetching, retry with backoff (#4572)
The retry when fetching containers from the registry didn't work because the
script was executed with `set -e`. Capture the error code also for non-zero
exit status.

Also use while loop instead of recursion and back off exponentially - start
with 5s and multiply by 3 (i.e. 5s, 15s, 45s - waiting in total up to 1 minute
for the registry to recover).
2026-03-10 08:12:14 +01:00
Jan Čermák
98dd85971e Reduce number of DNS queries from connectivity checks (#4571)
Backport NetworkManager patch (backported alsso in upstream to v1.56.0) to
restrict connectivity check lookups to per-link DNS. This reduces the number of
DNS queries performed by NetworkManager itself.

Note that Supervisor has its own connectivity check routine which is
independent on this one, so user may still see more requests in a 10 minute
interval.

Closes #4560
2026-03-09 15:06:27 +01:00
Jan Čermák
f882299b02 Linux: Update kernel to 6.12.76 (#4566)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.76
2026-03-09 15:06:18 +01:00
Jan Čermák
3c8ceb8126 Linux: Update kernel to 6.12.75 (#4564)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.75
2026-03-05 17:45:30 +01:00
Jan Čermák
f362ec471b Linux: Update kernel to 6.12.74 (#4554)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.73
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.74
2026-02-25 10:21:48 +01:00
Jan Čermák
041ecc7d87 Linux: Update kernel to 6.12.72 (#4542)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.71
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.72
2026-02-16 16:58:57 +01:00
Jan Čermák
f58c959e69 Disable Wi-Fi powersave by default for all connections (#4529)
Set wifi.powersave to 2 (disabled) in NetworkManager settings by default for
all connections. Since HAOS is generally used on servers, powersaving doesn't
bring any obvious benefit and is often cause of problems and higher network
latency. If needed, nmcli can be used to override the new default.

Refs #3832
2026-02-12 16:21:59 +01:00
Jan Čermák
952191a058 Linux: Update kernel to 6.12.70 (#4524)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.69
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.70
2026-02-11 17:52:56 +01:00
Jan Čermák
c9e88f29cc Linux: Update kernel to 6.12.68 (#4519)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.68
2026-02-05 12:26:37 +01:00
Jan Čermák
b3d67a14c0 Bump OS to development version 17.2.dev0 2026-01-30 14:07:17 +01:00
Jan Čermák
b239f05a46 Remove dropped R8712U from Rockchip configs (#4511)
The R8712U staging driver was dropped in kernel, remove it from Rockchip config
where it was unintentionally enabled to silence the warning.
2026-01-30 11:26:02 +01:00
Jan Čermák
0f6f90b31e Add RAUC patch to annotate all messages with SYSLOG_IDENTIFIER (#4510)
For some messages, RAUC uses GLib's structured logging API, which doesn't add
the SYSLOG_IDENTIFIER implicitly, like the convenience messages do. Backport a
patch submitted upstream which add this field to all messages, making all RAUC
logging available when rauc identifier is queried.
2026-01-29 14:17:34 +01:00
Jan Čermák
3a243c4096 Backport GLib patch adding SYSLOG_IDENTIFIER to logging messages (#4506)
This backports patch from GLib v2.85.0 which adds SYSLOG_IDENTIFIER to messages
logged through GLib's convenience logging messages. This immediately makes some
RAUC messages previously not present in Host logs (which rely on the identifier
field being present) to be available in the host logs. For the remaining
messages, the identifier needs to be added directly in RAUC.
2026-01-27 11:41:36 +01:00
Jan Čermák
eb2ed101f7 Linux: Update kernel to 6.12.67 (#4505)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.67
2026-01-26 13:20:38 +01:00
Jens Maus
472482776d Add generic_raw_uart patch for termios2/glibc 2.42+ compatibility (#4504)
This change adds termios2 compatibility to the ioctl interface of generic_raw_uart making it compatible to glibc 2.42+ environments which prefer termios2 rather than the old/obsolete termios ioctls. This is a similar change to what was introduced to eq3_char_loop in #4471. However, this change in generic_raw_uart is required so that /dev/raw-uart will be termios2 compatible for applications within the OpenCCU Add-on directly opening it in case a non-dualcopro RF module like HmIP-RFUSB-TK is using it directly. (This refs https://github.com/OpenCCU/OpenCCU/issues/3498)
2026-01-26 10:44:22 +01:00
Jan Čermák
2784089e0e Linux: Update kernel to 6.12.66 (#4500)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.66
2026-01-22 09:28:47 +01:00
Jan Čermák
1a09ff02f8 Linux: Update kernel to 6.12.65 (#4483)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.64
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.65
2026-01-19 12:20:26 +01:00
Jens Maus
fc962f8a13 Add eq3_char_loop patch for termios2/glibc 2.42+ compatibility (#4471)
This PR updates the eq3_char_loop package to contain the latest
eq3_char_loop v1.3 sources with termios2 compatibility which is required
for glibc 2.42+ environments (latest OpenCCU) so that the HMIPServer
within OpenCCU is able to startup correctly.
2026-01-06 14:11:29 +01:00
Jens Maus
9a9cb0c47b Update generic_raw_uart package to c377d91 (#4472)
This PR updates the generic_raw_uart package to the latest version
incorporating the following maintenance changes:

e336370041
e1a8cc82b4

This refs https://github.com/OpenCCU/OpenCCU/pull/3444
2026-01-06 13:48:19 +01:00
Jan Čermák
4d4aab4693 Linux: Update kernel to 6.12.63 (#4474)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.63
2026-01-06 13:35:37 +01:00
puterboy
4c8582b09e Enable support of i2c-based touchscreens for x86 and aarch64 (#4463)
* Enable CONFIG_I2C_ACPI in kernel configuration for generic-x86-64

Needed to support i2c-based touchscreens on x86 boards

* Enable I2C HID support in kernel configuration for generic aarch64

Needed to support i2c touchscreens on arm64 devices
2026-01-05 15:28:32 +01:00
Jan Čermák
a886fb141e Bump kbd to v2.9.0, remove no longer needed gzip binary (#4456)
With kbd v2.9.0, gzip is no longer needed, as kbd can extract the compressed
files with dlopen using zlib.
2025-12-18 12:00:01 +01:00
Jan Čermák
007ed90691 Linux: Update kernel to 6.12.62 (#4454)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.62
2025-12-18 11:35:16 +01:00
Jan Čermák
9371415374 Linux: Update kernel to 6.12.61 (#4441)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.61
2025-12-15 21:31:33 +01:00
Jan Čermák
4fa85e1a2e Bump OS to development version 17.1.dev0 2025-12-09 15:56:35 +01:00
Jan Čermák
5d7c701f9b Bump OS Agent to v1.8.1 (#4433)
Changelog:
* https://github.com/home-assistant/os-agent/releases/tag/1.8.1
2025-12-08 00:06:27 +01:00
Jan Čermák
0354f47ecf Make console keymaps configurable through localectl (#4424)
For users having non-English, and especially non-qwerty layouts, using the host
shell can be very awkward. There was no option to change the keymaps as they
haven't been installed in the OS, and the persistence couldn't have been
achieved because of read-only /etc.

With upstream patch merged in #4224, we have an option to put
/etc/vconsole.conf to a writable location and use the same approach as in the
timezone PR. This is needed because even if we only bind-mounted the file from
the overlay directory, the Systemd services which start early will still refer
to the inode on the read-only FS. Also, gzip is required as current version of
kbd in Buildroot (v2.6.4) always compresses the keymaps using gzip. We can get
rid of this after we bump to kbd v2.9.0 [1] or newer. The overall bloat in
local build of the OS is slightly over 1 MiB, so it is acceptable.

With these changes, the `localectl set-keymap` command can be used to use any
available keymap from the installed `kbd` package (refer to `localectl
list-keymaps` for complete lists) and persist it between reboots.

[1] https://github.com/legionus/kbd/releases/tag/v2.9.0

Fixes #1775
2025-12-02 17:20:28 +01:00
Jan Čermák
2386b7833b Linux: Update kernel to 6.12.60 (#4425)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.60
2025-12-02 16:29:17 +01:00
Jan Čermák
21962a8ec0 Bump OS Agent to v1.8.0 (#4420) 2025-11-27 14:18:36 +01:00
Jan Čermák
4317afc082 Linux: Update kernel to 6.12.59 (#4414)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.59
2025-11-24 17:36:43 +01:00
Jan Čermák
5e4b446b29 Linux: Update kernel to 6.12.58 (#4410)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.58
2025-11-20 15:45:02 +01:00
Jonathan Marshall
31b79a7504 Add support for QingHeng CH9200 USB ethernet adapters (#4400) 2025-11-19 12:05:06 +01:00
Jan Čermák
fd8dc64d0d Remove Docker patch already included in v28.5.2 (#4398)
This reverts commit b3a9e76521.
2025-11-11 21:09:36 +01:00
Jan Čermák
b3755e9f45 Use correct per-channel AppArmor profile on clean installs (#4396)
Since home-assistant/version#305 the AppArmor profiles were split to
per-channel files. This was never reflected in hassio package build though.
Currently this doesn't cause any trouble and the profile is replaced later by
the Supervisor but make sure we're always using the correct one from the
beginning.
2025-11-11 16:05:20 +01:00
Jan Čermák
0c96507ca2 Clean up hassio build scripts (#4394)
Extract some of the parts of the "image import" to the script creating the data
partition to separate concerns. The Docker data directory is now passed as a
daemon option, instead of only mounting the data partition's folder to the
default directory, to be closer to the deployment setup. Also trap the exit and
error signals to remove the build container and unmount the data partition, as
failed or cancelled build have been leaking the containers/mounts when building
interactively (attached to the build container shell).
2025-11-11 16:00:31 +01:00
Jan Čermák
55655f5a50 Use OCI archive in hassio import to fix Containerd snapshotter issues (#4393)
Importing docker-archive format leads to some layers missing in the content
storage which results in some image metadata missing. This appears to be the
same regression as moby/moby#49473. Importing OCI archives when bootstrapping
the data partition seems to work this bug around.

Fixes #4385
2025-11-11 15:39:50 +01:00
Andrei Nevedomskii
13b2f05e7a Enable iptables comments for all (#4391)
Atm some targets don't have comments support enabled for iptables. There's no reason to limit that to just arm64-rockhip target, so this change addresses that.
2025-11-11 11:49:59 +01:00
Jan Čermák
ba6876dffc Remove support of armv7 targets (#4374)
* Remove configs and board files of deprecated architectures

* Remove support for ODROID-XU4 boot files

* Remove ASUS Tinker support from rpi-rf-mod

* Remove RPi armv7 config fragment
2025-11-04 13:22:22 +01:00
Jan Čermák
b88767c652 Linux: Update kernel to 6.12.57 (#4377)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.57
2025-11-03 13:06:42 +01:00
Jan Čermák
ee6f8ce2b9 Linux: Update kernel to 6.12.56 (#4373)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.56
2025-10-31 12:19:28 +01:00