ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
zumi_ has joined #asahi-alt
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
demon_in_a_jar has quit [Remote host closed the connection]
lactose has joined #asahi-alt
possiblemeatball has joined #asahi-alt
kidplayer666 has quit [Quit: Connection closed for inactivity]
<lactose> I want to try to craft a Slackware rootfs image to use with the official installer, but I'm confused as to how to do that.
<lactose> I'm looking at the Debian repo and I'm not sure how m1n1 and u-boot fit into the picture, also the official installer has no documentation that I could find
pthariensflame has joined #asahi-alt
john-cabaj has quit [Ping timeout: 480 seconds]
pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
KxCORP has quit [Quit: Bye!]
KxCORP has joined #asahi-alt
jeisom has quit [Ping timeout: 480 seconds]
wookey has joined #asahi-alt
possiblemeatball has quit [Quit: Quit]
john-cabaj has joined #asahi-alt
lactose has quit [Quit: Leaving]
zumi_ has joined #asahi-alt
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
kidplayer666 has joined #asahi-alt
tobhe_ has joined #asahi-alt
tobhe has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-alt
tobhe_ has quit [Ping timeout: 480 seconds]
<cy8aer> m1n1 and u-boot together with the dps from the kernel create a file /boot/efi/m1n1/boot.bin which is the second stage of m1n1. In the @Glanzmann-Repo m1n1 has not only the m1n1 binary but also the combined boot.bin which is copied to /boot/efi/m1n1 at install time (together with creating a backup). So there is a dependency of m1n1 with the kernel because different kernels have different dps
<cy8aer> The main problem is that it is difficult to find the dps at install time from the kernel packages so it is precompiled at packaging time. Other dists do it at install time. As long as the kernel dpc is not stable this must be done.
<cy8aer> And the pre compilation of boot.bin is only possible because the kernel source is lying around in the build dir at the same time with the m1n1_uboot_kernel.sh script
dylanchapell has quit [Read error: Connection reset by peer]
<cy8aer> has not -> there is
dylanchapell has joined #asahi-alt
john-cabaj has quit [Remote host closed the connection]
john-cabaj has joined #asahi-alt
<cy8aer> dp -> dtb (sorry)
<cy8aer> aka device tree binary
eiln has quit [Quit: WeeChat 4.1.2]
billak has joined #asahi-alt
billak has quit [Ping timeout: 480 seconds]
chadmed_ has joined #asahi-alt
<chadmed_> hm cargo-ebuild doesnt seem to tolerate workspaces properlyt
<leio> chadmed_: pycargoebuild is the current thing that's mostly used, not cargo-ebuild.
<chadmed_> leio: that doesnt either :p
<chadmed_> but at least it tells you it expects each member of the workspace to be its own package
<sam_> are you sure it doesn't handle it properly? (pycargoebuild)
<sam_> anyway file a bug if it's doing something wrong or speak to mgorny
billak has joined #asahi-alt
<chadmed_> i think its expected behaviour because if you run it in a workspace it explicitly says to only do it at the path of an actual binary package
<chadmed_> so not necessarily a bug
jeisom has joined #asahi-alt
<sam_> right
<sam_> i'm not really sure what else you want it to do
<chadmed_> a couple of things ive tried to package up in the last week or so have depended on cargo's workspace feature, where multiple interdependent modules get developed, built and installed from a single root
jeisom has quit []
<chadmed_> libkrun is egregious because it makes use of this _and_ vendors multiple other crates that it really really shouldnt
<chadmed_> and because cargo-ebuild and pycargoebuild cant tolerate workspaces, i had to do some weird stuff to get cargo.eclass to behave nicely with those vendored crates and the different components that the actual package expects to build
<chadmed_> whereas cargo proper, you just run cargo build/install from the root and it iterates over the workspace members and it resolves all the dependencies and interdependencies, builds them in the correct order, then installs them
<sam_> but isn't it quite unusual for multiple binaries to be needed?
<sam_> this doesn't sound related to that part
<sam_> it sounds more related to stupid shenanigans like git crates
<sam_> but maybe i'm missing something, i'm no rust expert
<sam_> but you should file a bug if you think it should handle it better and it doesn't
<sam_> not clear to me what else it should do differently (every time I've hit a workspace, just picking the things I actually want worked fine for me) but if you have an idea in mind, go nuts
jeisom has joined #asahi-alt
billak has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-alt
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
billak has joined #asahi-alt
kidplayer666 has quit [Quit: Connection closed for inactivity]
tobhe_ has joined #asahi-alt
tobhe has quit [Ping timeout: 480 seconds]
kidplayer666 has joined #asahi-alt
jacksonchen666 is now known as Guest12720
jacksonchen666 has joined #asahi-alt
jacksonchen666 has quit []
Guest12720 has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-alt
tobhe_ has quit [Ping timeout: 480 seconds]
jeisom has quit [Ping timeout: 480 seconds]
tobhe_ has joined #asahi-alt
tobhe has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-alt
tobhe_ has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi-alt
lactose has joined #asahi-alt
<lactose> I've done a little more research about m1n1 and U-Boot, so I think I understand them a bit better now. If I wanted to craft an image to be used with the installer, I need to set up stage 2 m1n1 + U-Boot and an EFI compatible bootloader (i.e. GRUB)?
<j`ey> along with the rootfs, yeah
<lactose> Well I figured that was a given haha. From what I could gather the installer handles stage 1 m1n1 so I wouldn't have to worry about that, is that right?
<j`ey> yup
<lactose> Alright cool, thanks a lot
matteo has joined #asahi-alt
<lactose> Oh wow I never knew that existed, thanks
<lactose> I have plans to make a Slackware image so this will be incredibly useful
<j`ey> I dont know where/if there are any slackbuilds
<lactose> That first repo doesn't build an install image, it instead creates a squashfs and uses a different distro to handle the bootloader stuff
<j`ey> yup
<lactose> At least that's what I could make out of it. I don't really understand how it works. I know it's based on chadmed's asahi-gentoosupport though
<lactose> I've never worked with squashfs and I've certainly never seen one used as root
<j`ey> it's just a way of getting a live-ish environment
lactose has quit [Read error: Connection reset by peer]
flokli has quit [Quit: WeeChat 4.1.1]
billak has quit [Remote host closed the connection]
flokli has joined #asahi-alt
lactose has joined #asahi-alt
lactose has quit [Read error: Connection reset by peer]
possiblemeatball has quit [Read error: Connection reset by peer]
possiblemeatball1 has joined #asahi-alt
lactose has joined #asahi-alt
lactose has quit [Read error: Connection reset by peer]
lactose has joined #asahi-alt
lactose has quit [Remote host closed the connection]
lactose has joined #asahi-alt
matteo_ has joined #asahi-alt
matteo has quit [Read error: Connection reset by peer]
zumi_ has joined #asahi-alt
zumi has quit [Remote host closed the connection]
lactose has quit [Quit: Quit]
zumi_ is now known as zumi
nela has quit [Ping timeout: 480 seconds]
lawrence has quit [Quit: The Lounge - https://thelounge.chat]
nela has joined #asahi-alt
lawrence has joined #asahi-alt
matteo_ has quit [Quit: Leaving...]
possiblemeatball1 has quit [Quit: Quit]
possiblemeatball has joined #asahi-alt
psanford_ has quit [Quit: leaving]
psanford has joined #asahi-alt
jeisom has joined #asahi-alt
jacksonchen666 has joined #asahi-alt
jeisom has quit [Remote host closed the connection]
pthariensflame has joined #asahi-alt
pthariensflame has quit []