I'm trying to use the SDK to build some custom packages on top of 22.03.3. My packages build, but the build fails on the package signing step:
Signing package index...
Cannot open file '/home/johnf/src/openwrt-sdk-22.03.3-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/key-build' for reading
Cannot open file '/home/johnf/src/openwrt-sdk-22.03.3-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/key-build' for reading
Cannot open file '/home/johnf/src/openwrt-sdk-22.03.3-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/key-build' for reading
Cannot open file '/home/johnf/src/openwrt-sdk-22.03.3-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/key-build' for reading
Cannot open file '/home/johnf/src/openwrt-sdk-22.03.3-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/key-build' for reading
Cannot open file '/home/johnf/src/openwrt-sdk-22.03.3-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/key-build' for reading
Cannot open file '/home/johnf/src/openwrt-sdk-22.03.3-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/key-build' for reading
make[2]: *** [package/Makefile:88: package/index] Error 1
I found a similar issue in an older discussion: Can't compile IPK with SDK ("key-build" signing key is missing). The suggested workaround of running make base-files
doesn't appear to work.
How can I fix this problem? Can we update the SDK documentation so that it explains this necessary step?
My apologies if I missed something basic on the SDK page.