sysvinit-2.98-dragora_consolidated-1.patch 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. --- sysvinit-2.98/src/Makefile.orig 2020-11-16 22:52:07.000000000 -0300
  2. +++ sysvinit-2.98/src/Makefile 2021-01-20 07:02:04.447372390 -0300
  3. @@ -23,19 +23,19 @@
  4. # For some known distributions we do not build all programs, otherwise we do.
  5. BIN =
  6. -SBIN = init halt shutdown runlevel killall5 fstab-decode logsave
  7. -USRBIN = last mesg readbootlog
  8. +SBIN = init halt shutdown runlevel killall5 fstab-decode
  9. +USRBIN = readbootlog
  10. -MAN1 = last.1 lastb.1 mesg.1 readbootlog.1
  11. +MAN1 = readbootlog.1
  12. MAN5 = initscript.5 inittab.5 initctl.5
  13. -MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
  14. -MAN8 += shutdown.8 telinit.8 fstab-decode.8 logsave.8
  15. +MAN8 = halt.8 init.8 killall5.8 poweroff.8 reboot.8 runlevel.8
  16. +MAN8 += shutdown.8 telinit.8 fstab-decode.8
  17. ifeq ($(DISTRO),)
  18. -SBIN += sulogin bootlogd
  19. -USRBIN += utmpdump wall
  20. -MAN1 += utmpdump.1 wall.1
  21. -MAN8 += sulogin.8 bootlogd.8
  22. +SBIN += bootlogd
  23. +#USRBIN += utmpdump wall
  24. +#MAN1 += utmpdump.1 wall.1
  25. +MAN8 += bootlogd.8
  26. endif
  27. ifeq ($(DISTRO),Debian)
  28. @@ -90,16 +90,16 @@
  29. endif
  30. # Additional libs for GNU libc.
  31. -ifneq ($(wildcard $(ROOT)/usr/lib*/libcrypt.*),)
  32. - SULOGINLIBS += -lcrypt
  33. -endif
  34. +#ifneq ($(wildcard $(ROOT)/usr/lib*/libcrypt.*),)
  35. +# SULOGINLIBS += -lcrypt
  36. +#endif
  37. # Additional libs for GNU libc / multiarch on Debian based systems.
  38. -ifneq ($(wildcard $(ROOT)/usr/lib/*/libcrypt.*),)
  39. -ifneq ($(findstring -lcrypt, $(SULOGINLIBS)), -lcrypt)
  40. - SULOGINLIBS += -lcrypt
  41. -endif
  42. -endif
  43. +#ifneq ($(wildcard $(ROOT)/usr/lib/*/libcrypt.*),)
  44. +#ifneq ($(findstring -lcrypt, $(SULOGINLIBS)), -lcrypt)
  45. +# SULOGINLIBS += -lcrypt
  46. +#endif
  47. +#endif
  48. all: $(BIN) $(SBIN) $(USRBIN)
  49. @@ -208,10 +208,10 @@
  50. ln -sf halt $(ROOT)/sbin/reboot
  51. ln -sf halt $(ROOT)/sbin/poweroff
  52. ln -sf init $(ROOT)/sbin/telinit
  53. - ln -sf /sbin/killall5 $(ROOT)/bin/pidof
  54. - if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
  55. - ln -sf last $(ROOT)/usr/bin/lastb; \
  56. - fi
  57. + #ln -sf /sbin/killall5 $(ROOT)/bin/pidof
  58. + #if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
  59. + # ln -sf last $(ROOT)/usr/bin/lastb; \
  60. + #fi
  61. $(INSTALL_DIR) $(ROOT)/usr/include/
  62. $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
  63. $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/
  64. @@ -233,8 +233,8 @@
  65. #
  66. # This part is skipped on Debian systems, the
  67. # debian.preinst script takes care of it.
  68. - @if [ ! -p /run/initctl ]; then \
  69. - echo "Creating /run/initctl"; \
  70. - rm -f /run/initctl; \
  71. - mknod -m 600 /run/initctl p; fi
  72. + #@if [ ! -p /run/initctl ]; then \
  73. + # echo "Creating /run/initctl"; \
  74. + # rm -f /run/initctl; \
  75. + # mknod -m 600 /run/initctl p; fi
  76. endif