Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

checking prepare_parts for mmcblk device & partition differences #33

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

apple-corps
Copy link

Will test on next build.

ROOTPART=${DEVICE}3

# resolves issue with mmcblk devices
if [[ $DEVICE == mmcblk* ]]; then
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the check should be
if [ -e ${DEVICE}1 ]
to account for devices that are not mmcblk* and do use p to separate whole drive from single partitions

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Maccraft123 not sure I follow but I have an updated commit where I switched to the single test expression (before I saw this).

I tested this. The logic is similar, we test for mmcblk devices and set the partitions accordingly. Otherwise we use the same values you used previous.

@apple-corps
Copy link
Author

@Maccraft123 finally got this write. Had to put it at the end of the script after the partition creation. Tested. Can we merge ?

6c04547

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants