build
build copied to clipboard
Firstrun 2
Description
Cleanup and order firstrun scripts to use systemd firstboot logic. Cleanup image according to systemd so multiple flashes don't share machine-id or random seed Cleanup espressobin-related logic enabling networkd and resolved services.
Replaces #3642 and #3769
Jira reference number AR-1174
How Has This Been Tested?
- [ ] Flash the new image and see if it completes firstrun scripts and populates /etc/machine-id
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules
Still an issue with dpkg-reconfigure openssl... and the failure of the armbian-firstboot script does NOT stop the system from being considered to have booted (and writing to machine-id)
It timeouts on first run and it doesn't auto login ...
Can we squeeze this in for 22.08? But has to be well tested.