Skip to content

enhancement: use rancher/harvester-os:sl-micro-6 as base OS #1014

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tserong
Copy link
Contributor

@tserong tserong commented Mar 26, 2025

A few things seem to have changed with the newer version of elemental in SL Micro 6, notably:

  • rootfs.squashfs is no longer in the root directory of the ISO, rather it's in an architecture specific subdirectory under /boot.
  • The ARM initrd and kernel on the ISO moved from /boot/x86_64/loader/ to /boot/arm64/loader/ (although that begs the question - why were they under /boot/x86_64/loader previously?)
  • The initrd and kernel symlinks under /boot in the baseos image may be to either other files in /boot (without extra path information), or to paths elsewhere under /usr/lib/modules/, hence the change to readlink -f when extracting these files.

Related issue: harvester/harvester#7025

NOTE: I DO NOT INTEND TO MERGE THIS, I JUST WANTED TO SEE IF THE ISO BUILD SUCCEEDS FOR BOTH ARCHITECTURES

@tserong tserong marked this pull request as draft March 26, 2025 04:42
A few things seem to have changed with the newer version of elemental
in SL Micro 6, notably:

- rootfs.squashfs is no longer in the root directory of the ISO,
  rather it's in an architecture specific subdirectory under /boot.
- The ARM initrd and kernel on the ISO moved from /boot/x86_64/loader/
  to /boot/arm64/loader/ (although that begs the question - why were
  they under /boot/x86_64/loader previously?)
- The initrd and kernel symlinks under /boot in the baseos image
  may be to either other files in /boot (without extra path
  information), or to paths elsewhere under /usr/lib/modules/,
  hence the change to `readlink -f` when extracting these files.

Related issue: harvester/harvester#7025

Signed-off-by: Tim Serong <[email protected]>
@tserong tserong force-pushed the wip-sl-micro-6 branch 2 times, most recently from c6d5a79 to 6307372 Compare March 26, 2025 06:39
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.

1 participant