Daanct12 has joined #openwrt-devel
Daanct12 has quit [Read error: Connection reset by peer]
minimal has quit [Quit: Leaving]
donoban-woops has joined #openwrt-devel
donoban has quit [Ping timeout: 480 seconds]
Daanct12 has joined #openwrt-devel
skynet2 has quit [Ping timeout: 480 seconds]
<russell--> i think i figured out a way: build a kernel with CONFIG_KERNEL_KALLSYMS turned off, so the kernel size is under 3MB, on the target: modify /lib/upgrade/ubnt.sh's ubnt_get_target_kernel() function replacing kernel2 with kernel1, copy the compat_version 2.0 firmware with a kernel <= 3MB to the target, sysupgrade -v -n $file, get the warning, then add the -F to force. should reboot into the
<russell--> wonderful world of 6MB kernel land.
n3ph has quit [Ping timeout: 480 seconds]
MAbeeTT4 has joined #openwrt-devel
MAbeeTT3 has quit [Ping timeout: 480 seconds]
felix has quit []
felix has joined #openwrt-devel
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #openwrt-devel
<russell--> not sure the ubnt.sh changes is even necessary, i forgot on one, factory partition was set to boot from kernel2, booted okay anyway
<dwfreed> it probably failed to boot kernel2, and then automatically switched to kernel1 after
sorinello has joined #openwrt-devel
<owrt-images-builds> Build [#8](https://buildbot.openwrt.org/images/#/builders/225/builds/8) of `main_mpc85xx/p2020` failed.
<owrt-images-builds> Build [#7](https://buildbot.openwrt.org/images/#/builders/46/builds/7) of `main_sunxi/cortexa7` failed.
<russell--> dwfreed: or it wrote to kernel2 and u-boot just jumped to the offset and booted from there, a followup sysupgrade rejiggered things back to the front
<russell--> in anycase, as long as the kernel is <=3MB, it seems to work either way with -F
<ynezz> russell--: FYI there is a proposal/idea how to handle the migration from 23.05 towards 24.10 https://github.com/openwrt/openwrt/pull/15197
nixuser has quit [Ping timeout: 480 seconds]
<ynezz> russell--: so you would need to build 23.05 + #15197, flash and then try to sysupgrade either main/snapshot
<ynezz> russell--: BTW if the main works for you, can you provide that feedback in https://github.com/openwrt/openwrt/pull/16893 (backport into 24.10) ?
goliath has joined #openwrt-devel
<russell--> ynezz: i was careful that "# CONFIG_KERNEL_KALLSYMS is not set" was in my transitional .config, which keeps the kernel below the threshold
<ynezz> ok, but this is not doable in the buildbot setup
<russell--> lucky for me, i'm not living under those constraints
nixuser has joined #openwrt-devel
Stat_headcrabbed has joined #openwrt-devel
* mrkiko installs nano and tcpdump via apk
<owrt-images-builds> Build [#7](https://buildbot.openwrt.org/images/#/builders/62/builds/7) of `main_layerscape/armv8_64b` failed.
ssterling has joined #openwrt-devel
ssterlingg has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
<enyc> mrkiko: hrrm ; not silyl qusetion, how is this simalar or not to Android APK packages ??!?
<Habbie> entirely unrelated
<enyc> Alpine Linux I finalyl find mentioned
<enyc> Confusingly I find "OpenWrt manager" android package is a thing :O
<enyc> https://openwrt.org/docs/guide-user/additional-software/opkg there but not equivalent apk page
<enyc> Hrrm; alas I don't know way round apk to create said page
<mrkiko> what's about the .list files in /lib/apk/packages ? Are we keeping them forcompatibility or are they part of apk working? I ask because I find strange that in a .list file the .list file itself is mentioned, like it was part of the package
<owrt-images-builds> Build [#7](https://buildbot.openwrt.org/images/#/builders/158/builds/7) of `main_mediatek/filogic` completed successfully.
<ynezz> KanjiMonster: hi, instead of supporting both opkg/apk, shouldn't we get rid of the opkg/USE_APK once the transition to apk is done?
robimarko has joined #openwrt-devel
<ynezz> KanjiMonster: I mean, opkg is dead, so I understand the current situation with support for both opkg/apk just a support for smoother transition during rollout
n3ph has joined #openwrt-devel
donoban-woops is now known as donoban
<russell--> ynezz: is opkg broken somehow?
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rua has joined #openwrt-devel
gromero has joined #openwrt-devel
nixuser has quit [Read error: Connection reset by peer]
nixuser has joined #openwrt-devel
robimarko has joined #openwrt-devel
<owrt-images-builds> Build [#8](https://buildbot.openwrt.org/images/#/builders/63/builds/8) of `main_imx/cortexa53` failed.
rua has quit [Ping timeout: 480 seconds]
caskd has joined #openwrt-devel
rua has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
geekythings has joined #openwrt-devel
minimal has joined #openwrt-devel
schmars[m] has quit [Quit: Bridge terminating on SIGTERM]
aparcar[m] has quit [Quit: Bridge terminating on SIGTERM]
skynet2 has joined #openwrt-devel
<owrt-images-builds> Build [#5](https://buildbot.openwrt.org/images/#/builders/187/builds/5) of `openwrt-24.10_ramips/mt7620` failed.
<owrt-images-builds> Build [#5](https://buildbot.openwrt.org/images/#/builders/169/builds/5) of `openwrt-24.10_rockchip/armv8` failed.
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
rua is now known as Guest9189
rua has joined #openwrt-devel
Guest9189 has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.4.3]
<mrkiko> maybe https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper needs to be updated to say FTP is no more supported
<ynezz> passive or active mode? :P
<robimarko> aparcar: It seems that EXTRA_DEPENDS in the current format is breaking APK depends
<robimarko> ERROR: info field 'depends' has invalid value: dependency format is invalid
<robimarko> For example on uspot which has: EXTRA_DEPENDS:=ucode (>= 2023-11-07)
rua is now known as Guest9192
rua has joined #openwrt-devel
Guest9192 has quit [Ping timeout: 480 seconds]
rua has quit [Remote host closed the connection]
<ynezz> robimarko: needs to be converted? EXTRA_DEPENDS:=ucode (>= 2023.11.07)
schmars[m] has joined #openwrt-devel
<mrkiko> ynezz: any chance you could propose a PR or something? Would be nice... :)
<mrkiko> or, MR in gitlab parlance I guess...
<robimarko> ynezz: It seems that its not EXTRA_DEPENDS, it doesnt like something in depedns
<robimarko> Ah, it is cause: depends:ucode>=2023-11-07
<robimarko> APK probably doesnt like that but I removed EXTRA_DEPENDS
<robimarko> I forgot to remove it from uspotfilter though
<robimarko> What is even purpose of EXTRA_DEPENDS?
<robimarko> Yeah, removing it from uspotfilter as well removes the error
<mrkiko> It would bealso nice if apk complianed if I ask it info about a package does not exist. "apk info nonexistentpackage" return nothing to stdout/stderr, but an exit status 1
<Habbie> openwrt/rootfs on docker hub is pre-apk it appears
<Habbie> Last pushed 7 days ago by aparcar
aparcar[m] has joined #openwrt-devel
<aparcar[m]> Habbie: yea it's a mess, I'll see how to improve this rootfs situation since it's not really useful anyway
<Habbie> what's not useful?
Fijxu has quit [Ping timeout: 480 seconds]
<Habbie> ok yes. today it is not useful, as it expects Packages.gz :D
Fijxu has joined #openwrt-devel
<aparcar[m]> i'll try to fix this soonish, point is instead of just pulling openwrt/rootfs:x86 it should instead just do docker load -t testcontainer https://downloads.openwrt.org/targets/...rootfs.tar.gz and then use that. this way it's always fresh and we don't build daily docker containers which is a terrible waste of resources
<ynezz> robimarko: looks like runtime/install time dependency (not build time dependency), so it assures, that you're using the package with expected ucode version (version which supports feature needed by that package)
<Habbie> aparcar[m], oh! yes that makes sense to me, i used docker import for your apk rootfs.tar.gz
<ynezz> robimarko: depends:ucode>=2023.11.07 -- that is apk compatible version
<aparcar[m]> Habbie: do you mind adopting the ci in packages.git to do very much that?
<Habbie> aparcar[m], are you, and i'm only trying to be clear, "habbie would you volunteer to switch the packages.git github workflows from 'docker pull' to 'docker import'" ?
<Habbie> +asking
<Habbie> (because the answer is "i can at least have a look")
<aparcar[m]> yeas sorry i'm multi threading here sorry
<Habbie> no worries. the only thing i don't want is to go do something and waste everybody's time because i've misunderstood something :)
<Habbie> understood, will have a go at it
<Habbie> ah, that's actually in the shared workflows
caskd has quit [Ping timeout: 480 seconds]
<aparcar[m]> should be relatively straight forward, don't depend on openwrt/rootfs in the dockerfile but instead import the tar.gz before and then depend on it instead 🙂
<aparcar[m]> thanks for your interested
<Habbie> yes, understood. i see it moved to shared 4 days ago :)
<Habbie> so this is just for the testing -after- build, i see
goliath has quit [Quit: SIGSEGV]
rua has joined #openwrt-devel
geekythings has quit [Quit: Leaving.]
f00b4r0 has quit [Quit: Textual IRC Client: www.textualapp.com]
<mrkiko> Regarding GH 16929 - the reported error message seems to plausibly come from libapk.so.*
Fijxu has quit [Quit: XD!!]
Fijxu has joined #openwrt-devel
<robimarko> ynezz: Well, the issue is that it does not like the current format we are using
geekythings has joined #openwrt-devel
f00b4r0 has joined #openwrt-devel
geekythings has quit [Ping timeout: 480 seconds]
<robimarko> Ok, we just need to switch to using dots for versions, I will make a PR
<owrt-images-builds> Build [#6](https://buildbot.openwrt.org/images/#/builders/145/builds/6) of `openwrt-24.10_ipq40xx/mikrotik` completed successfully.
Fijxu has quit [Quit: XD!!]
Fijxu has joined #openwrt-devel
Fijxu has quit []
Fijxu has joined #openwrt-devel
goliath has joined #openwrt-devel
<owrt-images-builds> Build [#6](https://buildbot.openwrt.org/images/#/builders/86/builds/6) of `openwrt-24.10_kirkwood/generic` completed successfully.
Fijxu has quit [Quit: XD!!]
Fijxu has joined #openwrt-devel
muley has joined #openwrt-devel
muley has quit []
cmonroe_ has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
cmonroe has joined #openwrt-devel
igieon has joined #openwrt-devel
cmonroe has quit [Read error: Connection reset by peer]
<Habbie> aparcar[m], (1) https://downloads.openwrt.org/releases/ has '23.05.x' for various x, but no '23.05' (2) 24.10 is not there at all
<Habbie> aparcar[m], (3) it sounds like i need to map x86_64 to x86/64, but that's a small table or matrix extension
<Habbie> aparcar[m], beyond those details, the task looks simple enough :) no rush, i'll find hints in here from you or somebody else at some point
<schmars[m]> youre looking for /releases/24.10-SNAPSHOT maybe? the snapshot dirs are hidden
<schmars[m]> and for the target=>architecture mapping theses a script in oprnwrt.git/scripts, called dump-targets-info.pl or sonething like that. i use that to generate my buildbot jobs
<schmars[m]> (sorry i might be lacking context)
<Habbie> checking
<Habbie> schmars[m], the context is finding the right rootfs.tar.gz for packages.git to run tests in (inside docker)
<Habbie> i see 23.05-SNAPSHOT also exists, so that seems perfect
<Habbie> so i might just add a field for the downloads path there
<Habbie> oh. i think 'target' with / instead of - might just be it
rmilecki has quit [Ping timeout: 480 seconds]
<Habbie> alright, continue later. thanks schmars[m], i think you might have just given me the puzzle pieces for all 3 problems :)
cmonroe has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<Habbie> aparcar[m], in case you just read hilights, i think i have all the answers i need for now
<ynezz> mrkiko: 2704 MiB in 2353 packages, thats some crazy use case, isn't it? :P
<ynezz> ah, package/install
<ynezz> is it some kind of select all?
<Habbie> based on .config maybe?
<ynezz> 2353?
<ynezz> probably comes from this apk_db_index_write_nr_cache() call https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/src/database.c?ref_type=heads#L1995
<ynezz> ENOBUFS 105 No buffer space available
<ynezz> probably needs to be strace'd
<Habbie> boo, can't use / in docker tags
<mrkiko> ynezz: I was wondering as well if it was a "power" use case, still seems worth looking at it
igieon has quit [Remote host closed the connection]
<ynezz> tl;dr Seems there are some packages with a huge description field. e.g. external-protocol has description of more than 2kB. And I can confirm that this triggers this issue.
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
goliath has joined #openwrt-devel
<mrkiko> ynezz: thanks !!
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
goliath has quit [Quit: SIGSEGV]
<aparcar[m]> Habbie: any luck so far? Do you need my help?
<Habbie> aparcar[m], schmars[m] helped me with the details i got stuck on, but i'm out of time for today :) will continue later. no help needed right now :)
<aparcar[m]> excellent, please let me know this seems to be a bit of a pressing thing 🙂
<Habbie> i have run some of the parts of the yml locally, doing import and then a build that doesn't pull, etc.
<aparcar[m]> thanks for your work
<Habbie> oh pressing how?
<Habbie> oh. packages.git PRs are still testing against opkg i guess?
<Habbie> building, even
<Habbie> hmm no. building with apk
<Habbie> No *.ipk files found :)
rmilecki has joined #openwrt-devel
<Habbie> aparcar[m], just to be clear, i might have a few hours for this this week, i might not
<aparcar[m]> well I always have my fingers crossed! (hence the garbage code)
<aparcar[m]> I might have a look at it or annoy Ansuel with it, I don't want to confuse to many people with APK
<mrkiko> but hey, APK seems great. The whole "virtuals" concept seems interesting. And the program feels very smooth
<schmars[m]> and it's actively maintained <3
<Habbie> that said, we are using v3 while alpine is not, but i'm sure they'll switch one day :)
sorinello has quit [Ping timeout: 480 seconds]
maciekb7218 has joined #openwrt-devel
<owrt-images-builds> Build [#6](https://buildbot.openwrt.org/images/#/builders/129/builds/6) of `openwrt-24.10_ipq806x/generic` completed successfully.
gromero has quit [Remote host closed the connection]
<owrt-images-builds> Build [#6](https://buildbot.openwrt.org/images/#/builders/239/builds/6) of `openwrt-24.10_layerscape/armv8_64b` failed.