Pascal Vizeli
bc8db10ae6
Fix connectivity check updated NM ( #1182 )
2021-01-31 00:26:13 +01:00
Stefan Agner
810de4efdb
Disable DNS over TLS by default ( #1113 ) ( #1121 )
...
It seems that on certain setups the default DNS over TLS mode
"opportunistic" causes delays of ~10s when trying to resolve names. This
is probably caused by providers and/or firewall setups not properly rejecting
connections on port 853.
It seems that also other distributions (such as Arch Linux) still
disable DNS over TLS currently. Side step issues with DNS over TLS by
disabling it for now.
2020-12-30 16:53:53 +01:00
Stefan Agner
a0f63549f4
Don't suspend Home Assistant OS on closed lids ( #1093 ) ( #1100 )
...
Old Laptops are a popular choice to run Home Assistant: They have low
power consumption, are relatively fast and cheap to come by. However,
closing their lid by default puts a Linux system into suspend. This is
not what the typical user of Home Assistant OS wants. Ignore lid
activity in any state by default.
2020-12-18 16:46:02 +01:00
Pascal Vizeli
c2098e1cf4
No random mac for wifi scan ( #1061 )
2020-12-05 22:31:19 +01:00
Stefan Agner
1537d02408
Lower console log level after boot-up ( #1054 )
...
Some console logs are really not helpful in practise and are more
confusing then helpful. Show warnings and higher on console after
boot-up.
2020-12-03 15:38:10 +01:00
Pascal Vizeli
c48184cf91
Set NetworkManager default value / fix mDNS in OTA updates ( #1041 )
...
* Set NetworkManager default values / fix mDNS in OTA updates
2020-12-01 10:15:06 +01:00
Stefan Agner
7c25f7c187
Fix DNS resolving ( #1004 )
...
* Add resolved.conf to disable stub resolver and DNSSEC
There are Add-Ons which try to bind port 53 on all interfaces including
127.0.0.53. Disable the stub resolver to make them continue working. We
don't need the resolver currently anyway.
Also disable DNSSEC to make sure the baords can access a NTP time server
even when their time is incorrect (since DNSSEC validation may fail).
This is a known chicken-egg problem with systemd-resolved/systemd-timesyncd
and might be addressed in a future version, with what we can reenable
DNSSEC:
https://github.com/systemd/systemd/issues/5873
* Make sure resolve gets added only once to nsswitch.conf
Only add resolve to nsswitch.conf if not already present.
2020-11-18 09:56:38 +01:00
Stefan Agner
25a0dd3082
Use systemd-resolved to announce hostname via mDNS and LLMNR ( #986 )
...
Drop AVAHI and use systemd-resolved to announce hostname via mDNS
and LLMNR. Also continue to offer the _workstation._tcp.local service
since it is used by the CoreDNS mDNS plug-in.
2020-11-13 17:43:46 +01:00
Pascal Vizeli
22f7777099
Make getty for serial/tty same ( #850 )
...
* Make getty for serial/tty same
* adjust log output
2020-09-06 22:18:19 +02:00
Pascal Vizeli
50176a0e3b
Add support for snapshots/restore on OS level ( #801 )
2020-08-03 16:28:08 +02:00
Pascal Vizeli
b3530d1ce1
Allow easy move data partition ( #651 )
...
* Allow easy move data partition
* Cleanup handling systemd
* Improve handling
* fix pipeline
* pipeline
* fix shell handling
* fix scripts
* Add bin folder
* fix lint
* Fix service handling
* Fix loading
* hide output
* Fix handling
2020-05-06 00:00:28 +02:00
Pascal Vizeli
db184bf5d3
Make machine-id persist ( #649 )
...
* Make machine-id persist
* update
* Adjustments
* cleanup
* fix cleanups
* small cleanup
2020-05-04 15:11:43 +02:00
Pascal Vizeli
04e679798a
Fix workstation avahi handling & add NSS mdns to host ( #638 )
...
* Fix workstation avahi handling & add NSS mdns to host
* disable avahi daemon on internal
2020-04-26 11:19:28 +02:00
Pascal Vizeli
4df2ab6013
Use default CloudFlare anycast time service ( #629 )
2020-04-21 14:41:13 +02:00
Pascal Vizeli
2c963fcd05
Add dbus config for pulseaudio ( #619 )
2020-04-03 14:53:42 +02:00
Pascal Vizeli
febc4473d3
New supervisor / Adjust rauc handling ( #530 )
...
* OS: Update supervisor 194
* Remove old rauc mark code
* OS: Update supervisor 195
* Adjust dockerd
2020-01-09 23:02:46 +01:00
Pascal Vizeli
41d3f59002
Update Buildroot to 2019.02.3 ( #415 )
...
* Update Buildroot to 2019-02.3
* Fix enter script
* Update ova_defconfig
* Fix network manager
* Remove runc patches
* Use same docker version
* Fix build
* Fix vmtools
* Fix depens
* Fix handling with tempfiles
* Fix permission handling
* Fix cp
* Cleanup
* Fix mounts
2019-06-27 11:58:50 +02:00
Maël Kimmerlin
5e82060124
Adding /etc/modprobe.d folder for module configuration ( #397 )
...
* Add a /etc/modprobe.d folder
populated using a config USB stick with folder modprobe
* Add the documentation for the modprobe folder
2019-05-08 13:15:48 +02:00
Pascal Vizeli
1d40ffd4f9
OS: Fix boot problem ( #370 )
...
* OS: Fix boot problem
* Update var-lib-docker.mount
* Update var-lib-docker.mount
* Update var-lib-docker.mount
2019-03-18 09:53:22 +01:00
Pascal Vizeli
a21871f4af
OS: Disable coredump ( #365 )
2019-02-22 21:24:58 +01:00
Bryan Berg
43828c2555
Migrate from LABEL= to /dev/disk/by-label/* ( #318 )
2019-01-28 09:58:40 +01:00
Pascal Vizeli
bc3cc20629
Don't use a bind mount for docker data ( #266 )
2018-11-29 15:20:58 +01:00
Pascal Vizeli
dc35208efe
OS: allow set NTP ( #252 )
...
* OS: allow set NTP
* Create etc-systemd-timesyncd.conf.mount
* Update hassos-config
* Update configuration.md
* add link
* Update Documentation/configuration.md
Co-Authored-By: pvizeli <pascal.vizeli@syshack.ch >
2018-11-21 00:28:40 +01:00
Pascal Vizeli
dac76b1632
Allow udev rules & make it persistent ( #210 )
...
* Install default to lib
* Create hmip-rfusb.rules
* Create etc-udev-rules.d.mount
* Update hassos-config
* Update configuration.md
* Update rauc.sh
* Add ln
2018-10-11 20:49:20 +02:00
Johannes Truschnigg
faa371191f
Implement basic ACPI shutdown support via busybox acpid ( #209 )
...
On systems where ACPI support is present as inidcated by the presence of
/proc/acpi (e.g. on OVA compatible hypervisors), we want to properly
shut down the system when the power button is pressed (or the hypervisor
simulates this kind of event to the guest machine that executes hassos).
This changeset provides the following basic infrastructure for this
feature to work as expected:
* a systemd service to start acpid, if ACPI support can be assumed
* an acpid configuration directory
* a trivial shutdown script to invoke when a PWR event is registered
2018-10-10 11:34:06 +02:00
Pascal Vizeli
fbb45e1544
tinker: Initial support ( #140 )
...
* tinker: initial support
* Fix info
* Fix uboot defconfig
* Split kernel config
* Fix name
* Add post-image
* Init different boot
* Add SPL images
* Dynamic rauc config
* Support SPL for OTA
* Fix expand script style
* Fix SPL
* Bump build u-boot
* Cleanup
* Add cmd for scritps
* Use kernel from armbian
* Fix u-boot
* Add bluetooth support
* Fix bt
* Fix env
* Change uart debug like rpi
* move config
2018-08-03 13:21:55 +02:00
Pascal Vizeli
85c9aa4191
Fix handling with resolv.conf ( #99 )
2018-07-13 18:29:34 +02:00
Pascal Vizeli
7cffb1f45b
Native bluetooth support ( #91 )
...
* Add bluez
* rpi firmware
* add rpi support
* Make packages from rpi
* Fix build
* Fix target
* persistent
* fix package
* Auto enable
* Fix parameter
* Fix rpi
* Fix done
2018-07-10 01:14:07 +02:00
Pascal Vizeli
38c1df36c0
Fix time on overlay ( #88 )
...
* Fix time on overlay
* Fix rights
* Fix timesync
2018-07-08 00:43:46 +02:00
Pascal Vizeli
c6d0fef0b4
Some cleanup ( #84 )
2018-07-06 21:04:48 +02:00
Pascal Vizeli
14833a110f
Use wait on network to delay the startup ( #81 )
...
* Use wait on network to delay the startup
* Update nm.conf
* Create nm.conf
* Update hassos-supervisor.service
* Rename hassos.conf to docker.conf
* Create hassos.conf
* Create hassos.conf
* Update hassos.conf
* aply patch
* Mark only failed
* Fix start order
2018-07-06 18:21:19 +02:00
Pascal Vizeli
bf59b7744d
Use dhcp client / avahi after NM ( #75 )
...
* Use dhcp client / avahi after NM
* Store networkmanager
* Add default connection
* cleanup
* cleanup lease
* faster boot
* Cleanup
* Fix permission
2018-07-05 20:00:56 +02:00
Pascal Vizeli
11b1946cd7
Make logs persistent over reboot and cleanup ( #61 )
...
* Create hassos-persists-journald
* Create hassos-persists-journald.service
* Set ln & permission
* Enable persists journald
* Update hassos-persists-journald
2018-07-02 01:05:21 +02:00
Pascal Vizeli
6aa8e61d88
Add lost persistent ssh folder ( #58 )
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-07-01 00:38:30 +02:00
Pascal Vizeli
8dd8816e4e
Fix authorized_keys keys ( #53 )
...
* Fix authorized_keys keys
* Update hassos.conf
* Update configuration.md
* Update hassos-config
* Update hassos-config
2018-06-28 22:21:50 +02:00
Pascal Vizeli
b3943870dc
Fix rauc config
2018-06-25 21:11:18 +00:00
Pascal Vizeli
26d7a4cb23
Update hassos.conf
2018-06-25 08:58:26 +02:00
Pascal Vizeli
8434f3ee55
Create docker.conf
2018-06-25 08:51:22 +02:00
Pascal Vizeli
ddde16216c
Rename hassos.conf to docker.conf
2018-06-25 08:50:39 +02:00
Pascal Vizeli
3e8499ecbf
Use correct cert ( #35 )
...
* Use correct cert
* Fix boot partition handling
* Cleanup rauc handling
* Make a reboot
* handling
2018-06-24 23:41:04 +02:00
Pascal Vizeli
fa44e0a7fd
cleanup
2018-06-17 01:25:47 +02:00
Pascal Vizeli
49df049f2c
Change rauc mark handling
2018-06-16 09:06:07 +00:00
Pascal Vizeli
9f6a339ec7
fix old bootstate
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-12 14:31:50 +00:00
Pascal Vizeli
d6f5c337e1
Allow more log with new partition layout
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-12 13:53:17 +00:00
Pascal Vizeli
76a4376a96
Use uboot raw env
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-11 12:46:09 +00:00
Pascal Vizeli
a426046bcc
Support dual bootloader ( #27 )
...
* Support dual bootloader
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
* Make ova running
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
* fix uboot
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
* Update supervisor
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
* Support all rpi
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-11 11:34:31 +00:00
Pascal Vizeli
cb80bb725c
Generalize getty handling
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-03 09:43:28 +00:00
Pascal Vizeli
24082ba3a6
Move getty to barebox for support serial
...
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
2018-06-01 14:50:48 +00:00
Pascal Vizeli
8ef36c928f
Fix expand after rename
2018-05-18 23:05:41 +02:00
Pascal Vizeli
e3645e22df
Active module load
2018-05-18 15:24:40 +02:00