Git Product home page Git Product logo

Comments (2)

leifliddy avatar leifliddy commented on August 10, 2024

So when m1n1 gets built into the installer, it runs this makelogo.sh script.
https://github.com/AsahiLinux/m1n1/blob/main/data/makelogo.sh

convert bootlogo_128.png -background black -flatten -depth 8 rgba:bootlogo_128.bin
convert bootlogo_256.png -background black -flatten -depth 8 rgba:bootlogo_256.bin

So by default, it's running that on these two logos
https://github.com/AsahiLinux/artwork/blob/main/logos/png_128/AsahiLinux_logomark.png
https://github.com/AsahiLinux/artwork/blob/main/logos/png_256/AsahiLinux_logomark.png

So when you boot the system, immediately after the Apple logo disappears that bootlogo_256.bin (256 x 256 pixel) image is displayed. However, within like a quarter of a second that image actually changes to the image that's contained within the second stage bootloader (basically from the the m1n1 package that you have installed on your system)
and that logo is displayed for several seconds. But since both logos are exactly the same, you don't realized that it's switched out.

So the m1n1 package you have installed on your system comes from this source:
https://src.fedoraproject.org/rpms/m1n1/blob/f37/f/m1n1.spec

You'll notice this logic

# Use our logos
# https://pagure.io/fedora-logos/pull-request/21
# https://pagure.io/generic-logos/pull-request/2
pushd data
rm bootlogo_{128,256}.{bin,png}
convert -background none -resize 128x128 -gravity center -extent 128x128 \
  %{_datadir}/pixmaps/fedora-logo-sprite.svg bootlogo_128.png
zopflipng -ym bootlogo_128.png bootlogo_128.png
convert -background none -resize 256x256 -gravity center -extent 256x256 \
  %{_datadir}/pixmaps/fedora-logo-sprite.svg bootlogo_256.png
zopflipng -ym bootlogo_256.png bootlogo_256.png
./makelogo.sh
popd

What I would do is try rebuilding this package and altering the size of the images and see if that works.
I might have some time this weekend to play around with this a bit...
But since this is an official Fedora package. You'd have to rebuild this every time they released an update.
The other option would be to submit a request on https://bugzilla.redhat.com/ requesting a smaller size logo.
It's going to be a painful process either way. I hope that helps....

from asahi-fedora-builder.

IzsakiRobi avatar IzsakiRobi commented on August 10, 2024

Thanks for the information!

Very complicated to be worth it.
It was a comment.

Close it :)

from asahi-fedora-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.