#
…

2024-01-05

00:02lactose has quit [Read error: Connection reset by peer]
00:09lactose has joined #asahi-alt
00:11lactose has quit [Read error: Connection reset by peer]
00:12lactose has joined #asahi-alt
00:13lactose has quit [Read error: Connection reset by peer]
00:22lactose has joined #asahi-alt
00:22lactose has quit [Read error: Connection reset by peer]
00:37kidplayer666 has quit [Quit: Connection closed for inactivity]
00:45SalimTerryLi has quit [Ping timeout: 480 seconds]
01:43ciara has quit [Remote host closed the connection]
01:47ciara has joined #asahi-alt
01:58lactose has joined #asahi-alt
02:10lactose has quit [Read error: Connection reset by peer]
03:58veloek has joined #asahi-alt
04:14chadmed has quit [Ping timeout: 480 seconds]
04:14chadmed has joined #asahi-alt
04:14chadmed_ has quit [Ping timeout: 480 seconds]
04:20pthariensflame has joined #asahi-alt
04:26pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
05:44possiblemeatball has quit [Quit: Quit]
06:41chadmed_ has joined #asahi-alt
06:46john-cabaj has quit [Ping timeout: 480 seconds]
07:09chadmed_ has quit [Ping timeout: 480 seconds]
07:09chadmed has quit [Ping timeout: 480 seconds]
07:26lactose has joined #asahi-alt
07:27lactoseIs there a list of options for installer_data.json? To my knowledge there's no documentation in the installer repo
07:34kidplayer666 has joined #asahi-alt
07:38chadmed has joined #asahi-alt
08:01lactoseI'm checking the installer_data.json in the asahi-installer repo as well as m1-debian. I can figure out what most of these options mean but it makes me wonder if there's a list somewhere... I'm probably looking in the wrong place
08:17j`eydont think its documented
08:42chadmed_ has joined #asahi-alt
09:18r0ni has quit [Ping timeout: 480 seconds]
09:23chadmed has quit [Remote host closed the connection]
09:25lactose has quit [Read error: Connection reset by peer]
09:34ncopabom dia! mps: pong
09:38mpsncopa: could we add message to warn user that speakersafetyd should/must be run when linux-asahi kernel is installed and upgraded
09:49lactose has joined #asahi-alt
09:49lactose has quit [Read error: Connection reset by peer]
10:00nela has quit [Ping timeout: 480 seconds]
10:08chadmed has joined #asahi-alt
10:11lactose has joined #asahi-alt
10:22lactose has quit [Read error: Connection reset by peer]
10:34kidplayer666 has quit [Quit: Connection closed for inactivity]
10:41kidplayer666 has joined #asahi-alt
10:52chaos_princess has quit [Ping timeout: 480 seconds]
11:18chadmed has quit [Remote host closed the connection]
11:19chadmed has joined #asahi-alt
11:23snuck has quit [Remote host closed the connection]
11:24sneak has joined #asahi-alt
11:25lactose has joined #asahi-alt
11:25lactose has quit [Remote host closed the connection]
12:59SalimTerryLi has joined #asahi-alt
13:08r0ni has joined #asahi-alt
13:21chadmed has quit [Remote host closed the connection]
13:23chadmed_ is now known as chadmed
13:25lactose has joined #asahi-alt
13:26lactose has quit [Read error: Connection reset by peer]
14:36possiblemeatball has joined #asahi-alt
14:39nela has joined #asahi-alt
14:56mpsis it normal that with all asahi audio things installed alsamixer doesn't see pulse device
14:58mpspavucontrol see it
15:03leioI don't know why one would look at alsamixer, but is the pulse or pipewire alsa plugin enabled/installed as a first guess? Former is in alsa-plugins, latter in pipewire
15:09leiowait, I have the former and I don't have pulse device in alsamixer either
15:12mpsleio: yes, pipewire-pulse is installed
15:12mpsand run
15:14leioI was referencing -Dpipewire-alsa meson option, not pipewire-pulse
15:14leiobut I don't know if that will help
15:14mpsno it wont, tried
15:23lactose has joined #asahi-alt
15:26lactose has quit [Read error: Connection reset by peer]
15:30lactose has joined #asahi-alt
15:32lactose has quit [Read error: Connection reset by peer]
15:50possiblemeatball has quit [Quit: Quit]
15:53lactose has joined #asahi-alt
15:55lactose has quit [Read error: Connection reset by peer]
16:06lactose has joined #asahi-alt
16:06lactose has quit [Read error: Connection reset by peer]
16:16chaos_princess has joined #asahi-alt
16:31lactose has joined #asahi-alt
16:34lactose has quit [Read error: Connection reset by peer]
16:59pjakobsson has quit [Remote host closed the connection]
17:31SalimTerryLi has quit [Remote host closed the connection]
17:38lactose has joined #asahi-alt
17:38lactose has quit [Remote host closed the connection]
17:39lactose has joined #asahi-alt
17:39lactose has quit []
17:47cow123 has quit [Remote host closed the connection]
18:00possiblemeatball has joined #asahi-alt
19:30cow123 has joined #asahi-alt
19:33lactose has joined #asahi-alt
19:38lactoseI'm trying to get the installer to install my own image but I get an error during image extraction. I edited the production bootstrap script by changing `REPO_BASE` to `.` and copying my image and `installer_data.json` the relevant locations.
19:45lactose has quit [Quit: Leaving...]
19:46lactose has joined #asahi-alt
19:46lactoseFrom what I could gather, it's trying to read the URLCache, but there isn't one as the image is local
19:58j`eyyeah that looks like a bug from 7e62bcb93079479c74f4ed2013b4d2348349cd6b
19:58j`eyyou can start a python web server, python3 -m http.server
19:59j`eyto try work around that (and use http://localhost..)
20:08lactosej`ey: I was hoping to not do that but I came to the same conclusion haha
20:10j`eyor fix the code :P
20:12lactoseI checked in the browser so not sure what the problem is here
20:14j`eyhow did you create the zip?
20:14j`eycan you curl it and check it's not malformed
20:18lactosezip -r9 and yes I can curl it
20:20j`eytry again with -1 instead of 9, just in case it's some weirdness there
20:20lactoseAlso earlier when I did it locally it went past this
20:20mpshm, looking at installer, is it possible to prepare some other distro image and add it installer_data.json to be included in official installer
20:21lactoseThat's what I'm trying to do haha
20:21j`eymps: that's how fedora does it and debian etc
20:22mpsj`ey: I mean, prepare rootFS image and add it main installer at https://github.com/AsahiLinux/asahi-installer
20:22j`eylactose: you might have to do some debuggng to figure out why it claims not to be a zip
20:23lactoseAnyway when I made the installer read the image locally it didn't have any problems
20:24j`eymps: ah, well I think they'll want to keep the 'main' installer to stuff that's supported by them I guess
20:24lactose has quit [Remote host closed the connection]
20:24j`eymaybe in the future
20:24lactose has joined #asahi-alt
20:24lactoseThe only hangup is it tried to use a nonexistent URLCache
20:25mpsj`ey: aha, thanks. understand. for now if I want to make alpine isntaller I have to make changes and put it somewhere on the net
20:25mpslike lactose trying now
20:25j`eylactose: you could just try revert 7e62bcb93079479c74f4ed2013b4d2348349cd6b
20:26lactosehow do i do that? i've never done that
20:26j`eygit revert 7e62bcb93079479c74f4ed2013b4d2348349cd6b
20:27j`eybut I think it'd be better to figure out why it thinks it isnt a zip file, instead of reverting random commits
20:36lactosej`ey: I mean curling doesn't really reveal anything so I don't really know what else could have gone wrong
20:36lactosealso -r9 was what debian used
20:40j`eyI can't really guess what went wrong, my only suggestion would be to try add some extra logging/prints into the urlcache code to see if it looks like the data is valid
20:40j`ey(or just try the revert and ignore the issue for now to get futher, and just hope it's somethng weird about localhost)
20:41mpsis there guide how to prepare asahi-installer, I tried to run ./build.sh but it fails at trying to make m1n1
20:42lactosethe strange thing is that the line in question says passes a URLCache to the ZipFile constructor
20:42j`eythat's fine?
20:42j`eyURLCache 'acts like' a file
20:43j`eymps: that's how you do it, maybe you dont have rust in your env or something/
20:43lactosethe error is telling me otherwise
20:44j`eylactose: well sure, there's some kinda bug..
20:44j`eythis works for markan etc, so thats not the bug
20:45mpsI have rust installed
20:46mpswill wait till lactose finish and ask how to do this
20:46jannegbut ptobably not the softloat toolchain
20:46lactosealso you need rust for the installer to work?
20:46janneg*probably
20:46j`eylactose: for m1n1 to build
20:47jannegyou need rust to build m1n1 for the installer
20:48j`eymps must have the softloat toolchain, since alpine has stage2 m1n1 builds
20:48j`ey(but maybe not in this env)
20:48jannegit builds m1n1 with `make RELEASE=1 CHAINLOADING=1`
20:48lactoseWell that's something I can deal with later, I haven't even gotten past parsing the image
20:48mpsdoes build.sh download all components or they must be downloaded and put to proper dirs
20:48lactosewhich the parsing of the zip was fine when done locally
20:48j`eymps: it downloads everything (not rust..)
20:49lactosebut when i switch to an http server it claims that its not a zip
20:49j`eylactose: well Ive given you options to try, not sure if you have yet
20:49jannegstage2 builds are without chainloading
20:49mpsj`ey: hm, not in my case
20:49j`eymps: oh: git submodule update --init
20:49mpsah, ok
20:50janneglactose: does the http server support range-requests?
20:50mpsj`ey: now it is better
20:50lactosejanneg: how do i check that?
20:51j`eyjanneg: ah, that might be it, it's just python -m http.server
20:52janneg`curl -r 1024-2048 ...`
20:52mpsbut now I've got "error: failed to load source for dependency `bitflags`"
20:52j`eyyeah, from googling it seems that's the issue, sorry lactose I didnt realise python didnt support that!
20:52mpsUnable to update /work/m1/asahi-installer/m1n1/rust/vendor/bitflags
20:53j`eyjust realised that looking at /private/tmp/asahi-install/installer.log might have shown that
20:54lactoseAh, it's all good! I honestly wasn't expecting to get much help here (my past IRC experiences weren't great) but you and ch4dmed particularly have been incredibly helpful
20:54kidplayer666 has quit [Quit: Connection closed for inactivity]
20:55j`eyso either run a more 'real' server, or you have to revert that commit, or try to hack around that commit
20:56lactoseThis supposedly supports ranges, not sure if it's any good https://github.com/danvk/RangeHTTPServer
21:00lactosealright it seems to have worked!
21:01lactoseanyway you mentioned m1n1 earlier? does the installer build stage1 or something?
21:01lactosebecause i already have stage2 deployed in the image
21:02j`ey(hence the need for rust)
21:02j`eyyou could just nab the m1n1.bin from somewhere too, rather than rebuilding *shrug*
21:03lactoseoh it looks like i already have rust on this machine
21:05lactoseAnyway not being able to work with local images is probably considered a bug, I should investigate that further
21:07lactoseThough to be fair, this only really applies to people like me who are insane enough to try to install Slackware haha
21:09j`eyif not, make a GH issue
21:10lactose> This will only report what kind of machine you have, the OS you're installing, basic version info, and the rough install size.
21:11lactoseAh yes, I'm sure my install report will be very useful
21:11mpsI remember that something extra is needed to build m1n1 in chainloading mode but I forgot what
21:13j`eymps: oh: git submodule update --init --recursive
21:13j`eyI forgot/didnt know the rust crates were submodules
21:14mpsj`ey: thanks, some progress
21:15lactoseactually now that i think of it i probably shouldn't send the install report
21:15mpsj`ey: actually I come to conclusion to build all this on musl system is to cumbersome
21:16mpstoo cumbersome*
21:16lactosea musl system? what are you on, alpine?
21:17mpsand installing alpine from usb is realy easy
21:17mpslactose: yes, on alpine
21:18lactoseyou're making your own image?
21:18mpsyes, on above url is a script
21:19mpsoutdated though
21:19lactoseim also making an image, taking heavy inspiration from the debian scripts
21:20mpsyes, I know for this
21:21lactoseim about to reboot my mac, wish me luck
21:22lactose has quit [Remote host closed the connection]
21:28lactose has joined #asahi-alt
21:29lactosealright so good news is i made it to grub
21:29lactosebad news im in rescue mode
21:32lactoseit says it cannot find normal.mod
22:09lactoseah im missing modules, no wonder
22:31kidplayer666 has joined #asahi-alt
22:36mpsah, I've got installer.tar.gz built on alpine
22:36mpsnow have to read how to adapt it to use for alpine
23:05pthariensflame has joined #asahi-alt
23:10pthariensflame has quit []
…