1869 Commits

Author SHA1 Message Date
f297a16697 fix build 2023-03-29 14:35:25 +02:00
46a9ff6bcc fix boot 2023-03-29 14:08:38 +02:00
2185428474 Test Change 2023-03-29 13:24:32 +02:00
64c37e6d20 „scripts/enter.sh“ ändern 2023-03-29 12:55:45 +02:00
1751dc16c0 „buildroot-external/board/amlogic/s9xx/uboot-boot.ush“ ändern 2023-03-29 11:05:03 +02:00
e5f574a831 „buildroot-external/board/amlogic/s9xx/meta“ ändern 2023-03-29 11:03:30 +02:00
6760205f58 „buildroot-external/configs/s9xx_defconfig“ ändern 2023-03-29 10:44:13 +02:00
b698176b1b Dateien hochladen nach „buildroot-external/package/amlogic-boot“ 2023-03-29 10:40:48 +02:00
a44dcd98a1 „buildroot-external/board/amlogic/s9xx/uboot-boot.ush“ ändern 2023-03-29 10:34:55 +02:00
03a72e82b4 „buildroot-external/board/amlogic/s9xx/hassos-hook.sh“ ändern 2023-03-29 10:26:34 +02:00
afd6859050 „buildroot-external/board/amlogic/s9xx/uboot-boot.ush“ ändern 2023-03-29 10:22:49 +02:00
e27b28c6e5 Dateien hochladen nach „buildroot-external/board/amlogic/s9xx“ 2023-03-29 10:21:29 +02:00
83307209e1 Dateien hochladen nach „buildroot-external/board/amlogic/patches/linux“ 2023-03-29 08:25:36 +02:00
19016d0bfa „scripts/enter.sh“ ändern 2023-03-28 23:55:05 +02:00
2eeca05cee Dateien hochladen nach „buildroot-external/package/amlogic-boot“ 2023-03-28 22:57:50 +02:00
4e1e9b8197 Dateien hochladen nach „buildroot-external/package/amlogic-boot“ 2023-03-28 22:53:34 +02:00
8a45ccd97d Dateien hochladen nach „buildroot-external/configs“ 2023-03-28 22:53:11 +02:00
2fc3de92e2 Dateien hochladen nach „buildroot-external/board/amlogic/s9xx“ 2023-03-28 22:52:32 +02:00
f359b0f6f7 Dateien hochladen nach „buildroot-external/board/amlogic/s9xx“ 2023-03-28 22:52:19 +02:00
d4ee727abd Dateien hochladen nach „buildroot-external/board/amlogic/patches/uboot“ 2023-03-28 22:51:41 +02:00
9ee5de8254 Dateien hochladen nach „buildroot-external/board/amlogic/patches/linux“ 2023-03-28 22:51:22 +02:00
94aaa17f58 Dateien hochladen nach „buildroot-external/board/amlogic“ 2023-03-28 22:50:30 +02:00
508a6ca60c revert a9c90a9883
revert Dateien hochladen nach „buildroot-external/board“
2023-03-28 22:49:06 +02:00
a9c90a9883 Dateien hochladen nach „buildroot-external/board“ 2023-03-28 22:48:21 +02:00
06739998bf Dateien hochladen nach „buildroot-external“ 2023-03-28 22:47:06 +02:00
2cdb4ef2b7 revert d7b79a84d6
revert Dateien hochladen nach „buildroot-external“
2023-03-28 22:46:44 +02:00
d7b79a84d6 Dateien hochladen nach „buildroot-external“ 2023-03-28 22:45:36 +02:00
c4178b7ec7 Merge pull request 'fix for HA' (#1) from ha-osbuilder into dev
Reviewed-on: #1
2023-03-28 22:16:58 +02:00
b15ed586ae fix for HA 2023-03-28 22:03:48 +02:00
Stefan Agner
399997e83c Set umask on swapfile creation (#2436)
Make sure the swapfile is only readable by the owner.
2023-03-28 18:18:58 +02:00
Stefan Agner
1edb5c8c9e Limit systemd-journald log size to 500MB (#2226) (#2435) 2023-03-28 18:18:27 +02:00
Stefan Agner
c64c5b13ab Improve IPv6 NDP for non-local Thread Border routers (#2434)
* Add multiple routes support in NetworkManager

Support multiple routes to the same network learned via Router
Information Option. With this change, the kernel will have multiple
routing table entries to a given Thread network. The routes gateway
won't be updated with every new RIO any longer since every gateway
has its own entry.

* Enable IPv6 router reachability probing

Currently router reachability probing is disabled since HAOS enables
IPv6 forwarding and the necessary kernel options are not enabled. With
this change router reachability probing is enabled even though we are
a router on our own.

Note that Linux commit ea659e077528 ("[IPV6] ROUTE: Do not enable router
reachability probing in router mode.") by default disabled this
behavior. But since we are acting as a router as well as a host device,
we rather want this reachability probing.

See also: https://lore.kernel.org/netdev/b9182b02829b158d55acc53a0bcec1ed667b2668.1680000784.git.stefan@agner.ch/T/#u
2023-03-28 18:18:19 +02:00
Jens Maus
555c229519 updated generic_raw_uart to latest 1.28 version and updated rpi-rf-mod (#2431)
package to latest version as well.
2023-03-27 09:35:22 +02:00
Stefan Agner
4744a2f123 Fix swapfile creation for all memory sizes (#2427)
* Fix swapfile creation for all memory sizes

In certain situation awk prints the swapfile size in scientific
notation. The script can't deal with that, in which case swap file
creation fails.

Use int to convert the number to an integer.

Since pages are 4k, also make sure swapsize is aligned to 4k blocks.

* Add info message
2023-03-27 09:34:38 +02:00
Stefan Agner
9cd98003e8 Bump OS release version to 11 2023-03-25 09:19:26 +01:00
Stefan Agner
30634cd0af Partially revert "improve virtual hw support (#2138)" (#2425)
Drop PCIe hotplug since this causes network interfaces name changes
which aren't handled gracefully right now. People are left with no
network configuration.
2023-03-23 21:46:12 +01:00
Stefan Agner
a8f6f7aa43 Don't kill ssh connection on OOM (#2424)
By default systemd kills the service which causes an OOM. That make
sense for a typical service, however, for SSH we don't want this
behavior: The connection should continue, just the command which caused
OOM should be killed.
2023-03-23 21:45:57 +01:00
Stefan Agner
689089a949 Linux: Update kernel 6.1.21 (#2423) 2023-03-23 21:45:43 +01:00
Stefan Agner
75dcb932f8 Use zswap instead of swap in zram (#2420)
* Use zswap instead of swap in zram

This requires a swap file which will get generated automatically on
startup.

* Fix file size and free disk space comparison

* Set zswap factor to 33%

* Set vm.swappiness to 1

Decrease swapping to a minimum. This is also recommended for database
work loads by the MariaDB documentation. In practice it causes the least
amount of writes to disk when under memory pressure, while still making
swap available when needed.
2023-03-22 11:08:05 +01:00
Stefan Agner
5c6330f70f Bump U-Boot for ODROID-M1 to 2023.04-rc4 (#2419) 2023-03-17 17:14:42 +01:00
Stefan Agner
5cf2a0b052 Linux: Update kernel 6.1.20 (#2418) 2023-03-17 14:54:05 +01:00
Stefan Agner
c804b6b68d Linux: Update kernel 6.1.19 for Raspberry Pi systems (#2417) 2023-03-17 00:37:38 +01:00
Stefan Agner
3de96587b7 Bump HAOS Agent to 1.5.1 (#2416) 2023-03-17 00:37:27 +01:00
Stefan Agner
787fc22f83 Avoid moving data to same device (#2412)
* Avoid moving data to same device

When a data disk move is triggered when the data disk is already in use
the script currently renames that only data disk, rendering the system
unusable.

Don't continue if source and destination happens to be the same device.

* On failure rename to hassos-data-fail

The label hassos-data-failed is too long.
2023-03-15 22:47:31 +01:00
Stefan Agner
c8438faab5 Linux: Update kernel 6.1.19 (#2411) 2023-03-15 14:16:22 +01:00
Stefan Agner
5200096c4e Deactivate any external data disk device on first boot (#2390) (#2410)
* Deactivate any external data disk device on first boot (#2390)

* Use lsblk to determine the underlying device file

Comparing major number is not reliable, e.g. virtio disks have the same
major number despite being different devices. Use lsblk to find the
underlying device, and compare the device name instead.
2023-03-15 14:16:11 +01:00
Stefan Agner
24f3efdbe3 Support systemd ConditionFirstBoot (#2409)
By default ConditionFirstBoot is ankered to the presence of
/etc/machine-id. However, in our case /etc/machine-id is a bind mount,
which makes the first boot condition non-working.

Since machine-id is stored by the bootloader on HAOS, use the boot
loaders knowledge and pass the information to systemd.
2023-03-15 14:14:47 +01:00
Stefan Agner
2b0187604b Choose Security Module using Kernel configuration (#2407) 2023-03-14 18:29:01 +01:00
Stefan Agner
1d2de24cbe Capitalize ODROID as used by Hardkernel (#2406) 2023-03-14 00:45:39 +01:00
Stefan Agner
8531abcbeb Bump buildroot (#2404)
* buildroot 0a6be061e0...2ccc4c3f04 (1):
  > package/gptfdisk: fix another runtime failure with popt 1.19
2023-03-14 00:19:06 +01:00