View Single Post
Old 12-13-2022, 04:16 PM   #15
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,420
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Ned View Post
Just starting to create the .yaml file and I notice that there is an awful lot of code and I only enable very few features.

Is there any technical reason why I cannot simply delete the lines relating to features I don't want, thereby giving me a much more manageable file?

e.g. Custom Sleep/Power-off timeouts:
- Enabled: no

can I delete the whole section down to where the next one starts ?
Or if it is Enabled: no can I delete all the lines of code after no?

Using only the features I want will then give me a nice compact kobopatch.yaml

No reason. If you want to do it a different way from me, well, I didn't get my way from a set of stone tablets, just a personal preference. You will need to retain the source file. Since I only use one option for libnickel.so.1.0.0.yaml, I could simplify that entry to:

Code:
  src/libnickel.so.1.0.0.yaml:
    Unify font sizes: yes
Please note the use of spaces is not flexible.
DNSB is online now   Reply With Quote