[Nexus 9] Can't do: hybris-patches/apply-patches.sh --mb, I get error: the previos rebase directory exists but an mbox was specified
-
Hi everyone,
when I run:hybris-patches/apply-patches.sh --m
I keep on getting this error and don't know how to fix:
the previos rebase directory exists but an mbox was specified
Thanks.
-
@carlo Please provide device info it may help with answers.
-
@lakotaubp I am trying to port a new device, the Nexus 9 (flounder)
-
@carlo
Oh, thanks for the effort.
I'll move this thread to the porting category hoping it will drag attention from the knowledgeable people -
@carlo I have moved your thread to the Porting section (it makes it a bit clearer what you are aiming at). Also maybe think of editing the title to Nexus 9- can't etc for the same reason.
-
@applee Snap.
-
@lakotaubp thanks, will do now. As soon as I understand how to do it XD
-
You a re facing a Git error message. Obviously you called the command earlier already, and it did not finish its job.
run repo sync -j16 and see where it gets stuck, if at all. The android tree has around 400 repos, so I hope its not many, you have to either force-sync them, or go inside each of them and call git am --abort to stop the rebase, before you can do it again.
Never call this apply-patches twice, it will mess up your tree pretty badly -
@carlo Click on the three vetical dots on the right and there should be an edit option. Any problems let us know and we can sort it.
-
@lakotaubp Hi, too mutch time has passed and I can't edit anymore. I don't know if an admin can modify the title now.
-
@flohack said in Can't do: hybris-patches/apply-patches.sh --mb, I get error: the previos rebase directory exists but an mbox was specified:
git am --abort
I did a sync and it got stuck in /bionic because it had not finished last time. I entered the bionic folder and run git am --abort. Then i went in the BUILDDIR folder and rerun repo sync and it seems to have fixed the problem. Thanks a lot!!
-
@carlo
I modified the title for you.
And I'm glad you figured things out.Best of luck