aparcar / openwrt

Staging tree of Paul Spooren
Other
9 stars 1 forks source link

FS#1240 - luci/luci-ssl: /etc/config/luci not in same format as written by luci/lua #1083

Closed aparcar closed 6 years ago

aparcar commented 6 years ago

mdbuerkle:

Supply the following if possible:

root@OpenWRT:~# cat /etc/openwrt_release DISTRIB_ID='OpenWrt' DISTRIB_RELEASE='SNAPSHOT' DISTRIB_REVISION='r5601-efa22b1' DISTRIB_TARGET='ar71xx/generic' DISTRIB_ARCH='mips_24kc' DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r5601-efa22b1' DISTRIB_TAINTS='' root@OpenWRT:~# cat /etc/board.json { "model": { "id": "tl-wdr4300", "name": "TP-Link TL-WDR3600 v1" }, ...

to reproduce:

note in output:

Collected errors:

The contents of luci-opkg and luci are quite the same, the lua/luci version being without comments and with 'quoted' values (see attached file).

A resolution of "wont fix" would be absolutely acceptable, but the always-happening-change/diff etc. is annoying.

Kind regards, Dominik

mdb@lapmdb-hpl ~ $>> ssh root@OpenWRT.localnet

BusyBox v1.27.2 () built-in shell (ash)


| |.-----.-----.-----.| | | |.----.| | | - || | -| || | | || || | |___|| |_||||____||| |__| |__| W I R E L E S S F R E E D O M

OpenWrt SNAPSHOT, r5601-efa22b1

root@OpenWRT:~# diff -wu /etc/config/luci /etc/config/luci-opkg --- /etc/config/luci 2017-10-17 22:35:20.000000000 +0200 +++ /etc/config/luci-opkg 2017-12-22 13:13:43.000000000 +0100 @@ -1,32 +1,24 @@ +config core main

-config core 'main'

+config internal themes root@OpenWRT:~#

aparcar commented 6 years ago

mdbuerkle:

see https://github.com/openwrt/luci/issues/1485 and close this one, please.