Closed Bug 775052 Opened 12 years ago Closed 12 years ago

Build system uses incorrect path for adb when flashing Gaia on Galaxy S II; flashing fails

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gerv, Unassigned)

Details

This is on a B2G trunk build made from a pull done last night (17th July).

$ ./flash.sh gaia

...

Done
Generating extensions...
Done
Profile Ready: please run [b2g|firefox] -profile /usr/src/b2g/gaia/profile
out/host/linux-x86/bin/adb start-server
/bin/bash: out/host/linux-x86/bin/adb: No such file or directory
make: *** [install-gaia] Error 127
make: Leaving directory `/usr/src/b2g/gaia'
make: Entering directory `/usr/src/b2g/gaia'
out/host/linux-x86/bin/adb shell 'if test -d /sdcard/Pictures; then mv /sdcard/Pictures /sdcard/DCIM; fi'
/bin/bash: out/host/linux-x86/bin/adb: No such file or directory
make: *** [install-media-samples] Error 127
make: Leaving directory `/usr/src/b2g/gaia'
gerv@mink:/usr/src/b2g$ 

Doing a:
$ ln -s /usr/src/b2g/out/host/linux-x86/bin/adb gaia/out/host/linux-x86/bin/adb
leads to success. So it looks like the script is simply looking for adb in the wrong place.

Gerv
I think it's better to file a github issue in this case.
https://github.com/mozilla-b2g/B2G
Actually this seems to be a gaia issue:
https://github.com/mozilla-b2g/gaia
I think you can close this bug, I've flashed B2G to SGS2 yesterday without any problems. Worked from the first try.
OK.

Gerv
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.