<rmilecki>
jow: it was failing for files with \n\t
<rmilecki>
thank you!
<jow>
why do you need utf-8 support though? I thought you only need that functionality to store package lists
<rmilecki>
it works! I've just generated OpenWrt backup!
<rmilecki>
jow: err, I thought I need to replace whole "tar" call with that
<jow>
no!
<jow>
just for the one or two files you want to inject
<rmilecki>
while read file; do tar_make_member_from_file "$file"; done < "$CONFFILES"
<rmilecki>
oops
<jow>
then at the end, replace the `dd bs=1024 ...` call with a call to tar -c ...
<jow>
to append the tar stream
<rmilecki>
ah! that was your point
<rmilecki>
yeah, seems obvious now
<jow>
in this case you can revert back to ${#x} which is slightly faster than spawning a subshell and piping to wc -c
<rmilecki>
i guess
<jow>
assuming all you ever want to store is package name lists which are guaranteed to be ascii only
<rmilecki>
undesrtood
* rmilecki
is going to eat some breakfast
robimarko has joined #openwrt-devel
rua has joined #openwrt-devel
xback has quit [Ping timeout: 480 seconds]
<f00b4r0>
nbd: quick update to report that the test device is still alive and kicking, at close to 5 days uptime. Probably a bit early to call victory, but looking good nonetheless
<f00b4r0>
there's still a ton of error output from the fw though, but at least it hasn't died yet :)
robimarko has quit [Ping timeout: 480 seconds]
rsalvaterra has quit []
robimarko has joined #openwrt-devel
xback has joined #openwrt-devel
xback has quit [Read error: Connection reset by peer]
<\x>
robimarko: you pushing mr7350 in sometime?
<robimarko>
\x: Its been in the works on and off for a while
<robimarko>
I plan to do it once I have some free time
<mrkiko>
mrkiko: auto-answer - you need to enable WED via the related (in my case mt7915e) module parameter; at that point you'll see the relevant print
killgufo has quit [Remote host closed the connection]
<stintel>
someone proposed to replace the packaged dir /var/lib/thread with /etc but state files do no belong there
<stintel>
plus the fact that it builds fine on some builders but not on others proves it should be fine to package directories in /var. instead we should figure out why some builders refuse to build
<Mangix>
stintel: that var thing conflicts with base-files
<Mangix>
that's why it fails
<Mangix>
it building fine on some builders is a race conditionm