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

Treat data partition special #306

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

Conversation

NicoHood
Copy link

@NicoHood NicoHood commented Feb 6, 2016

Also fixes:
#205

Adapted from 8430591
8430591#diff-7bd3a48ac1bcbb236a941bd9c1b24587

Tested:

  • You can only proceed the installation if a non data partition was selected.
  • Edit is not highlighted anymore over the data partition.

Please have a look at the 2 commit separate. The first does the fix, the 2nd just indents code.

- If the item has "data partition" in it, do not allow it to be
  installed alone. Closes raspberrypi#103
- If the first partition is not a FAT partition, treat it as
  not bootable. Do not show it in the boot menu, and do not
  write config.txt to it. Closes raspberrypi#102

Adapted from 8430591
raspberrypi@8430591#diff-7bd3a48ac1bcbb236a941bd9c1b24587
To get a better overview of the changes, this commit only indent the lines correct after the previous commit added a new if level.
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.

Don't allow user to install *only* Data Partition Data partition contains useless config files
2 participants