Hi the experts,
I'm a beginner, and I want to build the openwrt's image by myself.
Then, I download the source files according to the web link "https://openwrt.org/docs/guide-developer/quickstart-build-images" successfully. But one thing confuses me, it is the version of the source files, could you give some details or how could I find the version when the image isn't downloaded into the devices? I guess it may be the latest development version, right?
Seems like it is:
# git ls-remote -h git://git.openwrt.org/openwrt/openwrt.git/
# git ls-remote git://git.openwrt.org/openwrt/openwrt.git/ HEAD
# git ls-remote -h git://git.openwrt.org/openwrt/openwrt.git/ | grep 5efd080e20f83556c0e3acb4d9c56673ec577d27
I use the git commit refs myself.
The "printed" version is generated by
./scripts/getver.sh in the build system.
getver.sh sometimes will get you the commit from the printed version if supplied as an argument.
jeff@deb-devel:~/devel/openwrt$ ./scripts/getver.sh r7986+3-dc9388ac55
jeff@deb-devel:~/devel/openwrt$ git log -1 --pretty=oneline
fc8e64da482334beda9e3280fe5c0f45f18d9335 (HEAD -> ath79-jmk-devel) Capture build details in /build-info
Thanks，it's been confirmed. The default version is the latest development version.
Thank you so much, Jeff.
The way you provides for checking the version is very useful.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.