Skip to content

add Fedora rootfs installer and first-boot user setup - #56

Draft
katiaTsaruk wants to merge 2 commits into
mainfrom
add-fedora
Draft

add Fedora rootfs installer and first-boot user setup#56
katiaTsaruk wants to merge 2 commits into
mainfrom
add-fedora

Conversation

@katiaTsaruk

Copy link
Copy Markdown
Contributor
  • Bootstrap installer now formats eMMC partition 2 as ext4 and extracts the Fedora rootfs tarball directly from the host PC
  • First boot prompts for username/password on the serial console and creates a non-root user with sudo access
  • Board IP is printed above the login prompt via /etc/issue so SSH is usable even when the console is noisy

Closes #52

After writing the eMMC image, format the rootfs partition as ext4 and
stream adsp-sc598-rootfs.tar.zst from the host PC directly into it via
wget | zstd -d | tar. Add e2fsprogs and zstd to the bootstrap config
to provide mkfs.ext4 and zstd in the installer environment.

Signed-off-by: Kateryna Tsaruk <kateryna.tsaruk@analog.com>
@katiaTsaruk katiaTsaruk self-assigned this Jul 29, 2026
@katiaTsaruk
katiaTsaruk force-pushed the add-fedora branch 12 times, most recently from 60016b2 to d397f43 Compare July 30, 2026 12:02
Add shadow-utils, passwd and sudo to the Fedora rootfs packages to
support non-root user creation. On first boot, a systemd service
prompts for a username and password on the serial console and creates
the user with wheel group membership. A NetworkManager dispatcher
script updates /etc/issue with the board IP address so it is visible
at the login prompt, allowing SSH access without a working console.

Signed-off-by: Kateryna Tsaruk <kateryna.tsaruk@analog.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create default non-root user in Fedora image and print IP on console

1 participant