Compiling OpenWrt - package changes not effected

I follow this instruction https://openwrt.org/docs/guide-user/additional-software/imagebuilder
every things works without any problem and my packages installed .
when I chenged the PACKEGES option for the second time , the result was the same! it looks like that the new PACKAGES option settings Ignores by the compiler!
I did "make clean" but nothing changed.
my first make command :

**make image PROFILE=tl-wr740n-v4 PACKAGE="-libiwinfo-lua -liblua -libubus-lua -libuci-lua -lua -luci -luci-app-firewall -luci-base -luci-lib-ip -luci-lib-nixio -luci-mod-admin-full -luci-proto-ipv6 -luci-proto-ppp -luci-theme-bootstrap -uhttpd -uhttpd-mod-ubus -ip6tables -odhcpd-ipv6only -kmod-ipv6 -ppp -ppp-mod-pppoe "**

second make command :

**make image PROFILE=tl-wr740n-v4 PACKAGE="-libiwinfo-lua -liblua -libubus-lua -libuci-lua -lua -luci -luci-app-firewall -luci-base -luci-lib-ip -luci-lib-nixio -luci-mod-admin-full -luci-proto-ipv6 -luci-proto-ppp -luci-theme-bootstrap -uhttpd -uhttpd-mod-ubus -ip6tables -odhcpd-ipv6only -kmod-ipv6 -ppp -ppp-mod-pppoe nodogsplash kmod-ipt-ipopt iptables-mod-ipopt libgpg-error"**


i tried compile without PACKAGES option (default packages)
my host : LINUX UBUNTU 17 X64

Long list there, but it looks like you might be trying to cram nodogsplash onto a 4 MB device. If so, did you check to see if a new image was actually built the second time or if it failed and you’re just seeing the former build?

Try rabbit ears on the profile

PROFILE="tl-wr740n-v4"

Then to make sure nothing is mispelt etc

Run

> make info

Use those lists... to begin with e.g.

Default Packages: base-files libc libgcc busybox dropbear mtd ......... etc ...... etc....
TP-LINK Archer C9 V1
    Packages: kmod-usb-ohci kmod-usb2 kmod-phy-bcm-ns-usb2 ........... etc. etc.

just adding a "-" if needed..... or remove if keeping, this way your 100 percent sure of relevance / speeling.

If you need to add names..... make sure your guide is not too dated....

So in the end something like

make image PROFILE="${DEVICE}" PACKAGES="luci lsof vim-full openvpn-openssl bash kmod-usb-storage block-mount kmod-fs-ext4 e2fsprogs luci-app-sqm sqm-scripts-extra -ppp" FILES=files/

It's PACKAGES, not PACKAGE.

2 Likes

omg!! what a silly mistake , thank you !
It takes me all day ...

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