Comments (7)
I think we can switch lorax to the default-fonts metapackages first in line with the rest of the Fedora
and see if there are any more extra fonts appearing. If it is just NotoSans-Italic-VF.ttf left, it might be overkill to do more,
though I also like the idea of having a such a non-minimal manifest file in the fonts packages,
of course that would also have to be kept up to date too...
from lorax.
I'd rather not have it depend on a file in the rpm packages. The cleanup stage is pretty unique, AFAIK nothing other than lorax does this, so it doesn't make sense to have packages carry around that information. It would also mean that minimization efforts would need a rebuild of the packages in question instead of just lorax. OTOH the lack of file info in meta packages is a good point. There may be something that can be done about that, I'll have to dig into how much info I can extract from dnf though.
from lorax.
Thank you for the comment! The goal is to drop such hardcoded information in the template to maximize the efforts of "default-fonts" mechanism. So I'd like to keep the discussion.
If we focus on to the font stuff only, I suppose it can be automated to minimize the image in programatical way because the boot image apparently use Regular style font only. We don't need to rebuild packages that way.
from lorax.
The current fedora runtime-cleanup.tmpl
has this in it:
removefrom google-noto-sans-cjk-fonts /usr/share/fonts/google-noto-sans-cjk-fonts/NotoSansCJK-{Black,Bold,*Light,Medium,Thin}.ttc
removefrom google-noto-sans-vf-fonts /usr/share/fonts/google-noto-vf/NotoSans-Italic-VF.ttf
So it doesn't make sense to me to add a mechanism to automate that unless it is going to change more often or grow much larger.
from lorax.
We can't promise anything about it. It may happens or may not. I didn't check but there may be more files we can drop. dunno.
from lorax.
removefrom google-noto-sans-cjk-fonts /usr/share/fonts/google-noto-sans-cjk-fonts/NotoSansCJK-{Black,Bold,*Light,Medium,Thin}.ttc
If we switch lorax to use the noto vf cjk fonts - this should no longer be needed
from lorax.
Switched to default fonts packages in lorax v40.5, closing this.
from lorax.
Related Issues (20)
- Move packages needed by anaconda out of the template and into anaconda-install-env-deps HOT 1
- treebuilder findkernels() only finds kernels in /boot HOT 2
- The live ISO images generated by livemedia-creator are unbootable if the squashed root filesystem is over 4GB HOT 2
- Installer image build with dnf5 fails if package is present in more than one repo: `Duplicate packages found in _pkgver request`
- [Guide + Question] Using livemedia-creator to create an ISO in Github Actions HOT 4
- Lorax installpkg no longer uses Provides HOT 1
- aarch64: The rootfs ran out of space with size=2 HOT 1
- Issues with Creating ISOs with Lorax inside a privileged Docker Container HOT 3
- Failed to import the GPG key on f39 HOT 7
- Problem zeroing free blocks on livemedia-creator RHEL/CentOS 8 HOT 2
- mkksiso isn't working with DVD isos HOT 2
- Kernel Panic with rhel 9 HOT 1
- Unable to disable mediacheck / rd.live.check HOT 2
- iso-graft wrong dir workdir vs. outroot HOT 8
- src//ltmpl.py
- mkksiso doesn't support EUFI entries HOT 2
- does livemedia-creator only create live ISOs? HOT 11
- Unmount is not done when Error in POSTIN scriptlet in rpm package HOT 1
- What is the writing idea of template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lorax.