New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre-Release 5.6 #1033
Merged
Pre-Release 5.6 #1033
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stop announcing services using DNS-SD we don't offer.
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.
* Update buildroot-patches for 2020.11-rc1 buildroot * Update buildroot to 2020.11-rc1 Signed-off-by: Stefan Agner <stefan@agner.ch> * Don't rely on sfdisk --list-free output The --list-free (-F) argument does not allow machine readable mode. And it seems that the output format changes over time (different spacing, using size postfixes instead of raw blocks). Use sfdisk json output and calculate free partition space ourselfs. This works for 2.35 and 2.36 and is more robust since we rely on output which is meant for scripts to parse. * Migrate defconfigs for Buildroot 2020.11-rc1 In particular, rename BR2_TARGET_UBOOT_BOOT_SCRIPT(_SOURCE) to BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT(_SOURCE). * Rebase/remove systemd patches for systemd 246 * Drop apparmor/libapparmor from buildroot-external * hassos-persists: use /run as directory for lockfiles The U-Boot tools use /var/lock by default which is not created any more by systemd by default (it is under tmpfiles legacy.conf, which we no longer install). * Disable systemd-update-done.service The service is not suited for pure read-only systems. In particular the service needs to be able to write a file in /etc and /var. Remove the service. Note: This is a static service and cannot be removed using systemd-preset. * Disable apparmor.service for now The service loads all default profiles. Some might actually cause problems. E.g. the profile for ping seems not to match our setup for /etc/resolv.conf: [85503.634653] audit: type=1400 audit(1605286002.684:236): apparmor="DENIED" operation="open" profile="ping" name="/run/resolv.conf" pid=27585 comm="ping" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Signed-off-by: Stefan Agner <stefan@agner.ch>
* Change titels to reflect official/new naming * Use GitHub Actions to trigger Release Drafter The Add-On is no longer developed and GitHub Actions is the recommended way to use the Release Drafter
Make the NXP PCF8563TS on-board RTC the primary RTC of the system.
* Use /run as default location for lock files for U-Boot tools While there is a command line parameter to set the lock file explicitly, there are other tools invoking fw_setenv (in particular rauc) which do not set the lock file. Using /run by default makes fw_setenv use the correct lock file in all situations. * Don't explicitly set lock file location Since we patch U-Boot tools to use /run by default setting it explicitly is unnecessary.
Make sure the builder can write the ccache directory. This is useful e.g. when using a Docker volume or a newly created directory.
* Use double quote to prevent globbing and exit with error in case directory doesn't exit in hassos-hook.sh * echo flags are undefined in POSIX, use bash instead in bluetooth-rtl8723
* 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: systemd/systemd#5873 * Make sure resolve gets added only once to nsswitch.conf Only add resolve to nsswitch.conf if not already present.
* Initial version of release workflow using GitHub Actions Add release workflow using GitHub Actions to replace the current Azure DevOps pipeline. Currently the same functionality is implemented. This uses multiple builds in parallel to make better use of CPU resources. Remove Azure DevOps pipeline. * Add GitHub Actions workflow for pull-request checks Lint Dockerfile and shell scripts when PRs are opened. * Use multiple runners in parallel Buildroot has stretches where CPU resources are not fully utilized. Spawn multiple builds accross builders to increase load. Also sort them by architecture to maximize ccache hit rate. * Checkout before validate version
* Remove busybox Linux module support Since systemd relies on the upstream Linux kernel module handling utility "kmod" the busybox implementations are not required. Already today the official "kmod" utility takes precedence: haos # ls -la /usr/sbin/*mod* lrwxrwxrwx 1 root root 11 Nov 11 11:32 /usr/sbin/depmod -> ../bin/kmod lrwxrwxrwx 1 root root 11 Nov 11 11:32 /usr/sbin/insmod -> ../bin/kmod lrwxrwxrwx 1 root root 11 Nov 11 11:32 /usr/sbin/lsmod -> ../bin/kmod lrwxrwxrwx 1 root root 11 Nov 11 11:32 /usr/sbin/modinfo -> ../bin/kmod lrwxrwxrwx 1 root root 11 Nov 11 11:32 /usr/sbin/modprobe -> ../bin/kmod lrwxrwxrwx 1 root root 11 Nov 11 11:32 /usr/sbin/rmmod -> ../bin/kmod * Move modprobe configuration alsa-base.conf to correct location The official modprobe package from kmod checks three locations: /etc/modprobe.d/, /lib/modprobe.d/ and /run/modprobe.d/. Since usr-move /lib is a symlink to /usr/lib, the correct location for distribution provided modprobe files is /usr/lib/modprobe.d.
The current default size of 6GB can fill up pretty quickly. Since most disk images we offer resize dynamically its not really problem to ship with a bigger default size. It avoids support cases when people forget to increase the disk image size.
* Fix N2+ boot by disabling USB enumeration On some devices USB enumeration in U-Boot seems to freeze: starting USB... Bus usb@ff500000: Register 3000140 NbrPorts 3 Starting the controller USB XHCI 1.10 scanning bus usb@ff500000 for devices... <freeze> We don't use USB currenty in the U-Boot script, disable it for now. * Disable USB enumeration on all ODROID devices
* Avoid trying to boot non-existing kernel image in fail-over case The A/B update system automatically switches to the other boot slot when booting fails. However, in a fresh installation, only boot slot A exists. If booting fails three times (e.g. if somebody plugs out power before the slot can be marked as good), then the system switches to boot slot B which does not contain a kernel image yet. Avoid trying to boot the non-existing kernel image. With this change, if slot B is empty U-Boot will restore both slots to 3 attempts and retry booting from slot A on next reboot: ``` Trying to boot slot B, 2 attempts remaining. Loading kernel ... ** Unrecognized filesystem type ** No valid slot found, resetting tries to 3 storing env... ``` Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
* Add development build version part to version number Add third part in the version number to indicate development builds. Generate a default version number based on the date, e.g. "5.6.dev20201124". * Add GitHub Action workflow for development builds Add another GitHub workflow for development builds. Make it triggered only for now. The version number is generated by the workflow and passed to all builds to make sure all builds have the same development build version. * Add documentation
The xz compression allows higher compression rates and higher speeds, a quick measurement lead to this numbers: gzip --best: compression 131.11s, decompression 9.797s (299M) xz -3 (single thread): compression 95.13s, decompression 14.902s (228M) xz -3 (multi thread): compression 12.146s, decompression 14.902s (228M)
* Add 2020-10-28 beta EEPROM This improves boot from USB and speeds up boot times. also includes sd card v1 boot reliability. see raspberrypi/rpi-eeprom#246 Also add HDMI_DELAY=0 so HDMI display is always visible for easier debugging.
HAOS builds add a lot of files and things get quickly messy. Use a directory per build. Also don't abort the complete build if a single board failed, we still might be interested in the rest.
* Bump dev channel after build Bump version on dev channel automatically when building a dev branch pre-release. Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Backport patches for RPi400 and CM4 support. Tested on a RPi400 which seems to successfully boot and run Home Assistant OS with this.
* Add sound card by default using the hdaudio driver (#925) * Use virtio-net for VirtualBox The virtio-net driver is a paravirtualization driver which means less overhead than virtualizing a full network card. The driver is supported by VirtualBox since several releases by now. * Use full OS name in product name.
The version banner was showing "Amlogic Meson G12A (Unknown) Revision 28:0 (0:0)" in all cases instead of the correct SoC name and revision. Make sure the SoC revision is properly read also for the banner.
* Update buildroot to 2020.11-rc3 Signed-off-by: Stefan Agner <stefan@agner.ch> * ODROID: Update kernel 5.9.11 * Remove patch which has been applied upstream * Linux: Update kernel 5.4.80
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.