[solved] Build updated firmware!

dear all, is it possible to get help on how to build an updated firmware, actually i build successfully a 17.01.4 version on ubuntu 16.04 X64 by doing :
-git clone https://git.lede-project.org/source.git lede
-cd lede
-git tag
-git checkout v17.01.4
-./scripts/feeds update -a
-./scripts/feeds install -a
-make menuconfig /(selecting router & additional app...)
==> when i flash my router everything work successfully but when i do opkg update then opkg list-upgradable, i get around 20 app not updated !
so is there a way to generate a firmware with updated app.
Thanks.

Instead of building from the fixed release tag 17.01.4, you should build just from the HEAD of the 17.01 to get all the fixes made to the 17.01 branch after the 17.01.4 release. The will also help you in getting updated packages into the image.

git checkout lede-17.01

Explanation:

Checking out the tag causes your build package feeds to get locked into fixed commits (in order to make the release builds reproducible). See the release commit of 17.01.4 and note how feeds get locked into specific commit hashes.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=444add156f2a6d92fc15005c5ade2208a978966c

-src-git packages https://git.lede-project.org/feed/packages.git;lede-17.01
-src-git luci https://git.lede-project.org/project/luci.git;lede-17.01
...
+src-git packages https://git.lede-project.org/feed/packages.git^cd5c448758f30868770b9ebf8b656c1a4211a240
+src-git luci https://git.lede-project.org/project/luci.git^d3f0685d63c1291359dc5dd089c82fa1e150e0c6

In a live router, your opkg update checking settings will point out to the head of the package feeds, so you see updated packages as upgreadable.

By building from the non-locked branch HEAD you would get those into your build in a straightforward way.

1 Like

@hnyman special Thanks it works successfully :slight_smile:

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.