# Get the device type
def get_device_type():
- raw = cmd(f"shell cat /etc/config/model-config.xml | grep tizen.org/system/device_type")
+ raw = cmd(f"shell cat /etc/config/model-config.xml | grep tizen.org/feature/profile")
return raw.split(">")[1].split("<")[0]
# Create the System.Private.CoreLib native image