Well. Almost done. Image created.
Tried with stable release image builder.
First, i got a error:
Unknown package 'wpad-basic'.
...
Collected errors:
- opkg_install_cmd: Cannot install package wpad-basic.
make[2]: *** [Makefile:153: package_install] Error 255
make[1]: *** [Makefile:114: _call_image] Error 2
make: *** [Makefile:193: image] Error 2
Then i tried the wpad package (wich is bigger), and worked fine. Image created:
3932160 openwrt-18.06.8-ar71xx-tiny-tl-wr741nd-v4-squashfs-factory.bin
3407876 openwrt-18.06.8-ar71xx-tiny-tl-wr741nd-v4-squashfs-sysupgrade.bin
Why did it refuse to use wpad-basic if the package exist?
I will need to flash from command line (i don't have Luci now). Is it safe to flash this way a custom image? Or should i first flash a version and then flash the custom image with Luci?
And the
1 million
question:
Since it's created, is it safe to use? Of could i brick the device? I'm afraid after lots of tries.
The final "version" of make was:
make image PROFILE=tl-wr741-v4 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base -luci-app-firewall luci-mod-admin-full luci-theme-bootstrap -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd -iptables -odhcpd-ipv6only -wpad-mini -wpad-basic-wolfssl -dnsmasq -firewall -kmod-ipt-conntrack -kmod-ipt-core -kmod-ipt-nat -kmod-ipt-offload -dnsmasq -firewall -kmod-nf-conntrack -kmod-nf-conntrack6 -kmod-nf-flow -kmod-nf-ipt -kmod-nf-nat -kmod-nf-reject -ca-bundle -libwolfssl24 wpad"
The manifest:
base-files - 194.3-r7989-82fbd85747
busybox - 1.28.4-3
dropbear - 2017.75-7.1
fstools - 2019-03-28-ff1ded63-5
fwtool - 1
hostapd-common - 2018-05-21-62566bc2-8
iw-full - 4.14-1
jshn - 2018-07-25-c83a84af-5
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.9.214-1-db2d5425c674d1648616e3c37760e80e
kmod-ath - 4.9.214+2017-11-01-10
kmod-ath9k - 4.9.214+2017-11-01-10
kmod-ath9k-common - 4.9.214+2017-11-01-10
kmod-cfg80211 - 4.9.214+2017-11-01-10
kmod-gpio-button-hotplug - 4.9.214-2
kmod-mac80211 - 4.9.214+2017-11-01-10
libblobmsg-json - 2018-07-25-c83a84af-5
libc - 1.1.19-2
libgcc - 7.3.0-2
libiwinfo - 2018-07-31-65b8333f-1
libiwinfo-lua - 2018-07-31-65b8333f-1
libjson-c - 0.12.1-2.1
libjson-script - 2018-07-25-c83a84af-5
liblua - 5.1.5-2
liblucihttp - 2019-07-05-a34a17d5-1
liblucihttp-lua - 2019-07-05-a34a17d5-1
libnl-tiny - 0.1-5
libpthread - 1.1.19-2
libubox - 2018-07-25-c83a84af-5
libubus - 2018-10-06-221ce7e7-1
libubus-lua - 2018-10-06-221ce7e7-1
libuci - 2019-05-17-f199b961-1
libuclient - 2018-11-24-3ba74ebc-1
logd - 2018-02-14-128bc35f-2
lua - 5.1.5-2
luci-base - git-20.272.49300-479154e-1
luci-lib-ip - git-20.272.49300-479154e-1
luci-lib-jsonc - git-20.272.49300-479154e-1
luci-lib-nixio - git-20.272.49300-479154e-1
luci-mod-admin-full - git-20.272.49300-479154e-1
luci-theme-bootstrap - git-20.272.49300-479154e-1
mtd - 23
netifd - 2019-01-31-a2aba5c7-2.1
openwrt-keyring - 2018-05-18-103a32e9-1
opkg - 2020-01-25-c09fe209-1
procd - 2018-03-28-dfb68f85-1
rpcd - 2020-05-26-7be1f171-1
swconfig - 11
uboot-envtools - 2018.03-1
ubox - 2018-02-14-128bc35f-2
ubus - 2018-10-06-221ce7e7-1
ubusd - 2018-10-06-221ce7e7-1
uci - 2019-05-17-f199b961-1
uclient-fetch - 2018-11-24-3ba74ebc-1
uhttpd - 2020-02-12-2ee323c0-1
uhttpd-mod-ubus - 2020-02-12-2ee323c0-1
usign - 2020-05-23-f1f65026-1
wireless-regdb - 2017-10-20-4343d359
wpad - 2018-05-21-62566bc2-8
I ended up enjoying doing this. I'm a bit old to this, with few time available, but i really enjoyed. Will enjoy more if it works. But if i brick devices, will no be that fun. 
Just a curious thing. I have a WR7141-v4 and a WR841-v8. So, i made 2 images, changing only the PROFILE. They got exactly the same size, but different hashes.
b27ce9165eafdf578ded2fa9f63776c0173565d788437a55eedab67e5b74b62a openwrt-18.06.8-ar71xx-tiny-tl-wr741nd-v4-squashfs-sysupgrade.bin
5d28f5bf39fd0c8c8e2b7ab08c9005101174fbf71fdcd75d6717cf77e6b8688a openwrt-18.06.8-ar71xx-tiny-tl-wr841-v8-squashfs-sysupgrade.bin
3407876 openwrt-18.06.8-ar71xx-tiny-tl-wr741nd-v4-squashfs-sysupgrade.bin
3407876 openwrt-18.06.8-ar71xx-tiny-tl-wr841-v8-squashfs-sysupgrade.bin