l_template_changes.patch 1.1 KB

123456789101112131415161718192021222324252627282930
  1. --- l_template.orig 2020-12-11 20:19:10.957196000 +0600
  2. +++ template 2020-12-11 20:30:37.224164576 +0600
  3. @@ -6,6 +6,6 @@ bootstrap=yes
  4. depends="xbps-triggers"
  5. -short_desc="Void Linux base system files"
  6. +short_desc="Ymir Linux base system files"
  7. maintainer="Enno Boland <orphan@voidlinux.org>"
  8. license="Public Domain"
  9. -homepage="https://www.voidlinux.org"
  10. +homepage="https://www.ymirlinux.org"
  11. conf_files="
  12. @@ -77,3 +77,4 @@ do_install() {
  13. # sysctl(8) files
  14. - vinstall ${FILESDIR}/sysctl.conf 644 usr/lib/sysctl.d 10-void.conf
  15. + # Liberation: changed the name of conf file for Ymir
  16. + vinstall ${FILESDIR}/sysctl.conf 644 usr/lib/sysctl.d 10-ymir.conf
  17. @@ -89,5 +90,10 @@ do_install() {
  18. + # Liberation: Changed distribution name instances for Ymir
  19. + sed -i "s|Void|Ymir|g" ${DESTDIR}/usr/bin/lsb_release
  20. + sed -i "s|void|ymir|" ${DESTDIR}/usr/bin/lsb_release
  21. +
  22. # Install default dracut configuration.
  23. + # Liberation: changed the destination name of dracut conf file for Ymir
  24. vinstall ${FILESDIR}/dracut.conf.d.voidlinux.conf 644 \
  25. - usr/lib/dracut/dracut.conf.d 00-void.conf
  26. + usr/lib/dracut/dracut.conf.d 00-ymir.conf