Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da3774dc authored by Jackeagle's avatar Jackeagle
Browse files

Add migration notice support for device install pages

- Added migration_notice_file_name support to device_install.md template
- Created migration_notice_FP5.md with Android 13 to 15 migration warning
- Updated FP5.yml to include migration notice for Android 13 users
- Migration notices are conditionally displayed only when specified in device YAML
parent 9b18b6c7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ display_erecovery: false
install_e_file_name: install_e_official_lock_bootloader
ignore_troubleshooting_tips: true
requirements_file_name: requirements_FP5
migration_notice_file_name: migration_notice_FP5
verified_boot:
- {vendor: 'Any vendor', supported: 'yes'}
bootloader_relocking:
+9 −0
Original line number Diff line number Diff line
{% assign device = page.device %}

{% assign requirements_file_name     = "requirements" %}
{% assign migration_notice_file_name = "migration_notice" %}
{% assign downloads_file_name        = "device_downloads" %}
{% assign before_install_file_name   = "before_install" %}
{% assign oem_unlock_file_name       = "oem_unlock" %}
@@ -15,6 +16,10 @@
    {% assign requirements_file_name = device.requirements_file_name %}
{% endif %}

{% if device.migration_notice_file_name %}
    {% assign migration_notice_file_name = device.migration_notice_file_name %}
{% endif %}

{% if device.downloads_file_name %}
    {% assign downloads_file_name = device.downloads_file_name %}
{% endif %}
@@ -51,6 +56,7 @@
{% endif %}

{% capture requirements_template_path %}templates/{{ requirements_file_name }}.md{% endcapture %}
{% capture migration_notice_template_path %}templates/{{ migration_notice_file_name }}.md{% endcapture %}
{% capture downloads_template_path %}templates/{{ downloads_file_name }}.md{% endcapture %}
{% capture before_install_template_path %}templates/{{ before_install_file_name }}.md{% endcapture %}
{% capture oem_unlock_template_path %}templates/{{ oem_unlock_file_name }}.md{% endcapture %}
@@ -62,6 +68,9 @@
{% capture help_template_path %}templates/{{ help_file_name }}.md{% endcapture %}

{% include {{ requirements_template_path }} %}
{% if device.migration_notice_file_name %}
{% include {{ migration_notice_template_path }} %}
{% endif %}
{% include {{ downloads_template_path }} %}
{% include {{ before_install_template_path }} %}
{% include {{ oem_unlock_template_path }} %}
+7 −0
Original line number Diff line number Diff line
{% include alerts/warning.html content="**Migration Notice for Android 13 Users on FP5**  
<br>
If your Fairphone 5 is still running **Android 13**, please note that migration support to /e/OS based on **Android 15** will only be available starting with release **v3.3**.

<br><br>Do **not** attempt to upgrade directly from Android 13 to Android 15 before v3.3, as this will not be supported and may result in issues.  

<br><br>Users already on **Android 14** can upgrade to **Android 15** as planned." %}