Adding "Features" with menuconfig doesn't work

Hallo together,

I would like to make a own package and installed a clean Debain 9 OS and did all what in Quick Image Building Guide stands.

I can open the "make menuconfig" comand and select (for example and testing)"htop" and "zabbix agentd" with <*>
When I save the config, build the image and cope it to my TP-LINK TL-WR1043ND(EU) v4 these packages aren't there.

Can somebody please help me what I need to do?



Sounds strange, are you sure you saved the changes?
Check your .config file and search for "htop" the line should not have a "#". In the bin/packages directory there should also be a file named "htop" in the packages dir, after you run make.

Hi Andy2244,
yes I'm sure... I did a grep to the .config file. Look:

user@BuildDebian:~/lede$ cat .config |grep htop

user@BuildDebian:~/lede$ cat .config |grep zabbix
# zabbix
# CONFIG_PACKAGE_zabbix-extra-mac80211 is not set
# CONFIG_PACKAGE_zabbix-extra-network is not set
# CONFIG_PACKAGE_zabbix-extra-wifi is not set
# CONFIG_PACKAGE_zabbix-get is not set
# CONFIG_PACKAGE_zabbix-proxy is not set
# CONFIG_PACKAGE_zabbix-sender is not set
# CONFIG_PACKAGE_zabbix-server is not set

Where do you mean bin/packages? On the building server or on the builded image?
On the building server:

    user@BuildDebian:~/lede$ ls -l bin/packages/mips_24kc/packages/
    insgesamt 180
    -rw-r--r-- 1 user user  49212 Feb  5 08:22 htop_2.0.2-1_mips_24kc.ipk
    -rw-r--r-- 1 user user    742 Feb  5 10:32 Packages
    -rw-r--r-- 1 user user    433 Feb  5 10:32 Packages.gz
    -rw-r--r-- 1 user user   1014 Feb  5 10:32 Packages.manifest
    -rw-r--r-- 1 user user    151 Feb  5 10:32 Packages.sig
    -rw-r--r-- 1 user user 112747 Feb  5 08:25 zabbix-agentd_3.2.7-2_mips_24kc.ipk

On the builded image i only got /bin/ and then there are the files ash, busybox, cat etc...

htop gets installed to /usr/bin and zabbix-agentd to /usr/bin and /usr/sbin.
Did you check for them there?
Another way to check if they are installed is to see if the configurations are in /etc

Hi VincentR,

i checked /usr/bin and /usr/sbin for both files. Nothing there. Even no config files in /etc

Am I flashing a wrong file? (I always flash via bootloader and not via WEB GUI)

05-02-2018 12-03-43

in /home/user/lede/bin/targets/ar71xx/generic/packages is no htop or zabbix package.

In /home/user/lede/bin/packages/mips_24kc/packages there are both.

Here is the output from make command:

user@BuildDebian:~/lede$ make
WARNING: Makefile 'package/feeds/telephony/freeswitch/Makefile' has a dependency on 'flite', which does not exist
 make[1] world
 make[2] tools/compile
 make[3] -C tools/flock compile
 make[3] -C tools/sed compile
 make[3] -C tools/patch compile
 make[3] -C tools/xz compile
 make[3] -C tools/tar compile
 make[3] -C tools/m4 compile
 make[3] -C tools/autoconf compile
 make[3] -C tools/pkg-config compile
 make[3] -C tools/automake compile
 make[3] -C tools/missing-macros compile
 make[3] -C tools/libtool compile
 make[3] -C tools/gmp compile
 make[3] -C tools/mpfr compile
 make[3] -C tools/mpc compile
 make[3] -C tools/libelf compile
 make[3] -C tools/expat compile
 make[3] -C tools/flex compile
 make[3] -C tools/bison compile
 make[3] -C tools/mklibs compile
 make[3] -C tools/sstrip compile
 make[3] -C tools/make-ext4fs compile
 make[3] -C tools/e2fsprogs compile
 make[3] -C tools/mtd-utils compile
 make[3] -C tools/libressl compile
 make[3] -C tools/mkimage compile
 make[3] -C tools/firmware-utils compile
 make[3] -C tools/patch-image compile
 make[3] -C tools/findutils compile
 make[3] -C tools/quilt compile
 make[3] -C tools/padjffs2 compile
 make[3] -C tools/mm-macros compile
 make[3] -C tools/cmake compile
 make[3] -C tools/scons compile
 make[3] -C tools/bc compile
 make[3] -C tools/gengetopt compile
 make[3] -C tools/patchelf compile
 make[3] -C tools/mtools compile
 make[3] -C tools/dosfstools compile
 make[3] -C tools/lzma-old compile
 make[3] -C tools/squashfs compile
 make[3] -C tools/lzma compile
 make[3] -C tools/squashfs4 compile
 make[2] target/compile
 make[3] -C target/linux compile
 make[2] diffconfig
 make[2] package/cleanup
 make[2] package/compile
 make[3] -C package/libs/libubox host-compile
 make[3] -C package/system/opkg host-compile
 make[3] -C package/libs/toolchain compile
 make[3] -C package/libs/libnl-tiny compile
 make[3] -C package/libs/libjson-c compile
 make[3] -C package/utils/lua compile
 make[3] -C package/libs/libubox compile
 make[3] -C package/system/ubus compile
 make[3] -C package/system/uci compile
 make[3] -C package/network/config/netifd compile
 make[3] -C package/firmware/linux-firmware compile
 make[3] -C package/firmware/prism54-firmware compile
 make[3] -C package/kernel/linux compile
 make[3] -C package/system/ubox compile
 make[3] -C package/libs/ncurses host-compile
 make[3] -C package/libs/zlib compile
 make[3] -C package/libs/ncurses compile
 make[3] -C package/utils/util-linux compile
 make[3] -C package/system/fstools compile
 make[3] -C package/system/fwtool host-compile
 make[3] -C package/system/fwtool compile
 make[3] -C package/system/procd compile
 make[3] -C package/system/usign host-compile
 make[3] -C package/utils/jsonfilter compile
 make[3] -C package/system/lede-keyring compile
 make[3] -C package/system/usign compile
 make[3] -C package/base-files compile
 make[3] -C package/boot/uboot-envtools compile
 make[3] -C feeds/packages/admin/htop compile
 make[3] -C package/libs/readline compile
 make[3] -C feeds/packages/libs/sqlite3 compile
 make[3] -C package/network/utils/iwinfo compile
 make[3] -C package/libs/gettext compile
 make[3] -C package/libs/libiconv compile
 make[3] -C feeds/packages/admin/zabbix compile
 make[3] -C package/firmware/wireless-regdb compile
 make[3] -C package/kernel/gpio-button-hotplug compile
 make[3] -C package/firmware/b43legacy-firmware compile
 make[3] -C package/network/services/hostapd compile
 make[3] -C package/network/utils/iw compile
 make[3] -C package/kernel/mac80211 compile
 make[3] -C package/libs/mbedtls compile
 make[3] -C package/libs/ustream-ssl compile
 make[3] -C package/libs/uclient compile
 make[3] -C package/network/utils/iptables compile
 make[3] -C package/network/config/firewall compile
 make[3] -C package/network/config/swconfig compile
 make[3] -C package/network/ipv6/odhcp6c compile
 make[3] -C package/network/services/dnsmasq compile
 make[3] -C package/network/services/dropbear compile
 make[3] -C package/network/services/odhcpd compile
 make[3] -C package/libs/libpcap compile
 make[3] -C package/network/utils/linux-atm compile
 make[3] -C package/network/utils/resolveip compile
 make[3] -C package/network/services/ppp compile
 make[3] -C package/system/mtd compile
 make[3] -C package/system/opkg compile
 make[3] -C package/utils/busybox compile
 make[2] package/install
 make[2] target/install
 make[3] -C target/linux install

 make[2] package/index
 make[2] checksum

Am I doing something wrong?

mhh looks all normal to me, the package was build via make and shows up under packages, if you selected it via<*> it should be packaged with the .bin. Maybe try a sysupgrade, which is what you should use if you already have openwrt running on it. The factory is only for the first time upgrade.

You can also try build the exact same image with and without htop, what we would expect is the size of the two images should change by the size of the htop_2.0.2-1_mips_24kc.ipk package.

Other than that all seems normal to me, except that i haven't used the factory upgrade in ages, but as far as i understand it should contain the same packages.

Okay... now I've got a very funny thing...
I make the image with htop and zabbix_agentd and now I havn't flashed it via "Bootloader". Now I flashed it with the LuCi WebGUI Firmware Upgrade.
Now the device got as Wireless SSID "OpenWRT" and there is luci issing.
But now I've got zabbix_agentd and htop....
I'm going to make a new image with LucI interface....

Reporting soon....

Okay... Now I can tell the following:
I compiled a image for my TP-LINK TL-WR1043ND(EU) v4 with LuCi and luci-ssl-openssl.

Factory:    4 796 041
Sysuprade:  4 980 740
Difference:   184 699

When I copy the factory then SSID is LEDE, LuCi is installed but not luci-ssl-openssl.
When I install the sysupgrade then the SSID is OpenWRT and LuCi and luci-ssl-openssl is installed.

Exactliy the same when I choose LuCi, htop, zabbix_agentd

Factory:    4 664 969
Sysuprade:  4 849 668
Difference:   184 699

Is this intended?

Like noted, i have not used any factory image for years. So i'm not even sure if they are supposed to be 100% identically, also keep in mind lede merged back with openwrt a few months ago. So having some mixed lede/openwrt naming is to-be expected.

Maybe try a clean clone again using ?
You can also try join the lede irc dev channel and ask some questions, but don't expect a immediate response. As tip use the trial via irccloud for a painless irc setup, that stays connected.