Skip to content

Conversation

@bjordiscollaku
Copy link
Contributor

No description provided.

Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
- Stop treating IMG_URL as a preinstalled disk image
- Download ISO via wget and extract with 7z
- Prefer casper/minimal.squashfs (fallback to filesystem.squashfs)
- Unsquash into squashfs-root and copy to $ROOTFS_DIR
- Silently ensure 7z (p7zip-full) is installed on Ubuntu
- Add robust checks, clearer logs, and safe defaults

Rationale:
This aligns with the new distribution format where IMG_URL
always points to an ISO and avoids loop/partition logic that
no longer applies.

Impact:
- Ubuntu Server supported

Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
- Add support for casper/ubuntu-server-minimal.squashfs
- Keep existing checks for minimal.squashfs and filesystem.squashfs
- Fallback: scan ISO tree (depth-limited) for *.squashfs and prefer *minimal*
- Log selection and warn when multiple candidates are found

Rationale:
Recent Ubuntu ISOs package rootfs as ubuntu-server-minimal.squashfs, which
broke the previous hard-coded paths. This makes detection robust across
ISO variants.

Signed-off-by: Bjordis Collaku <bcollaku@qti.qualcomm.com>
@bjordiscollaku bjordiscollaku changed the title Remove user prompt to reboot from kernel deb postinst logic Update Kernel and RootFS Build Tools with Critical Feature Enhancements Oct 21, 2025
@bjordiscollaku bjordiscollaku merged commit 3f2174c into main Oct 22, 2025
6 checks passed
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.

3 participants