build icon indicating copy to clipboard operation
build copied to clipboard

Firstrun 2

Open ManoftheSea opened this issue 3 years ago • 4 comments

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

ManoftheSea avatar May 09 '22 00:05 ManoftheSea

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)

ManoftheSea avatar May 09 '22 01:05 ManoftheSea

It timeouts on first run and it doesn't auto login ...

igorpecovnik avatar May 11 '22 16:05 igorpecovnik

Can we squeeze this in for 22.08? But has to be well tested.

igorpecovnik avatar Aug 13 '22 19:08 igorpecovnik