Skip to content

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

Draft
tserong wants to merge 3 commits intoharvester:masterfrom
tserong:wip-sl-micro-6
Draft

enhancement: use rancher/harvester-os:sl-micro-6 as base OS#1014
tserong wants to merge 3 commits intoharvester:masterfrom
tserong:wip-sl-micro-6

Conversation

@tserong
Copy link
Copy Markdown
Member

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

1 participant