Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow override of USE_SYSTEM_PARTITION #12

Open
wants to merge 2 commits into
base: halium-9.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion system-image-upgrader
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,12 @@ fi

# Force usage of system partition for now, the existance of Android 9.0 devices
# with a too small system partition is questionable at this point.
USE_SYSTEM_PARTITION=1
# As we speak, e.g. Google Pixel has only 2GB system partition, so lets make this overridable
if [ -e disable_syspart ]; then
USE_SYSTEM_PARTITION=0
else
USE_SYSTEM_PARTITION=1
fi

# However, do not use the block device name in the kernel command line, as that is not consistently
# named in booting normal and recovery modes. Expect fstab to have a system mountpoint or use a fallback.
Expand Down