Missing packages when building Custom Firmware



  • I'm trying to build custom firmware 23.05.3 inside docker container like described here: https://documentation.onioniot.com/firmware/how-to-build-firmware. Everything works fine except that packages are missing: kmod-p44-ledchain and python3-simplejson. simplejson was removed and integrated json is used now, i think. But what about kmod-p44-ledchain?

    i get:
    Unknown package 'kmod-p44-ledchain'.

    Without p44-ledchain building is successful of course. After building firmware without p44-ledchain i can install it with:
    opkg update
    opkg install kmod-p44-ledchain

    Any ideas on that?

    EDIT:
    Looks like somehow kmod-p44-ledchain is missing inside the bom at http://downloads.onioniot.com/releases/23.05.3/targets/ramips/mt76x8/packages/ , but i'm not sure im not an expert with this stuff ;-).



  • @DocHardinger You can add the required feed to feeds.conf.default, just add a new line:

    src-git p44 https://github.com/plan44/plan44-feed.git

    Then run:

    scripts/feeds update -a
    scripts/feeds install -a



  • @crispyoz said in Missing packages when building Custom Firmware:

    src-git p44 https://github.com/plan44/plan44-feed.git

    Hmm i got no file feeds.conf.default , so i added it inside openwrt-imagebuilder-wrapper/openwrt-imagebuilder and run your commands. But then i get the following output:

    root@9b0c09bef24f:~/openwrt-imagebuilder-wrapper/openwrt-imagebuilder# touch feeds.conf.default
    root@9b0c09bef24f:~/openwrt-imagebuilder-wrapper/openwrt-imagebuilder# scripts/feeds update -a
    Updating feed 'p44' from 'https://github.com/plan44/plan44-feed.git' ...
    Cloning into './feeds/p44'...
    remote: Enumerating objects: 1211, done.
    remote: Counting objects: 100% (1211/1211), done.
    remote: Compressing objects: 100% (889/889), done.
    remote: Total 1211 (delta 371), reused 907 (delta 186), pack-reused 0 (from 0)
    Receiving objects: 100% (1211/1211), 2.46 MiB | 8.60 MiB/s, done.
    Resolving deltas: 100% (371/371), done.
    Create index file './feeds/p44.index' 
    gmake: *** No rule to make target 'prepare-mk'.  Stop.
    Collecting package info: done
    Collecting target info: done
    root@9b0c09bef24f:~/openwrt-imagebuilder-wrapper/openwrt-imagebuilder# scripts/feeds install -a
    gmake: *** No rule to make target 'prepare-tmpinfo'.  Stop.
    Cannot open './tmp/.packageinfo': No such file or directory
    Can't open file './tmp/.targetinfo': No such file or directory
    Installing all packages from feed p44.
    Installing package 'ace-p44script' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'hermel-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'mg44' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    Installing package 'hermeld' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'libi2c' found
    Installing package 'p44-ledchain' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'kmod-pwm-mediatek-ramips' found
    Installing package 'hmt20-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44featured' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'libi2c' found
    WARNING: No feed for package 'libubus' found
    WARNING: No feed for package 'libblobmsg-json' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'libev' found
    WARNING: No feed for package 'libuwsc' found
    Installing package 'hxcmodplayer' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'alsa-lib' found
    Installing package 'leth-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'kmod-pwm-mediatek-ramips' found
    Installing package 'lethd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'libi2c' found
    Installing package 'libxm' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'alsa-lib' found
    Installing package 'lora_gateway' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'messagetorch' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'librt' found
    Installing package 'osal' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    Installing package 'p-net' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    Installing package 'p44-counter' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    Installing package 'p44-extdev-elsner' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    Installing package 'p44-extdev-p44motorexp' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    Installing package 'p44-stepper' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    Installing package 'p44-xx-diy-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44pagekite' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libpagekite' found
    WARNING: No feed for package 'libopenssl' found
    Installing package 'vdcd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libprotobuf-c' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libavahi-client' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'ola' found
    WARNING: No feed for package 'libubus' found
    WARNING: No feed for package 'libblobmsg-json' found
    WARNING: No feed for package 'libi2c' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'librrd1' found
    WARNING: No feed for package 'libev' found
    WARNING: No feed for package 'libuwsc' found
    Installing package 'p44maintd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    Installing package 'p44audiobox-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44ayab-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44ayabd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'php7-cli' found
    WARNING: No feed for package 'uhttpd' found
    Installing package 'p44bandit-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44banditd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'libi2c' found
    Installing package 'p44devd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libubus' found
    WARNING: No feed for package 'libblobmsg-json' found
    Installing package 'p44ledchaintest' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44mbrd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for source package 'gn' found
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libavahi-client' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libev' found
    WARNING: No feed for package 'libatomic' found
    Installing package 'p44sbb-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44ttngw-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'packet_forwarder' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44utils-lvgl-sample' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libpng' found
    Installing package 'p44wiper-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'p44wiperd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'libi2c' found
    Installing package 'pixelboard-config' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'pixelboardd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'libstdcpp' found
    WARNING: No feed for package 'libpthread' found
    WARNING: No feed for package 'librt' found
    WARNING: No feed for package 'libpng' found
    WARNING: No feed for package 'boost' found
    WARNING: No feed for package 'libjson-c' found
    WARNING: No feed for package 'libopenssl' found
    WARNING: No feed for package 'libsqlite3' found
    WARNING: No feed for package 'libi2c' found
    Installing package 'rcswitch' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    Installing package 'rtpmidid' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'alsa-lib' found
    WARNING: No feed for package 'libavahi-client' found
    WARNING: No feed for package 'libfmt' found
    Installing package 'serialfwd' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'sshpass' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'timidity' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    WARNING: No feed for package 'alsa-lib' found
    Installing package 'uboot-omega2' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    WARNING: No feed for package 'libc' found
    Installing package 'ws2812-draiveris' from p44
    ln: failed to create symbolic link './package/feeds/p44/': No such file or directory
    


  • @DocHardinger I see you are using the imagebuilder, sorry I assumed you were using the traditional build system, I don't use the docker image.

    All you should need to do is set the version your profile (<builder_home/profiles/default>) and then add the kmod, I use it myself.

    In your profile update the version to 23.05.3, and add the kmod to you package list:

    # Stable OpenWrt Release version (Needs change whenever new openwrt release is available)
    OPENWRT_VERSION="22.05.3"
    TARGET="ramips"
    SUBTARGET="mt76x8"
    
    
    IMAGE_BUILDER_PACKAGES="
    onion-repo-keys
    omega2-base
    omega2-base-files
    omega2-base-passwd
    kmod-p44-ledchain
    "
    

    Then run these commands:

    bash ./onion_buildenv update_package_repos
    bash ./onion_buildenv build_firmware onion_omega2p
    


  • Yes this is exactly what ive done. But then getting : Unknown package 'kmod-p44-ledchain'.
    if i look inside http://downloads.onioniot.com/releases/23.05.3/targets/ramips/mt76x8/packages/ ,which is the core repo, i find kmod-p44-ledchain here.
    But this package is missing inside the index.json. So maybe there is the problem?

    profile:

    #!/bin/sh
    
    # Stable OpenWrt Release version (Needs change whenever new openwrt release is available)
    OPENWRT_RELEASE="23.05"
    OPENWRT_VERSION="${OPENWRT_RELEASE}.3"
    ARCH="mipsel_24kc"
    TARGET="ramips"
    SUBTARGET="mt76x8"
    
    # Default base URL from where openwrt SDKs are available for the respective openwrt version and targets
    # BASE_URL="https://downloads.openwrt.org/releases/$OPENWRT_VERSION/targets/$TARGET/$SUBTARGET"
    BASE_URL="http://downloads.onioniot.com.s3.amazonaws.com/releases/$OPENWRT_VERSION/targets/$TARGET/$SUBTARGET"
    
    # imagebuilder file name available and downloaded from BASE_URL ((Needs change whenever new openwrt release is available with different gcc version))
    #IMAGE_BUILDER_FILE="openwrt-imagebuilder-$OPENWRT_VERSION-$TARGET-$SUBTARGET.Linux-$(uname -m).tar.xz"
    IMAGE_BUILDER_FILE="openwrt-imagebuilder-$OPENWRT_VERSION-$TARGET-$SUBTARGET.Linux-x86_64.tar.xz"
    IMAGE_BUILDER_URL="$BASE_URL/$IMAGE_BUILDER_FILE"
    
    # Additions directory copy custom files into image builder dir
    ADDITIONS_DIR="$PWD/additions"
    
    ## specify ipk repos to be included in the firmware (each repo in new line) 
    PACKAGE_REPOS="
    # Override openwrt_core repo with Onion Core repo
    src/gz openwrt_core http://downloads.onioniot.com/releases/$OPENWRT_VERSION/targets/$TARGET/$SUBTARGET/packages
    src/gz onion_base http://downloads.onioniot.com/releases/$OPENWRT_VERSION/packages/$ARCH/base
    src/gz onion_luci http://downloads.onioniot.com/releases/$OPENWRT_VERSION/packages/$ARCH/luci
    src/gz onion_packages http://downloads.onioniot.com/releases/$OPENWRT_VERSION/packages/$ARCH/packages
    src/gz onion_routing http://downloads.onioniot.com/releases/$OPENWRT_VERSION/packages/$ARCH/routing
    src/gz onion_telephony http://downloads.onioniot.com/releases/$OPENWRT_VERSION/packages/$ARCH/telephony
    src/gz onion_openwrt_packages http://repo.onioniot.com/omega2/packages/openwrt-$OPENWRT_VERSION/onion
    "
    
    # PACKAGE_REPOS="
    # src/gz onion file:///home/ubuntu/openwrt-sdk-wrapper/openwrt-sdk/bin/packages/mipsel_24kc/onion
    # "
    
    ## specify packages to be included in the firmware (each package in new line)
    IMAGE_BUILDER_PACKAGES="
    onion-repo-keys
    omega2-base
    omega2-base-files
    omega2-base-passwd
    omega2-ctrl
    omega2-script
    onion-dt-overlay-w1-gpio
    i2c-tools
    python3-light
    python3-pip
    python3-paho-mqtt
    python3-smbus
    python3-six
    python3-requests
    python3-psutil
    python3-spidev
    python3-pyserial
    python3-paramiko
    python3-pytz
    python3-astral
    uqmi
    usb-modeswitch
    kmod-pwm-mediatek-ramips
    kmod-usb-net-qmi-wwan
    kmod-usb-wdm
    kmod-usb-net
    kmod-mii
    kmod-usb-serial-option
    kmod-usb-serial
    kmod-usb-serial-wwan
    luci
    libwebsockets-openssl
    mosquitto-client-ssl
    mosquitto-ssl
    luci-proto-qmi
    modemmanager
    luci-proto-modemmanager
    kmod-p44-ledchain
    "
    
    BUILD_MODELS="
    onion_omega2p
    "
    
    root@9b0c09bef24f:~# cd openwrt-imagebuilder-wrapper/
    root@9b0c09bef24f:~/openwrt-imagebuilder-wrapper# bash ./onion_buildenv update_package_repos
    > Updating Image Builder Package Repos
    root@9b0c09bef24f:~/openwrt-imagebuilder-wrapper# bash bash onion_buildenv build_all_firmware
    /usr/bin/bash: /usr/bin/bash: cannot execute binary file
    root@9b0c09bef24f:~/openwrt-imagebuilder-wrapper# bash onion_buildenv build_all_firmware
    > Building all firmware images
    > Updating Image Builder Package Repos
    > Preparing Image Builder
    > Building onion_omega2p firmware image
    make: Entering directory '/root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder'
    make[1]: Entering directory '/root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder'
    make[1]: Leaving directory '/root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder'
    make[1]: Entering directory '/root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder'
    make[1]: Leaving directory '/root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder'
    Building images for ramips - Onion Omega2+
    Packages: onion-repo-keys omega2-base omega2-base-files omega2-base-passwd omega2-ctrl omega2-script onion-dt-overlay-w1-gpio i2c-tools python3-light python3-pip python3-paho-mqtt python3-smbus python3-six python3-requests python3-psutil python3-spidev python3-pyserial python3-paramiko python3-pytz python3-astral uqmi usb-modeswitch kmod-pwm-mediatek-ramips kmod-usb-net-qmi-wwan kmod-usb-wdm kmod-usb-net kmod-mii kmod-usb-serial-option kmod-usb-serial kmod-usb-serial-wwan luci libwebsockets-openssl mosquitto-client-ssl mosquitto-ssl luci-proto-qmi modemmanager luci-proto-modemmanager kmod-p44-ledchain base-files busybox ca-bundle dnsmasq dropbear firewall4 fstools kernel kmod-gpio-button-hotplug kmod-leds-gpio kmod-mt7603 kmod-nft-offload kmod-sdhci-mt7620 kmod-usb-ohci kmod-usb2 libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail swconfig uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls
    
    Downloading http://downloads.onioniot.com/releases/23.05.3/targets/ramips/mt76x8/packages/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/openwrt_core
    Downloading http://downloads.onioniot.com/releases/23.05.3/targets/ramips/mt76x8/packages/Packages.sig
    Signature check passed.
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/base/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/onion_base
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/base/Packages.sig
    Signature check passed.
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/luci/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/onion_luci
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/luci/Packages.sig
    Signature check passed.
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/packages/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/onion_packages
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/packages/Packages.sig
    Signature check passed.
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/routing/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/onion_routing
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/routing/Packages.sig
    Signature check passed.
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/onion_telephony
    Downloading http://downloads.onioniot.com/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.sig
    Signature check passed.
    Downloading http://repo.onioniot.com/omega2/packages/openwrt-23.05.3/onion/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/onion_openwrt_packages
    Downloading http://repo.onioniot.com/omega2/packages/openwrt-23.05.3/onion/Packages.sig
    Signature check passed.
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/base/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/openwrt_base
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/base/Packages.sig
    Signature check passed.
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/luci/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/openwrt_luci
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/luci/Packages.sig
    Signature check passed.
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/packages/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/openwrt_packages
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/packages/Packages.sig
    Signature check passed.
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/routing/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/openwrt_routing
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/routing/Packages.sig
    Signature check passed.
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.gz
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/openwrt_telephony
    Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mipsel_24kc/telephony/Packages.sig
    Signature check passed.
    Downloading file:packages/Packages
    Updated list of available packages in /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/dl/imagebuilder
    Downloading file:packages/Packages.sig
    Signature check passed.
    Collected errors:
     * opkg_conf_parse_file: Duplicate src declaration (openwrt_core https://downloads.openwrt.org/releases/23.05.3/targets/ramips/mt76x8/packages). Skipping.
    
    Installing packages...
    .....
    Unknown package 'kmod-p44-ledchain'.
    ....
    Configuring kmod-scsi-core.
    Configuring kmod-nls-base.
    Configuring kmod-usb-core.
    .....
    Collected errors:
     * opkg_conf_parse_file: Duplicate src declaration (openwrt_core https://downloads.openwrt.org/releases/23.05.3/targets/ramips/mt76x8/packages). Skipping.
     * opkg_install_cmd: Cannot install package kmod-p44-ledchain.
     * resolve_conffiles: Existing conffile /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/etc/shadow is different from the conffile in the new package. The new conffile will be placed at /root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder/build_dir/target-mipsel_24kc_musl/root-ramips/etc/shadow-opkg.
    make[2]: *** [Makefile:189: package_install] Error 255
    make[1]: *** [Makefile:144: _call_image] Error 2
    make: *** [Makefile:262: image] Error 2
    make: Leaving directory '/root/openwrt-imagebuilder-wrapper/openwrt-imagebuilder'
    > Compilation error!
    


  • @DocHardinger Try running

    bash ./onion_buildenv setup_imagebuilder
    bash ./onion_buildenv build_firmware onion_omega2p
    

    It's like a make clean.



  • @crispyoz
    of course i tried this before and now again 😉 but same error

    the question is which file tells the builder where to find the packages? Cause package is inside the repo but it seems the "link" to the package is not there (thats why i'm thinking about the index.json inside http://downloads.onioniot.com/releases/23.05.3/targets/ramips/mt76x8/packages/ ) , every package entry is inside there except the p44 package.

    Or maybe the p44 package is not inside the Packages.gz?



  • @DocHardinger I managed to duplicate your issue. It seems there has been a change in the repo list in the profile, since the last time I downloaded it. The current version on github omits one of the repos, just add this one to the end of the repo list:

    src/gz onion_openwrt_packages_core http://repo.onioniot.com/omega2/packages/openwrt-$OPENWRT_VERSION/core
    

    Then run build_firmware and kmod-p44-ledchain is included fine.

    Not sure why the repo has been removed, that's one for @Lazar-Demin



  • @crispyoz Thx a lot now its working.
    Didnt recognized the missing core repo.



Looks like your connection to Community was lost, please wait while we try to reconnect.