1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-02-15 07:29:08 +00:00
Commit Graph

1916 Commits

Author SHA1 Message Date
Jan Čermák
b5b2fa7ce1 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.

(cherry picked from commit a886fb141e)
2026-01-07 15:18:22 +01:00
Jan Čermák
801ba5a8f5 Linux: Update kernel to 6.12.62 (#4454)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.62

(cherry picked from commit 007ed90691)
2026-01-07 15:18:20 +01:00
Jan Čermák
67ac9cfffe Linux: Update kernel to 6.12.61 (#4441)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.61

(cherry picked from commit 9371415374)
2026-01-07 15:18:19 +01:00
Jan Čermák
cf72489b06 Bump OS to pre-release version 17.0.rc1 2025-12-08 12:19:57 +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
Jan Čermák
b3a9e76521 Fix Docker issue that could cause slow system startup (#4369)
A bug introduced in Docker v28.2+ can cause slow container restart in some
cases because of usage of IPv4 mapped IPv6 addresses in iptables command.
Backport a simple patch from upstream to fix it before we bump to a newer
Docker version.

Fixes #4363
2025-10-29 13:50:49 +01:00
Viktor Ljungström
4e7b99d233 Disable UAS via usb-storage.quirks on RPi for JMicron JMS583Gen 2 to PCIe Gen3x2 Bridge (#4366)
Vendor ID: 152d
Product ID: 0583
2025-10-29 08:47:38 +01:00
Jan Čermák
0e4f9f8a55 Linux: Update kernel to 6.12.55 (#4362)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.55
2025-10-28 18:37:05 +01:00
Jan Čermák
31f347ee0f Remove handling of Docker key.json (#4361)
The deprecated-key-path option is no longer handled, but it doesn't cause
problems because the key is explicitly ignored. It was completely removed in
Docker 19.03.0 [1].

As such, the option and the pre-start script to fix the corrupted key.json can
be removed now, as it has no effect, only printing confusing message when
Docker service fails to start.

[1] 98fc09128b
2025-10-28 18:36:57 +01:00
Jan Čermák
af9131cd10 Use Docker containerd snapshotter for new and wiped installs (#4360)
Prefer the containerd snapshotter by using it by default for new installs and
when no Docker data is present (e.g. after datadisk wipe). The snapshotter is
enabled by a dockerd flag which is set when a flag file is present in the data
partition. This flag file can be used also to opt-in for this snapshotter on
legacy installs (high level API through OS Agent and Supervisor TBD), to
migrate to the containerd snapshotter this file can be simply created manually.

Testing shown no major problems when migrating, the old overlay2 folder can be
(and should be - to avoid situations where the data disk might run out of
space) deleted before the docker.service is started in the docker-prepare
script.

Note that there's no offline migration path, OS needs to be connected to the
internet to re-download the images when migrating. This could be theoretically
possible through docker image save/load functions but guarding for enough of
space and other edge cases would be probably too complex to justify it.

Refs #4252
Refs #4253 - easier opt-in method is still needed
Closes #4254 - migration is handled seamlessly by Docker
2025-10-28 18:36:48 +01:00
Jan Čermák
d372a6df4b Linux: Update kernel to 6.12.54 (#4358)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.54
2025-10-23 15:19:32 +02:00
Jan Čermák
34f8e3c1c7 Linux: Update kernel to 6.12.53 (#4356)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.53
2025-10-15 22:23:13 +02:00
Jan Čermák
7de24914bd Bump OS to development version 17.0.dev0 2025-10-14 18:08:05 +02:00
Jan Čermák
58de585863 Linux: Update kernel to 6.12.52 (#4353)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.52
2025-10-13 19:45:14 +02:00
Jan Čermák
daa6a7c868 Use matching version of DinD daemon when creating hassio data partition (#4344)
Use the version used in the docker-engine package to ensure it stays in sync.
Although we haven't seen any issues related to the fact it was sometimes
mismatching, reduce the burden of needing it to be synced manually.
2025-10-10 10:50:25 +02:00
Jan Čermák
2e48a0a586 Enable x2APIC controller support on x86 and OVA (#4342)
This might be required for some modern Intel processors (Meteor Lake and newer)
which fail to boot Linux kernel without x2APIC controller when some features
(e.g. VT-d or x2APIC itself) are enabled in the BIOS.

Enable it also for OVA, as it can be emulated in virtual machines, even when
the host CPU does not support it.

Fixes #4337, fixes #4144, fixes #4345
2025-10-10 10:50:17 +02:00
Jens Maus
7005edee05 Bump rpi-rf-mod dt overlay to latest version (1.13.3) (#4349) 2025-10-10 10:16:00 +02:00
Stefan Agner
92cb987426 Enable powersave CPU frequency governor (#4346)
The CPUfreq governor "powersave" sets the CPU statically to the lowest
frequency within the borders of scaling_min_freq and scaling_max_freq.
This can be useful if a particular power budget should not ever be
crossed. Can be set using `cpufreq.default_governor=powersave`. Note
that this obviously affects performance.
2025-10-09 14:04:26 +02:00
Jan Čermák
f9f6c9f045 Linux: Update kernel to 6.12.51 (#4343)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.51
2025-10-08 09:52:28 +02:00
Jan Čermák
3e771eb222 Add driver for Creative Sound Blastr X-Fi PCI cards (#4331)
Add snd-ctxfi driver as module to generic PCI device support fragment.

Fixes #4141
2025-10-03 19:32:57 +02:00
Jan Čermák
1c90d4bd4b Linux: Update kernel to 6.12.50 (#4330)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.50
2025-10-02 16:07:28 +02:00
Jan Čermák
bde19002df Improve UX of HA CLI wrapper and emergency console (#4326)
* Improve UX of HA CLI wrapper and emergency console

For many users, the emergency console gives feeling that the system is
completely broken. However, there are various cases when the system just takes
just a bit longer to start up and the emergency message is shown, while it
finishes a proper startup shortly after. This change tries to improve the UX in
several ways:

* The limit before a forced emergency console startup is changed to 3 minutes
* Waiting can be interrupted with Ctrl+C (reset counter is cleared then)
* Some hints what to check have been added before starting the shell
* Also, because if the HA CLI failed for 5 times in a row in quick succession,
  the CLI startup was then not retried anymore and user may have been left with
  a black screen, the restart limits timeouts have been adjusted only to back
  off and never mark the unit as failed

Closes #4273

* Use /bin/sh and printf to silence linter errors
2025-10-01 18:23:28 +02:00
Jan Čermák
95b1d22215 RaspberryPi: Update kernel to 6.12.47 - stable_20250916 (#4327)
* RaspberryPi: Update kernel to 6.12.47 - stable_20250916

* Remove patches merged in 6.12.47

* Update Buildroot rpi-firmware package for 6.12.47

* buildroot 9acb31819a...7ce414454b (1):
  > package/rpi-firmware: update to ba22330 (for stable_20250916)
2025-10-01 17:46:17 +02:00
Jan Čermák
cb66fa808f Fix build failure caused by RaspberryMatic project renaming (#4324)
RaspberryMatic was renamed to OpenCCU in
https://github.com/OpenCCU/OpenCCU/pull/3162. This caused change of the name of
the directory in the source tarball, causing build failure when the archive
wasn't cached.
2025-09-30 12:40:32 +02:00
Jan Čermák
c70b528ac7 Linux: Update kernel to 6.12.49 (#4320)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.48
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.49
2025-09-29 15:40:31 +02:00
Servesh Muralidharan
510395fe4e Support Chelsio T4/T5/T6 VF in SRIOV mode (#4281)
This change supports in kernel drivers for Chelsio T4, T5 & T6 adapters with PCI-E SR-IOV Virtual Functions.
2025-09-17 11:01:18 +02:00
Jan Čermák
c95fd97df6 Linux: Update kernel to 6.12.47 (#4307)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.47
2025-09-15 16:10:49 +02:00
puterboy
e15d99bc2b Enable HID multitouch support in kernel (#4298)
Needed to allow multi-touch gestures on touchscreens for the addon HAOSKiosk.
2025-09-12 17:40:40 +02:00
Jan Čermák
dc0da1b7bc Update HOME_URL in os-release metadata (#4299)
The URL in os-release still pointed to hass.io domain which is currently
defunct. Point to the Home Assistant's main homepage instead.

Fixes #4295
2025-09-12 17:34:36 +02:00
Jan Čermák
3c321a8387 Linux: Update kernel to 6.12.46 (#4293)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.46
2025-09-11 11:22:12 +02:00
Jan Čermák
0e3fd2c021 Start Supervisor container with its cidfile mounted to /run/cid (#4276)
Use the --cidfile Docker CLI argument when starting the container and
bind-mount the generated file containing full ID of the container to the
container itself.

Using --mount instead of --volume is needed, as --volume is racy and creates
empty directory volume at the destination path instead.

This is prerequisite for home-assistant/supervisor#6006 but can come handy for
other cases too.
2025-09-09 20:16:11 +02:00
Jan Čermák
9a1e0015d8 Linux: Update kernel to 6.12.45 (#4287)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.45
2025-09-08 18:05:30 +02:00
Andrej Friesen
3dcf6bd9ee Enable Pressure Stall Information PSI (#4279)
Enable Pressure Stall Information PSI for more accurate detection of resource shortages.

The psi feature identifies and quantifies the disruptions caused by CPU, memory or IO  resource shortages and the time impact it has on complex workloads or even entire systems.

- https://facebookmicrosites.github.io/psi/docs/overview
- https://www.kernel.org/doc/html/latest/accounting/psi.html
2025-09-08 17:36:20 +02:00
Jan Čermák
8f22412cf8 Revert "Revert kernel patch breaking 6.12.43 build for Tinker (#4257)" (#4277)
This reverts commit 194b9146f4.

Stable commit eb0abacdd3fce5a19fffc1c8bd0be6ffffeb59d8 in v6.12.44 does the
same.
2025-09-03 10:58:18 +02:00
Jan Čermák
700ff773ab Linux: Update kernel to 6.12.44 (#4268)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.44
2025-09-01 18:21:45 +02:00
Jan Čermák
78bda4bd10 Fix broken outgoing connections caused by upstream kernel regression (#4267)
Upstream commit [1] caused regression in IPv4 routing which can cause some
routes becoming broadcast even though they should be routed as unicast, e.g.:

 # ip route get 1.1.1.1
 broadcast 1.1.1.1 via 192.168.122.1 dev enp0s3 src 192.168.122.204 uid 0
     cache <local,brd>

It's not entirely clear yet why it happens but this behavior seems to be
triggered for instance when the SSDP integration sends the broadcast packet on
HA startup. While this behavior is not described in the regression report [1],
the commit cherry-picked from Linux master fixes the problems for us as well.

Patches moved to version-specific folder, as this one shouldn't be applied on
Raspberry Pi targets.

[1] https://lore.kernel.org/all/20250710142714.12986-1-oscmaes92@gmail.com/
[2] https://lore.kernel.org/stable/20250822165231.4353-4-bacs@librecast.net/

Fixes #4265
2025-09-01 18:16:11 +02:00