Open pmelange opened 1 year ago
When building from the openwrt source directly, I got the following errors...
cp -fpR /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86 /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root.orig-x86 grep: /etc/dropbear/authorized_keys: No such file or directory /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent grep: /etc/dropbear/authorized_keys: No such file or directory /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent grep: /etc/dropbear/authorized_keys: No such file or directory /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent grep: /etc/dropbear/authorized_keys: No such file or directory /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent grep: /etc/dropbear/authorized_keys: No such file or directory /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent grep: /etc/dropbear/authorized_keys: No such file or directory /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent postinst script ./usr/lib/opkg/info/falter-berlin-admin-keys.postinst has failed with exit code 2 make[2]: *** [package/Makefile:73: package/install] Error 1
It could also be that it's trying to write directly to the build system's /etc/dropbear, which is very wrong. I believe there is a variable such as IPKG_INSTROOT which should be put before the directory.
When building from the openwrt source directly, I got the following errors...
cp -fpR /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86 /home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root.orig-x86
grep: /etc/dropbear/authorized_keys: No such file or directory
/home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent
grep: /etc/dropbear/authorized_keys: No such file or directory
/home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent
grep: /etc/dropbear/authorized_keys: No such file or directory
/home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent
grep: /etc/dropbear/authorized_keys: No such file or directory
/home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent
grep: /etc/dropbear/authorized_keys: No such file or directory
/home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent
grep: /etc/dropbear/authorized_keys: No such file or directory
/home/pmelange/src/openwrt/build_dir/target-x86_64_musl/root-x86/tmp/falter-berlin-admin-keys/register_keys.sh: 11: cannot create /etc/dropbear/authorized_keys: Directory nonexistent postinst script ./usr/lib/opkg/info/falter-berlin-admin-keys.postinst has failed with exit code 2 make[2]: *** [package/Makefile:73: package/install] Error 1