Hi Fil,
I only read the first part of your mail, sorry. To continue on from what I put
...
> cd ${REPLICANTDIR} # ReplicantBuilds-i9300/replicant-6.0
> mkdir -p mirror
> ./reapz-download reconstructmirror manifest/default.xml mirror
> # should work if the manifest do not contains directories with same
> name ./reapz-download reconstructmirror
> manifest/snippets/hal_cm_all.xml mirror
This command should have worked but doesn't work well for some reason.
I updated reapz-download command. It should be something like
replicantsourcedir="${PWD}/replicant-6.0"
cd "${replicantsourcedir}" #this is the directory containing the manifest
directory and the directory we will put the source-code/replicant-tree into
mkdir -p ../mirror #this is the directory containing the mirror tar.gz files
./reapz-download reconstructmirror manifest/default.xml ../mirror #command 1 to
download the tar.gz files from git.replicant.us and software heritage
>
> mkdir -p output
> ./reapz-download processsources manifest/default.xml output
This is nearly correct but it should be something like
./reapz-download processsources manifest/default.xml ../mirror
"${replicantsourcedir}" #command 2 to process the sources from bare git to
working git in the replicant-6.0 directory
> ```
> I do not remember where `repo sync` put data but we should probably
> move output somewhere else (perhaps ${REPLICANTDIR}) to make it work
> with the already existing instructions.
The ReplicantBuilds git will need updating at some point. I will probably do
this when I manage to compile a system.img (I am in the process of building
one).
>
> 2 suggestionss:
> * this repo could help to download SFH repo :
> https://radicle.network/nodes/iris.radicle.network/rad%3Az2qhkFb9wS7ebXwxWFBB95uTxPvKa
> * reapz-download could get .sh extension since it's shell
The code I wrote inside reapz-download already does similar to git-clone-swh
but does it internally within the script.
>
> - Fil Lupin.
>
Josh
> On Monday, July 13th, 2026 at 5:34 PM, J05HYYY via Replicant
> <[email protected]> wrote:
>
> > I think I've found out why this is ...
> >
> > There is another manifest here:
> >
> > https://git.replicant.us/replicant/manifest/tree/snippets/hal_cm_all.xml
> >
> > which contains the required line
> >
> > <project path="vendor/qcom/opensource/dpm"
> > name="mirrors/LineageOS/android_vendor_qcom_opensource_dpm.git" />
> >
> > So if using reapz-download.sh to download sources, you will also
> > have to download the sources from this manifest snippet too and run
> > processsources on it in addition to default.xml
> >
> > So I answered my own question :---)
> >
> > Josh
> >
> > > Hi,
> > >
> > > I managed to build a boot image and recovery image for
> > > replicant-6.0-0004 but I am unable to build system image because
> > > tcmiface library is missing which is required by
> > > android_external_okhttp
> > >
> > > https://git.replicant.us/mirrors/LineageOS/android_external_okhttp/tree/Android.mk
> > >
> > > I don't know how to fix the error.
> > >
> > > I used the shell proggy I wrote to download the sources. It seems
> > > repo sync times out a lot easier than "git clone". You will
> > > notice that the download speed often drops into the Kbps rather
> > > than Mbps.
> > >
> > > Josh
> > >
> > >
> > > * previously sent from wrong account in error
> >
> > _______________________________________________
> > Replicant mailing list
> > [email protected]
> > https://lists.osuosl.org/mailman/listinfo/replicant
> >
> _______________________________________________
> Replicant mailing list
> [email protected]
> https://lists.osuosl.org/mailman/listinfo/replicant
_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant