Thank you, Martin.

2013/5/17 Martin Jansa <[email protected]>
>
> >
> > [snip]
> >
> > Now, "git clone --no-checkout --depth 1 git://
> > git.shr-project.org/shr-chroot.git shr-chroot-32bit" works fine. Next,
> > "git checkout 32bit" says: "error: pathspec '32bit' did not match any
> > file(s) known to git." Next,
> > "git checkout --no-track -b 32bit origin/32bit" says: "fatal: git
> checkout:
> > updating paths is incompatible with switching branches.
> > Did you intend to checkout 'origin/32bit' which can not be resolved as
> > commit?"
> >
> > "git branch -a" says
> > * master
> >   remotes/origin/HEAD -> origin/master
> >   remotes/origin/master
>
> Something is wrong with this checkout, there definitely is 32bit branch,
> you should see
>

Am I possibly using an unsupported version of git?
$ git --version
git version 1.7.10.4


>   remotes/origin/32bit
>   remotes/origin/HEAD -> origin/master
>   remotes/origin/master
>   remotes/origin/multilib
>
> can you try to run git remote update in shr-chroot-32bit ?
>

I just did so:

$ git remote update
Fetching origin
remote: Counting objects: 180911, done.
remote: Compressing objects: 100% (83948/83948), done.
remote: Total 180911 (delta 78554), reused 175965 (delta 76575)
Receiving objects: 100% (180911/180911), 1.60 GiB | 325 KiB/s, done.
Resolving deltas: 100% (78554/78554), done.
>From git://git.shr-project.org/shr-chroot
 * [new branch]      32bit      -> origin/32bit
 * [new branch]      multilib   -> origin/multilib
$ git branch -a
* master
  remotes/origin/32bit
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/multilib

So, all in all I did the following steps manually (with no errors)
$ git clone --no-checkout --depth 1 git://git.shr-project.org/shr-chroot.git
 shr-chroot-32bit
$ git remote update
$ git checkout 32bit
Checking out files: 100% (41204/41204), done.
Branch 32bit set up to track remote branch 32bit from origin.
Switched to a new branch '32bit'
$ git reset --hard origin/32bit
HEAD is now at d3a27d4 system rebuilt with gcc-4.7.2
$ sed -i "s#bitbake:x:1026:1026::/OE:/bin/bash#bitbake:x:`id -u`:`id
-g`::/OE:/bin/bash#g" etc/passwd
$ sed -i "s#bitbake:x:1026:bitbake#bitbake:x:`id -g`:bitbake#g" etc/group
$ cd ..
$ mv Makefile shr-chroot-32bit/OE/Makefile
$ touch shr-chroot-32bit/.git/config-32bit

Cheers, Sam
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to