Re: [LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread Yury Shvedov
Thank you! On 01/31/2018 06:10 PM, John Crispin wrote: On 31/01/18 16:00, Yury Shvedov wrote: Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear inside buildroot, but I can't

Re: [LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread Yury Shvedov
Ok, sorry. Finally find simple system.board method: ubus call system board On 01/31/2018 06:00 PM, Yury Shvedov wrote: Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear insid

Re: [LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread John Crispin
On 31/01/18 16:00, Yury Shvedov wrote: Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear inside buildroot, but I can't find the way to learn CONFIG_TARGET_BOARD and CONFIG_TAR

[LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread Yury Shvedov
Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear inside buildroot, but I can't find the way to learn CONFIG_TARGET_BOARD and CONFIG_TARGET_SUBTARGET variables values inside run