OpenWrt Forum Archive

Topic: how can i get a specific revision?

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi
I need to clone  this this specific revision (26817).

I have tried to clone from the git repository, but git tag doesn't list anything that match my needs

I have also tried to svn co, but it replies "Can't connect to host 'svn.openwrt.org': Connection refused"

any hint?
thanks

Changeset 26817
Timestamp: 2011-05-04T10:47:00+02:00 (7 years ago) 
Author: acoul
Message: linux/rb532: use kernel and initramfs tags on image generation

It is not a tag (that is only releases)
You need to search manually for that commit in the history.

It is actually this commit 67339c1329562e1afcac13fceb0c6c4f8d8b299f
https://git.openwrt.org/?p=openwrt/open … 4f8d8b299f

https://github.com/openwrt/openwrt/commit/67339c132

So,
git reset --hard 67339c132

But be warned, you are looking for 7-year old ancient stuff. The tools & toolchain of that time are not compatible with the current Linux versions, gcc versions etc. You will need to create virtual machine with Ubuntu 10.4 or something like that, and use that for compilation.

(Last edited by hnyman on 5 Apr 2018, 16:02)

The discussion might have continued from here.