Hi,

I'm trying to get toaster working but use my local poky checkout, the
reason for this is that I have to patch it to fix an outstanding issue with
debian packaging. So I check it out to a directory, checkout the fido
branch and then patch it.  I've been trying various stuff in my toaster
json file with no success, I'm not really sure what I should put in the
vcs_url, I've tried remote:origin, master, HEAD and origin with no joy.
I've included the json file at the end of this email.

The error message I get when trying to run a build is:

2015-12-14 11:23:24,617 DEBUG localhostbecontroller, our git repos are
{(u'', u'HEAD'): [('bitbake', u'bitbake')],
 (u'master', u'HEAD'): [(u'meta-poweroasis-bsp', u'meta-poweroasis-bsp'),
                        (u'meta-bia-distro', u'meta-bia-distro'),
                        (u'meta-poweroasis', u'meta-poweroasis')],
 (u'origin', u'HEAD'): [(u'openembedded-core', u'meta'),
                        (u'meta-yocto', u'meta-yocto'),
                        (u'meta-yocto-bsp', u'meta-yocto-bsp')]}
2015-12-14 11:23:24,617 DEBUG lbc_shellcmmd: (/var/www/bia/toaster/build)
git remote -v
2015-12-14 11:23:24,621 WARNING localhostbecontroller: shellcmd error
command: git remote -v
fatal: Not a git repository (or any of the parent directories): .git

2015-12-14 11:23:24,622 INFO Using pre-checked out source for layer {}
2015-12-14 11:23:24,622 DEBUG localhostbecontroller: giturl master:HEAD
checking out in current directory /var/www/bia/toaster/poky
2015-12-14 11:23:24,622 DEBUG lbc_shellcmmd: (/var/www/bia/toaster/poky)
git remote -v
2015-12-14 11:23:24,628 DEBUG localhostbecontroller: shellcmd success
Traceback (most recent call last):
  File
"/var/www/bia/toaster/poky/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py",
line 60, in schedule
    bec.triggerBuild(br.brbitbake_set.all(), br.brlayer_set.all(),
br.brvariable_set.all(), br.brtarget_set.all())
  File
"/var/www/bia/toaster/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py",
line 282, in triggerBuild
    self.setLayers(bitbake, layers, targets)
  File
"/var/www/bia/toaster/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py",
line 176, in setLayers
    raise BuildSetupException("Existing git repository at %s, but with
different remotes ('%s', expected '%s'). Toaster will not continue out of
fear of damaging something." % (localdirname, ",
".join(localremotes.split("\n")), giturl))
BuildSetupException: Existing git repository at /var/www/bia/toaster/poky,
but with different remotes ('origin    git://git.yoctoproject.org/poky
(fetch), origin    git://git.yoctoproject.org/poky (push), ', expected
'master'). Toaster will not continue out of fear of damaging something.

Any help is appreciated,
Martin.


{
    "config": {
        "MACHINE"      : "am43-devboard-aquila",
        "DISTRO"       : "bia",
        "IMAGE_FSTYPES": "ubi tar.bz2",
        "IMAGE_INSTALL_append": "",
        "PACKAGE_CLASSES": "package_deb",
        "SDKMACHINE"   : "x86_64"
    },
    "layersources": [
        {
            "name": "Local Yocto Project",
            "sourcetype": "local",
            "apiurl": "/var/www/bia/yocto/poky",
            "branches": ["fido"],
            "layers": [
                {
                    "name": "openembedded-core",
                    "local_path": "meta",
                    "vcs_url": "origin:fido",
                    "dirpath": "meta"
                },
                {
                    "name": "meta-yocto",
                    "local_path": "meta-yocto",
                    "vcs_url": "origin:fido",
                    "dirpath": "meta-yocto"
                },
                {
                    "name": "meta-yocto-bsp",
                    "local_path": "meta-yocto-bsp",
                    "vcs_url": "origin:fido",
                    "dirpath": "meta-yocto-bsp"
                }
            ]
        },
        {
            "name": "PowerOasis Yocto",
            "sourcetype": "local",
            "apiurl": "/var/www/bia/yocto/poweroasis",
            "branches": ["HEAD", "master"],
            "layers": [
                {
                    "name": "meta-poweroasis-bsp",
                    "local_path": "meta-poweroasis-bsp",
                    "vcs_url": "master",
                    "dirpath": "meta-poweroasis-bsp"
                },
                {
                    "name": "meta-bia-distro",
                    "local_path": "meta-bia-distro",
                    "vcs_url": "master",
                    "dirpath": "meta-bia-distro"
                },
                {
                    "name": "meta-poweroasis",
                    "local_path": "meta-poweroasis",
                    "vcs_url": "master",
                    "dirpath": "meta-poweroasis"
                }
            ]
        },
        {
            "name": "OpenEmbedded",
            "sourcetype": "layerindex",
            "apiurl": "http://layers.openembedded.org/layerindex/api/";,
            "branches": ["master", "jethro" ,"fido"]
        },
        {
            "name": "meta-ti",
            "sourcetype": "layerindex",
            "apiurl": "
http://layers.openembedded.org/layerindex/branch/master/layer/meta-ti/";,
            "branches": ["master", "jethro","fido"]
        }
    ],
    "bitbake" : [
        {
            "name": "master",
            "giturl": "fido",
            "branch": "master",
            "dirpath": "bitbake"
        },
        {
            "name": "HEAD",
            "giturl": "fido",
            "branch": "HEAD",
            "dirpath": "bitbake"
        }
    ],

    "defaultrelease": "local",

    "releases": [
        {
            "name": "local",
            "description": "Local Yocto Project",
            "bitbake": "HEAD",
            "branch": "HEAD",
            "defaultlayers": [ "openembedded-core", "meta-yocto",
"meta-yocto-bsp", "meta-ti", "meta-poweroasis-bsp", "meta-bia-distro",
"meta-poweroasis" ],
            "layersourcepriority": { "meta-ti": 99, "Local Yocto Project" :
9, "PowerOasis Yocto": 10, "OpenEmbedded" : 0 },
            "helptext": "Toaster will run your builds with the version of
the Yocto Project you have cloned or downloaded to your computer."
        }
    ]
}
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to