FORUMS
Remove All Ads from XDA
Win Honor 9 Lite

[Q] adding branch tag to local_manifest.xml

13 posts
Thanks Meter: 7
 
By Esgariot, Junior Member on 20th March 2018, 07:52 PM
Post Reply Email Thread
Hi everyone,

I'd like to build Resurrection Remix ROM for unsupported device (unofficial build). So I followed some tutorials, synced some repos and got stuck on this part:
when building for treltexx it says
Code:
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist.  Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist.  Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist.  Stop.
Device treltexx not found. Attempting to retrieve device repository from lineageos Github (http://github.com/LineageOS).
Found repository: android_device_samsung_treltexx
Default revision: cm-14.1
Checking branch info
Default revision cm-14.1 not found in android_device_samsung_treltexx. Bailing.
Branches found:
cm-12.1
cm-13.0-precommon
cm-13.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist.  Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/treltexx/lineage.mk]]: "device/samsung/trelte-common/device-common.mk" does not exist.  Stop.

** Don't have a product spec for: 'lineage_treltexx'
** Do you have the right repo manifest?
despite my local_manifest.xml looking like this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
        <remote name="githubRemote" fetch="https://github.com/" />
        <project name="bonuzzz/android_device_samsung_treltexx" path="device/samsung/treltexx" remote="githubRemote" revision="cm-14.1" />
</manifest>
but this setting is not being picked up. So I tried to remove existing android_device_samsung_treltexx reference by adding
Code:
<remove-project name="LineageOS/android_device_samsung_treltexx"/>
but it results in error saying that there is no entry for "LineageOS/android_device_samsung_treltexx", which is true, because it's not present in default manifest.xml

I get that it tries to look for branch cm-14.1 in LineageOS/android_device_samsung_treltexx repo and that branch does not exist.
So my question is how to tell breakfast to look for cm-14.1 branch of device in other project entry - one from my roomservice.xml/local_manifest.xml?
Or how to delete reference to LineageOS/android_device_samsung_treltexx?

EDIT
Looks like there are other problems with missing references in my build method, will need to fix them before coming back to this.
 
 
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes