sysvinit-2.93-dragora_consolidated-1.patch 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --- sysvinit-2.93/src/Makefile.orig 2018-11-24 13:38:12.000000000 -0300
  2. +++ sysvinit-2.93/src/Makefile 2018-11-24 16:08:39.042099643 -0300
  3. @@ -24,18 +24,18 @@
  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
  7. -USRBIN = last mesg readbootlog
  8. +USRBIN = readbootlog
  9. -MAN1 = last.1 lastb.1 mesg.1 readbootlog.1
  10. +MAN1 = readbootlog.1
  11. MAN5 = initscript.5 inittab.5 initctl.5
  12. -MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
  13. +MAN8 = halt.8 init.8 killall5.8 poweroff.8 reboot.8 runlevel.8
  14. MAN8 += shutdown.8 telinit.8 fstab-decode.8
  15. ifeq ($(DISTRO),)
  16. -SBIN += sulogin bootlogd
  17. -USRBIN += utmpdump wall
  18. -MAN1 += utmpdump.1 wall.1
  19. -MAN8 += sulogin.8 bootlogd.8
  20. +SBIN += bootlogd
  21. +#USRBIN += utmpdump wall
  22. +#MAN1 += utmpdump.1 wall.1
  23. +MAN8 += bootlogd.8
  24. endif
  25. ifeq ($(DISTRO),Debian)
  26. @@ -90,14 +90,14 @@
  27. endif
  28. # Additional libs for GNU libc.
  29. -ifneq ($(wildcard /usr/lib*/libcrypt.*),)
  30. - SULOGINLIBS += -lcrypt
  31. -endif
  32. +#ifneq ($(wildcard /usr/lib*/libcrypt.*),)
  33. +# SULOGINLIBS += -lcrypt
  34. +#endif
  35. # Additional libs for GNU libc / multiarch on Debian based systems.
  36. -ifneq ($(wildcard /usr/lib/*/libcrypt.*),)
  37. - SULOGINLIBS += -lcrypt
  38. -endif
  39. +#ifneq ($(wildcard /usr/lib/*/libcrypt.*),)
  40. +# SULOGINLIBS += -lcrypt
  41. +#endif
  42. all: $(BIN) $(SBIN) $(USRBIN)
  43. @@ -197,10 +197,10 @@
  44. ln -sf halt $(ROOT)/sbin/reboot
  45. ln -sf halt $(ROOT)/sbin/poweroff
  46. ln -sf init $(ROOT)/sbin/telinit
  47. - ln -sf /sbin/killall5 $(ROOT)/bin/pidof
  48. - if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
  49. - ln -sf last $(ROOT)/usr/bin/lastb; \
  50. - fi
  51. + #ln -sf /sbin/killall5 $(ROOT)/bin/pidof
  52. + #if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
  53. + # ln -sf last $(ROOT)/usr/bin/lastb; \
  54. + #fi
  55. $(INSTALL_DIR) $(ROOT)/usr/include/
  56. $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
  57. $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/
  58. @@ -222,8 +222,8 @@
  59. #
  60. # This part is skipped on Debian systems, the
  61. # debian.preinst script takes care of it.
  62. - @if [ ! -p /run/initctl ]; then \
  63. - echo "Creating /run/initctl"; \
  64. - rm -f /run/initctl; \
  65. - mknod -m 600 /run/initctl p; fi
  66. + #@if [ ! -p /run/initctl ]; then \
  67. + # echo "Creating /run/initctl"; \
  68. + # rm -f /run/initctl; \
  69. + # mknod -m 600 /run/initctl p; fi
  70. endif