Hi!

I can only offer you some help to get started, but I cannot teach you
how to use your tools, sorry.

Attached is a modified 'galaxy-nexus.xml' that retrieves the correct
repositories. If you do step 1 and copy the resulting file into the
resulting directory, then do steps 3 and 4, you should be able to
complete. I tried this locally, but the build failed with an error. I
guess this hasn't been updated in a while.

Best regards
Thomas

Am 14.10.2015 um 07:57 schrieb Antal Zoltán:
> Hi Thomas,
>
> Thank you very much again for your help. I tried, what you wrote, but
> i failed unfortunately. I have the original galaxy-nexus.xml manifest
> file from the mozilla git repo. I tried edit that. I added the
> "<remote name="caf" fetch="git://codeaurora.org/
> <http://codeaurora.org/>"/>" line to the xml. Unfortunately i did not
> know where i have to put the 'repository="caf"' line.
>
> Then i tried this edited XML save to to my filesystem. I made a folder
> (galaxy-nexus) my root directory and put the edited galaxy-nexus.xml
> manifest file in this folder. I write in my terminal: "git commit -a",
> but unfortunately i got the nest message:
>
> COMMAND: git commit -a
> ANSWER: fatal: Not a git repository (or any parent up to mount point
> /home)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
>
> So i go to the folder where i cloned the original GIT
> (home/myname/firefoxOS/B2G). Here I made a 'galaxy-nexus' folder and
> put in the edited manifest file and write to the terminal:
>
> COMMAND: git commit -a
>
> ANSWER:
>
> /# Please enter the commit message for your changes. Lines starting
> # with '#' will be ignored, and an empty message aborts the commit.
> # On branch master
> # Your branch is up-to-date with 'origin/master'.
> #
> # Changes to be committed:
> #       modified:   config.sh
> #       new file:   galaxy-nexus.xml
> #
> # Untracked files:
> #       .tmp-config
> #       b2g-manifest/
> #       config.sh~
> #/
>
> I saved this (CTRL+O) and exit (CTRL+X), and i tried to edit the
> 'config.sh'. I changed the
> 'GITREPO=${GITREPO:-"git://github.com/mozilla-b2g/b2g-manifest
> <http://github.com/mozilla-b2g/b2g-manifest>"}' line by the
> 'GITREPO=${GITREPO:-"file:///home/myname/firefoxOS/B2G"}'.
>
> Then I write in the terminal
>
> COMMAND: ./config.sh galaxy-nexus
>
> Unfortunately I got the next message.
>
> ANSWER:
> fatal: '/home/myname/firefoxOS/B2G' does not appear to be a git repository
> fatal: Could not read from remote repository.
> Please make sure you have the correct access rights
> and the repository exists.
>
> Help me please. Could you write me please step by step what do i have
> to do? I attached a editless manifest file.
>
> Best regards
> ZOltan
>
>
>
> 2015-10-13 14:55 GMT+02:00 Thomas Zimmermann <[email protected]
> <mailto:[email protected]>>:
>
>     Hi
>
>     this is a bug in the Galaxy Nexus' manifest file. [1] It pulls repos
>     from Linaro, which apparently doesn't have aosp-new/master. I know how
>     to fix it, but I don't know if the result would still build.
>
>     Zoltan, do you know how to modify a manifest file? The rough steps are
>
>       1) 'git clone' the manifest from the repo at [1],
>       2) modify galaxy-nexus.xml in the following way:
>
>         * add the line
>
>             <remote name="caf" fetch="git://codeaurora.org/
>     <http://codeaurora.org/>"/>
>
>           next to the other repo statements
>
>         * add
>
>             repository="caf"
>
>         to the XML tag that clones 'prebuilts/gcc/..."
>
>       3) in the Linux shell set the shell variable GITREPO to the
>     directory
>     with you local modified manifest, and
>
>       4) run config.sh as before.
>
>     That should fix the bug of cloning the repo. I hope that the
>     result builds.
>
>     If you succeed, we could add this change to our repository.
>
>     Best regards
>     Thomas
>
>
>     [1]
>     https://github.com/mozilla-b2g/b2g-manifest/blob/master/galaxy-nexus.xml
>
>     Am 13.10.2015 <tel:13.10.2015> um 14:36 schrieb Chris Mills:
>     > Hi there,
>     >
>     > I’m not sure what the problem is here, so I’ve forwarded your
>     query to
>     > the dev-fxos list, to see if anyone there can help.
>     >
>     > Hi FxOS folks - can you help Zoltan with their query about building
>     > FxOS on their Galaxy Nexus device?
>     >
>     > Best,
>     >
>     > Chris
>     >
>     >> Begin forwarded message:
>     >>
>     >> *From: *Antal Zoltán <[email protected]
>     <mailto:[email protected]> <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >> *Date: *12 October 2015 at 07:13:12 BST
>     >> *To: *[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >> *Subject: **Building FirefoxOS for Galaxy Nexus*
>     >>
>     >> I ask your help. Galaxy Nexus (TIER 3) would like to build Firefox
>     >> OS, but I always get stuck with the following error (fresh Ubuntu
>     >> 14.04, Java 7):
>     >>
>     >> Fetching projects:  98% (85/86)  fatal: Couldn't find remote ref
>     >> refs/heads/aosp-new/master
>     >> Unexpected end of command stream
>     >> error: Cannot fetch
>     >> platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8
>     >>
>     >> I followed all the steps that you wrote on the site, but still
>     I get
>     >> the same error. What could be the problem. Can you help me please?
>     >>
>     >> Best regards
>     >>
>     >> Zoltan Antal
>     >
>     >
>     >
>     > _______________________________________________
>     > dev-fxos mailing list
>     > [email protected] <mailto:[email protected]>
>     > https://lists.mozilla.org/listinfo/dev-fxos
>
>

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <remote name="aosp" fetch="https://android.googlesource.com/"; />
  <remote name="b2g" fetch="git://github.com/mozilla-b2g/" />
  <remote name="linaro" fetch="http://android.git.linaro.org/git-ro/"; />
  <remote name="caf" fetch="git://codeaurora.org/"/>
  <remote name="mozilla" fetch="git://github.com/mozilla/" />
  <remote name="mozillaorg"  fetch="https://git.mozilla.org/releases"; />
  <remote name="apitrace" fetch="git://github.com/apitrace/" />

  <default revision="refs/tags/android-4.0.4_r1.2"
           remote="linaro"
           sync-j="4" />

  <!-- Gonk specific things and forks -->
  <project path="build" name="platform_build" remote="b2g" revision="master">
    <copyfile src="core/root.mk" dest="Makefile" />
  </project>
  <project path="dalvik" name="fake-dalvik" remote="b2g" revision="master" />
  <project path="gaia" name="gaia.git" remote="mozillaorg" revision="master" />
  <project path="gecko" name="gecko.git" remote="mozillaorg" revision="master" />
  <project path="gonk-misc" name="gonk-misc" remote="b2g" revision="master" />
  <project path="rilproxy" name="rilproxy" remote="b2g" revision="master" />
  <project path="external/moztt" name="moztt" remote="b2g" revision="master" />
  <project path="external/apitrace" name="apitrace" remote="apitrace" revision="refs/tags/6.1" />

  <!-- Stock Android things -->
  <project path="abi/cpp" name="platform/abi/cpp" />
  <project path="bionic" name="platform_bionic" remote="b2g" revision="b2g-4.0.4_r2.1" />
  <project path="bootable/recovery" name="platform/bootable/recovery" />
  <project path="device/common" name="device/common" />
  <project path="device/sample" name="device/sample" />
  <project path="external/apriori" name="platform_external_apriori" remote="b2g" revision="master" />
  <project path="external/bluetooth/bluez" name="platform/external/bluetooth/bluez" />
  <project path="external/bluetooth/glib" name="platform/external/bluetooth/glib" />
  <project path="external/bluetooth/hcidump" name="platform/external/bluetooth/hcidump" />
  <project path="external/bsdiff" name="platform/external/bsdiff" />
  <project path="external/busybox" name="platform/external/busybox" remote="linaro" revision="linaro-1.20" />
  <project path="external/bzip2" name="platform/external/bzip2" />
  <project path="external/dbus" name="platform/external/dbus" />
  <project path="external/dhcpcd" name="platform/external/dhcpcd" />
  <project path="external/dnsmasq" name="platform/external/dnsmasq" />
  <project path="external/elfcopy" name="platform_external_elfcopy" remote="b2g" revision="master" />
  <project path="external/elfutils" name="platform_external_elfutils" remote="b2g" revision="master" />
  <project path="external/expat" name="platform/external/expat" />
  <project path="external/fdlibm" name="platform/external/fdlibm" />
  <project path="external/flac" name="platform/external/flac" />
  <project path="external/freetype" name="platform/external/freetype" />
  <project path="external/giflib" name="platform/external/giflib" />
  <project path="external/gtest" name="platform/external/gtest" remote="linaro" revision="8c212ebe53bb2baab3575f03069016f1fb11e449" />
  <project path="external/harfbuzz" name="platform/external/harfbuzz" />
  <project path="external/icu4c" name="platform/external/icu4c" />
  <project path="external/iptables" name="platform/external/iptables" />
  <project path="external/jhead" name="platform/external/jhead" />
  <project path="external/jpeg" name="platform/external/jpeg" />
  <project path="external/libgsm" name="platform/external/libgsm" />
  <project path="external/liblzf" name="platform/external/liblzf" />
  <project path="external/libnfc-nxp" name="platform/external/libnfc-nxp" />
  <project path="external/libnl-headers" name="platform/external/libnl-headers" />
  <project path="external/libpng" name="platform/external/libpng" />
  <project path="external/libvpx" name="platform/external/libvpx" />
  <project path="external/mksh" name="platform/external/mksh" />
  <project path="external/opensans" name="platform_external_opensans" remote="b2g" revision="master" />
  <project path="external/openssl" name="platform/external/openssl" />
  <project path="external/protobuf" name="platform/external/protobuf" />
  <project path="external/safe-iop" name="platform/external/safe-iop" />
  <project path="external/screencap-gonk" name="screencap-gonk" remote="b2g" revision="master" />
  <project path="external/skia" name="platform/external/skia" />
  <project path="external/sonivox" name="platform/external/sonivox" />
  <project path="external/speex" name="platform/external/speex" />
  <project path="external/sqlite" name="platform/external/sqlite" />
  <project path="external/stlport" name="platform/external/stlport" />
  <project path="external/strace" name="platform/external/strace" />
  <project path="external/svox" name="platform/external/svox"/>
  <project path="external/tagsoup" name="platform/external/tagsoup" />
  <project path="external/tinyalsa" name="platform/external/tinyalsa" />
  <project path="external/tremolo" name="platform/external/tremolo" />
  <project path="external/webp" name="platform/external/webp" />
  <project path="external/webrtc" name="platform/external/webrtc" />
  <project path="external/wpa_supplicant" name="platform/external/wpa_supplicant" />
  <project path="external/wpa_supplicant_8" name="platform/external/wpa_supplicant_8" />
  <project path="external/zlib" name="platform/external/zlib" />
  <project path="external/yaffs2" name="platform/external/yaffs2" />
  <project path="frameworks/base" name="platform/frameworks/base" />
  <project path="frameworks/opt/emoji" name="platform/frameworks/opt/emoji" />
  <project path="frameworks/support" name="platform/frameworks/support" />
  <project path="hardware/libhardware" name="platform/hardware/libhardware" />
  <project path="hardware/libhardware_legacy" name="platform/hardware/libhardware_legacy" />
  <project path="hardware/ril" name="platform/hardware/ril" />
  <project path="libcore" name="platform/libcore" />
  <project path="ndk" name="platform/ndk" />
  <project path="prebuilt" name="platform/prebuilt" />
  <project path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" name="platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" remote="caf" revision="aosp-new/master" />
  <project path="system/bluetooth" name="platform/system/bluetooth" />
  <project path="system/core" name="platform/system/core" />
  <project path="system/extras" name="platform/system/extras" />
  <project path="system/media" name="platform/system/media" />
  <project path="system/netd" name="platform/system/netd" />
  <project path="system/vold" name="platform/system/vold" />

  <!-- Galaxy Nexus specific things -->
  <project path="device/samsung/maguro" name="android-device-maguro" remote="b2g" revision="master" />
  <project path="device/samsung/tuna" name="android-device-tuna" remote="b2g" revision="master" />
  <project path="device/ti/panda" name="device/ti/panda" />
  <project path="hardware/invensense" name="platform/hardware/invensense" />
  <project path="hardware/ti/omap4xxx" name="platform/hardware/ti/omap4xxx" />
  <project path="hardware/broadcom/wlan" name="platform/hardware/broadcom/wlan" />

</manifest>
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to