We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/immortalwrt/packages/blob/master/net/ntpd/files/ntpdate.init#L7 现在比较新的分支的 openwrt 的/etc/init.d/ 里的脚本会被上层调用,里面的shell 基本是写成 变量和函数,这里调用 uci 之类的系统命令的话,会在 imageBuilder make image 的时候报错
Enabling ntpdate ./etc/init.d/ntpdate: line 7: uci: command not found
目前我是 hack 文件
if [ -f feeds/packages/net/ntpd/files/ntpdate.init ];then sed -i '2a [ ! -f /etc/openwrt_release ] && exit 0' feeds/packages/net/ntpd/files/ntpdate.init fi
但是应该有 IPKG_INSTROOT 之类的 chroot 里去执行才对
IPKG_INSTROOT
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/immortalwrt/packages/blob/master/net/ntpd/files/ntpdate.init#L7
现在比较新的分支的 openwrt 的/etc/init.d/ 里的脚本会被上层调用,里面的shell 基本是写成 变量和函数,这里调用 uci 之类的系统命令的话,会在 imageBuilder make image 的时候报错
目前我是 hack 文件
但是应该有
IPKG_INSTROOT
之类的 chroot 里去执行才对The text was updated successfully, but these errors were encountered: