Skip to content

firstboot: add check for p5#99

Open
procount wants to merge 1 commit intoRPi-Distro:bookwormfrom
procount:fix_resize
Open

firstboot: add check for p5#99
procount wants to merge 1 commit intoRPi-Distro:bookwormfrom
procount:fix_resize

Conversation

@procount
Copy link
Copy Markdown

@procount procount commented Jun 5, 2025

local-premount/firstboot:
Checked for ${ROOT_DEV}p5 as well as ${ROOT_DEV}5" to cater for nvme & mmcblk0 drives. Moved log message.

local-premount/firstboot:
Checked for ${ROOT_DEV}p5 as well as ${ROOT_DEV}5" to cater for nvme & mmcblk0 drives.
Moved log message.
@procount
Copy link
Copy Markdown
Author

I'm not sure moving the begin_log_message was a good idea as putting it in the conditional means it doesn't always balance with the end_log_message. Please ignore that part as required.

@XECDesign
Copy link
Copy Markdown
Member

I'd leave the resize message where it was and I wonder if it may be clearer and more direct to check whether "$ROOT_PART_NUM" == 2

@procount
Copy link
Copy Markdown
Author

That looks like it would work too. Happy either way.

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.

2 participants