#!/bin/sh

############################################################################################################################
# Partition names/labels for prpl flashing layout
# Check the README for more information about the names.
############################################################################################################################
source /lib/functions/prpl-layout-functions.sh
delete_prpl_layout_vars #Delete previous declared variables

export PRPL_LAYOUT_PART_PATH="/dev/disk"                #Path to the partitions

export PRPL_LAYOUT_ROOTFS_ACTIVE="rootfs-active"        #Initially active copy of rootfs (being executed) 
export PRPL_LAYOUT_ROOTFS_INACTIVE="rootfs-inactive"    #Inactive copy of rootfs: backup if rootfs is corrupt or target for writing upgrades 
export PRPL_LAYOUT_ROOTFS_DATA="rootfs_data"            #default openWRT overlayfs partition. SHOULD NOT BE PRESENT ON PRODUCTION 
export PRPL_LAYOUT_UBOOT_1="u-boot-1"                   #Main U-Boot copy
export PRPL_LAYOUT_UBOOT_2="u-boot-2"                   #Second U-Boot copy
export PRPL_LAYOUT_KERNEL_ACTIVE="kernel-active"        #Initially active copy of kernel (being executed)
export PRPL_LAYOUT_KERNEL_INACTIVE="kernel-inactive"    #Initially inactive copy of kernel: backup if kernel is corrupt or target for writing upgrades
export PRPL_LAYOUT_LCM_DATA="lcm_data"                  #Storage for LCM application (OCI images + data)
export PRPL_LAYOUT_SECURESTORE="securestore"            #Store non-volatile configuration
export PRPL_LAYOUT_MFGDATA="mfgdata"                    #Manufacturing data
