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
Stefan Agner
b6cfe04422
Do not attempt to resize on every boot ( #843 ) ( #848 )
...
The hassos-expand script calls sfdisk to find free disk space. It seems
that today it considers the space before the first partition as free:
$ sudo sfdisk -Fq /dev/sdi
Start End Sectors Size
2048 16383 14336 7M
This causes the script to always resize. It seems not to cause harm to
the partition table (it does not resize really). However, the call to
partx seems to confuse systemd and kill the mnt-data.mount process
(presumably because udev causes remove/add events for the by-label
device units).
Consider everything below 8MiB to not be worthy of a size change. This
avoids missdetection and resize attempts where there is no need.
2020-09-06 11:22:43 +02:00
Pascal Vizeli
0c427d0dee
Update rauc 1.4 to fix mounted boot partition issue ( #809 )
...
* Update rauc 1.4 to fix mounted boot partition issue
* applay update
* fix characters
* fix CI
* Support old format
* fix mcopy prefix
* fix lint
* fix lint
* clean style
* Fix script
* fix syntax
* Support all system
* fix shell
* Fix script
2020-08-06 19:37:52 +02:00
Pascal Vizeli
50176a0e3b
Add support for snapshots/restore on OS level ( #801 )
2020-08-03 16:28:08 +02:00
Pascal Vizeli
4bcba322ff
Fix jitters during first update/boot ( #742 )
...
* Fix jitters during first update/boot
* Address comments
* fix lint
2020-06-15 14:48:58 +02:00
Pascal Vizeli
0991cc1c25
Fix version json name if image is missing ( #741 )
...
* Fix version json name if image is missing
* Update hassos-supervisor
2020-06-15 14:48:02 +02:00
Franck Nijhof
2706b4d866
Improve self healing capabilities of Supervisor service ( #726 )
...
* Improve self healing capabilities of Supervisor service
* Fixes shellcheck linter warnings
2020-06-05 23:28:05 +02:00
Franck Nijhof
83af2731a8
Fix Supervisor container name reference in hassos-supervisor service ( #727 )
2020-06-05 22:14:34 +02:00
Pascal Vizeli
ee13d1fb45
Add emergency Console ( #705 )
...
* Add emergency Console
* fix lint
2020-06-02 23:28:13 +02:00
Pascal Vizeli
b206787520
Fix issue with mbr partition remove on MBR ( #694 )
2020-05-27 16:30:07 +02:00
Pascal Vizeli
ce3c80641b
cleanup-device ( #681 )
2020-05-19 21:29:57 +02:00
Pascal Vizeli
4eda8a1ff3
Wait until device is exists for moving data ( #680 )
...
* Wait until device is exists for moving data
* Update hassos-data
* Update hassos-data
* Update hassos-data
2020-05-19 15:21:08 +02:00
Pascal Vizeli
b410b70814
Update the old partition layout not just partial ( #679 )
2020-05-19 10:38:27 +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
45c62716cb
New way to install/run supervisor + plugins ( #620 )
...
* Use new layout for CLI/Supervisor
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch >
* Fix install script
* Fix config
* Add docs
* Fix shellcheck
* Fix issue
* rename package
* Fix build
* Fix apparmor
2020-04-21 14:37:25 +02:00
Pascal Vizeli
2e7e039899
Optimize SND kernel module handling ( #606 )
...
* Optimize SND kernel module handling
* Update alsa-base.conf
* Update alsa-base.conf
2020-03-10 10:28:45 +01:00
Pascal Vizeli
279a4c4db1
Change uptime for offline update ( #585 )
2020-02-16 11:46:41 +01: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
Franck Nijhof
6e7bbdbe63
Fix auto expand disk for GPT ( #508 )
2019-12-12 12:12:49 +01:00
Pascal Vizeli
d340e79bea
Fix RPI issues with u-boot / firmware ( #503 )
...
* Fix RPI issues with u-boot / firmware
* Cleanup bluetooth handling
* Use RC4 for u-boot on rpi4
2019-12-10 19:07:16 +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
454964877d
Add support for privileged supervisor ( #381 )
2019-03-18 12:45:15 +01:00
Pascal Vizeli
7b4be3b4f7
OS: change zram swap to 25% of available memory ( #348 )
2019-02-08 11:53:31 +01:00
Bryan Berg
43828c2555
Migrate from LABEL= to /dev/disk/by-label/* ( #318 )
2019-01-28 09:58:40 +01:00
Simon Holzmayer
73a875c263
Fix modules import from USB-Stick ( #331 )
2019-01-25 14:27:02 +01:00
Jasper van der Neut - Stulen
5835b6a683
OS: Fix unmount of busy mounts ( #319 )
...
dhclient and systemd-journald will be running during shutdown and are
only killed in the final shutdown fase. Unmounting the directories
they use will fail. Use lazy unmouting to fix this.
2019-01-13 21:04:57 +01:00
Jasper van der Neut - Stulen
5fc32d2eb7
OS: Run ash as login shell, so $PATH is set correctly. ( #305 )
2019-01-04 22:00:03 +01:00
Pascal Vizeli
60c9013535
Travis ( #269 )
...
* Update build-all.sh
* Delete ovf-create.sh
* Update patches.sh
* Update hdd-image.sh
* Create .travis.yml
* Update hdd-image.sh
* Update hdd-image.sh
* Update hdd-image.sh
* Update hdd-image.sh
* Update ota.sh
* Update post-build.sh
* Update post-image.sh
* Update rauc.sh
* Update rootfs-layer.sh
* Update hassos-cli
* Update hassos-supervisor
* Update hassos-config
* Update hassos-apparmor
* Update hassos-expand
* Update hassos-persists-journald
* Update hassos-rate
* Update hassos-hook.sh
* Update hassos-hook.sh
* Rename uboot-boot.sh to uboot-boot.ush
* Rename uboot-boot.sh to uboot-boot.ush
* Update hassos-hook.sh
* Rename uboot-boot.sh to uboot-boot.ush
* Rename uboot-boot.sh to uboot-boot.ush
* Update hassos-hook.sh
* Update odroid_c2_defconfig
* Update rpi0_w_defconfig
* Update rpi2_defconfig
* Update rpi3_64_defconfig
* Update rpi3_defconfig
* Update rpi_defconfig
* Update tinker_defconfig
* Update enter.sh
* Update .travis.yml
2018-11-30 16:22:04 +01:00
Pascal Vizeli
ae0a2fe264
OS: move service scripts into libexec
2018-11-29 16:01:16 +00: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
Simon Holzmayer
809abbfde2
Fixed keeping name of udev rules after usb import ( #232 )
...
Closes #231
2018-10-29 16:01:29 +01:00
Pascal Vizeli
a2363d9a27
OS: bugfix acpid service file ( #229 )
...
* OS: bugfix acpid service file
* Update busybox-acpid.service
2018-10-29 16:00:20 +01:00
Pascal Vizeli
2291e8599e
OS: Config importer support now also boot partition ( #212 )
...
* OS: Config importer support now also boot partition
* Update configuration.md
* Cleanup config after import
* Update hassos-config
2018-10-25 21:59:58 +02:00
Pascal Vizeli
005cbc0b89
OS: use newer docker run command ( #217 )
...
* OS: use newer docker run command
* Update hassos-supervisor
2018-10-16 16:32:00 +02: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
74ff13e25e
P1
2018-08-24 21:50:29 +00:00
Ryan Bray
11088580c5
odroid-c2: Initial Support
...
Working:
* Ethernet
* Resize of Data
* RAUC boot marking/fetching
* CMD Line into HASSOS and Linux
Partially working:
* USB (requires 1+ devices in at boot. Seems to be a kernel/dt issue.)
Untested:
* RAUC Update
* HDMI
Not working:
* Homeassistant
** We see:
hassio > ha info
The HTTP request failed with the error: Get http://hassio/homeassistant/info : dial tcp 172.30.32.2:80: getsockopt: connection refused
2018-08-16 22:24:11 -06:00
Pascal Vizeli
6ab6cd7ff4
os: revert gpt fix / not needed
2018-08-11 10:35:43 +00:00
Pascal Vizeli
a2c6107685
os: fix GPT alligne with SPL images
2018-08-11 08:56:46 +00: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
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
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
7e665a7b42
Fix persistent log ( #70 )
2018-07-02 23:53:07 +02:00
Pascal Vizeli
c860229130
Change chmod of network connection files from fat32 ( #69 )
2018-07-02 23:03:13 +02:00
Pascal Vizeli
32ab05bd2e
Fix update script with uptime ( #68 )
2018-07-02 22:51:54 +02:00
Pascal Vizeli
414b59ac4a
Fix label name in test script ( #66 )
...
* Fix label name in test script
* Update hassos-config
2018-07-02 21:24:05 +02:00