killgufo has quit [Remote host closed the connection]
totkeks has quit [Remote host closed the connection]
dansan has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
minimal has quit [Quit: Leaving]
aiyion_ has quit [Remote host closed the connection]
aiyion_ has joined #openwrt-devel
skynet2_ has quit []
vincejv has quit [Remote host closed the connection]
vincejv has joined #openwrt-devel
rua has quit [Quit: Leaving.]
Daanct12 has joined #openwrt-devel
rua has joined #openwrt-devel
sorinello has joined #openwrt-devel
n3ph_ has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
Daanct12 has joined #openwrt-devel
ScrewDriver1337 has quit [Ping timeout: 480 seconds]
caskd has quit [Remote host closed the connection]
rua has joined #openwrt-devel
caskd has joined #openwrt-devel
owrt-images-builds has quit [Quit: buildmaster reconfigured: bot disconnecting]
owrt-images-builds has joined #openwrt-devel
Stat_headcrabbed has joined #openwrt-devel
rua has quit [Quit: Leaving.]
robimarko has joined #openwrt-devel
totkeks has joined #openwrt-devel
rua has joined #openwrt-devel
rua has quit [Quit: Leaving.]
<
robimarko>
Any poor souls that got QMAPv5 aggregation working on their modems?
lucenera has joined #openwrt-devel
rua has joined #openwrt-devel
goliath has joined #openwrt-devel
n3ph has joined #openwrt-devel
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
n3ph_ has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
totkeks has quit [Remote host closed the connection]
ScrewDriver1337 has joined #openwrt-devel
lucenera has joined #openwrt-devel
killgufo has joined #openwrt-devel
killgufo- has joined #openwrt-devel
killgufo has quit [Read error: Connection reset by peer]
killgufo- is now known as killgufo
killgufo has quit []
killgufo has joined #openwrt-devel
killgufo has quit []
killgufo has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
lucenera has joined #openwrt-devel
lucenera has joined #openwrt-devel
lucenera has quit []
lucenera has joined #openwrt-devel
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
Daanct12 has quit [Quit: WeeChat 4.4.3]
skynet2 has joined #openwrt-devel
Daanct12 has joined #openwrt-devel
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
skynet2_ has joined #openwrt-devel
skynet2 has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
n3ph_ has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
Stat_headcrabbed1 has joined #openwrt-devel
Stat_headcrabbed has quit [Read error: Connection reset by peer]
Stat_headcrabbed1 is now known as Stat_headcrabbed
Daanct12 has quit [Quit: WeeChat 4.4.3]
n3ph has quit [Quit: WeeChat 4.4.3]
n3ph has joined #openwrt-devel
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
ScrewDriver1337 has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
robimarko_ has joined #openwrt-devel
robimarko has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
lucenera has joined #openwrt-devel
rsalvaterra has quit [Ping timeout: 480 seconds]
ScrewDriver1337 has joined #openwrt-devel
lucenera has joined #openwrt-devel
rsalvaterra has joined #openwrt-devel
rsalvaterra has quit [Ping timeout: 480 seconds]
n3ph_ has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
n3ph_ has quit [Ping timeout: 480 seconds]
rsalvaterra has joined #openwrt-devel
n3ph has joined #openwrt-devel
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
minimal has joined #openwrt-devel
n3ph_ has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
n3ph_ has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
Snuupy5 has joined #openwrt-devel
Snuupy has quit [Ping timeout: 480 seconds]
<
Mangix>
apk on OpenWrt is kinda big.
<
Mangix>
something tells me libapk should be static since nothing else uses it.
<
Mangix>
I got staging_dir/target-mips_24kc_musl/root-ath79/usr/bin/apk reduced to 305K from 252K + 168K
<
Mangix>
quite a big library
ScrewDriver1337 has quit [Ping timeout: 480 seconds]
<
Mangix>
efahl: squashfs handles that, no?
<
robimarko_>
Mangix: If you can reduce the size of apk, that would be great
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
<
robimarko_>
Mangix: Looks like a great candidate for a PR, numbers look rather promising
<
robimarko_>
Especially since nothing is relying on the APK libs AFAIK
<
Mangix>
I believe everything else is linked shared
<
Mangix>
like mbedtls
<
Mangix>
speaking of PRs, I have too many
<
robimarko_>
I am tagged in some, its just that I cannot get to them
<
robimarko_>
I am swamped at work with continously broken modems and QMAPv5 that I cannot get to work
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
<
Mangix>
I should probably request merge access so I can merge some of them.
<
Mangix>
Oh wow, git shortlog -s -n --all has me at #12
<
Mangix>
oh wait, removing --all makes more sense.
<
Mangix>
#15. Not bad.
<
efahl>
Mangix: probably ok for stable systems, but it's overwritten every time you change a package, so ends up in the overlay pretty quickly
<
efahl>
might want to ask ansuel about plans for the libapk, as I think we wanted an API using it for the ubus rpc-sys packagelist call
<
robimarko_>
Size is quite steep for just that
robimarko_ is now known as robimarko
<
efahl>
agreed, I've been looking at the .adb format, maybe I'll just write a minimal reader for it
<
Habbie>
did you see apk adbdump?
<
efahl>
and this is all future-proofing in any case, as we're still using the text "installed" file and not a v3 database yet
<
efahl>
yeah, that's been nixed as the goal of ubus is to work without any packages installed (including apk)
<
efahl>
which sort of goes against using libapk, doesn't it?
<
Habbie>
ah ok, i lack context. carry on!
<
Mangix>
fun fact, LTO without static linking makes the library go up in size
<
Mangix>
252K > 264K
<
robimarko>
efahl: APK support compressing stuff internally
<
robimarko>
GZIP is standard for it
<
robimarko>
So thats probably a good way to reduce scripts.tar
<
Mangix>
are .adb packages gzip compressed?
totkeks has joined #openwrt-devel
<
efahl>
looks like apk can't find it after I gzip it, tried both .tar.gz and .tgz
<
robimarko>
Mangix: Not as far as I know
<
efahl>
apk just creates a new scripts.tar beside it when I do an 'add'...
<
robimarko>
I think it must be named scripts.tar
<
robimarko>
Thats hardcoded and then it has an internal tar parser
<
efahl>
oh, didn't try that
totkeks has quit []
<
efahl>
hmm ERROR: Unable to read database: v2 package format error
<
robimarko>
How are you testing if its able to read it?
<
efahl>
doing various 'apk add pkg' and 'apk del pkg'
<
robimarko>
Ahh, indeed
<
robimarko>
I made it compress internally scripts.tar
<
robimarko>
And it does compress it, its now 12.3k but it fails reading
<
Mangix>
apk mkpkg has a -c parameter for compression. wonder if it should be used
<
efahl>
my gzipped one is 17.5k vs 311k uncompressed, so well worth something
<
robimarko>
Well, we need to do adb_decompress when reading scripts.tar
<
Mangix>
oh i see. compressed help
ssterlingg has joined #openwrt-devel
ssterling has quit [Ping timeout: 480 seconds]
<
robimarko>
I mean APK supports even ZSTD if you enable it
<
Mangix>
I wonder if zstd was a mistake
<
Mangix>
zstd is used for local tarballs. But its compression is not stable across versions
<
Mangix>
so when updating to 1.5.7, all tarballs need to have updated mirror hashes
n3ph has joined #openwrt-devel
<
robimarko>
Yeah, since being developed actively
<
robimarko>
Point releases should produce the same unles it was a bug
<
Mangix>
libdeflate has the same problem. luckily, we only use it for decompression
<
robimarko>
I mean, only stuff that has ended development doesnt have this "issue"
<
robimarko>
Also, ZSTD seems quite active but releases have stopped essentiall
<
Mangix>
not really. zlib has been stable for a long time
<
Mangix>
that is, same output over a wide variety of versions
<
robimarko>
We are probably going to see that happen to ZSTD at some point
n3ph has quit [Ping timeout: 480 seconds]
<
robimarko>
Yeah, compressing scripts works quite nice
<
robimarko>
Though they use some weird algo that tar doesnt seem to understand
<
robimarko>
And we need to decompress the scripts.tar during image building
<
efahl>
are you using the adb_compress/decompress or going straight to the source with apk_i/ostream_zlib?
<
robimarko>
compress/decompress
<
efahl>
if you use the latter, then it bypasses the magic number "ADBd" on the files I'm looking in src/apk_io.h and io_gunzip.c
<
efahl>
seems like that would make a tgz-compatible file
<
robimarko>
Anyway, I will try and poke around APK tommorow if I have time, now I gotta hit the bed
<
efahl>
wait, it's almost time for dinner! :)
<
robimarko>
That would be great, sadly its almost midnight here :)
sorinello has quit [Ping timeout: 480 seconds]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
n3ph has joined #openwrt-devel
ScrewDriver1337 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]