Narga
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
I just saw the new release is already out 💜
What do you think about being able to set the arch/platform in the recipe?
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Awesome, thanks! That's very cool.
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Progress, yay 😄
There's a whole heap of things to do still, though.
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
I had a look at the Fedora kernel spec and it looks humongously complex. I'll keep it simple 😅
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Rpkg? Another thing I need to have a look at. Thanks for pointing me to it 🙂
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Thanks a lot, this looks great! I'll try to adapt this later. I already tried to build a custom RPM package for the custom kernel which is needed. In the RPM package I have instructions to remove all the default kernel packages, but I still need to figure out which kernel files I need to copy into the final image to make it work. I never made an RPM package before, so these
.spec
files are actually quite intimidating for me 😂142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
I don't quite understand what you meant by this though. How can systemd-repart help with img generation?
Or did you mean use it to extend the rootfs partition on boot?
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Cool, thanks! The system I was working on didn't have dracut unfortunately and switching to it is quite a process. Especially on Debian/Ubuntu where software packages are lacking behind a lot 😅
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Yes, the image can only be built for one specific device since the bootloader needs to have the device's devicetree hardcoded (so it knows which device it is running on)
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Yeah, but have you tried to extend a rootfs filesystem with it that can't be extended while mounted? If you know how to do that, please let me know! I think I spent over 10 hours before giving up 😅
(Of course you can't simply unmount the rootfs on the running system, so likely the only option would be initramfs while the rootfs is not yet mounted. There is some systemd doc I believe that claims that systemd can run during initramfs but I had no idea how to achieve that)
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
(if it's the tool which I think it is)
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Yeah I think I tried to use it at some point, but failed to understand how to use it in the initramfs phase. I tried to use it to extend a partition and its filesystem iirc
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
No, ARM usually doesn't work with EFI, which means grub and systemd-boot is pretty much useless. Normally U-Boot (https://github.com/u-boot/u-boot) is used as the bootloader, which can directly load the kernel and the specific device's devicetree (or extlinux, in theory it can even load grub but that'd be just an extra layer that's not needed if you can load the kernel directly)
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Maybe it was there in Fedora 39 but not in 40? Distros change over time and add or remove packages, that's pretty normal I believe.
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
I wish I could just disable the installation of grub and efi related stuff, since I'd need to remove that afterwards anyway 😅
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Mmm yeah seems like it! Thanks for your effort!
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
😦 Well every project is a time and work effort. If the upstream project is "good enough", then it's good to use the time and energy elsewhere imo 😄
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
I can, but it doesn't work. https://github.com/JasonN3/build-container-installer/issues/141
142 replies
BBlueBuild
•Created by Narga on 9/28/2024 in #questions
Building custom ARM64 images?
Yeah this also is mostly
build-container-installer
😅142 replies