9000-nonsystemd.patch 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Makefile | 6 +-----
  2. init_functions | 11 -----------
  3. 2 files changed, 1 insertion(+), 16 deletions(-)
  4. diff --git a/Makefile b/Makefile
  5. index 9ef0f6a..f6e322e 100644
  6. --- a/Makefile
  7. +++ b/Makefile
  8. @@ -17,7 +17,6 @@ DIRS = \
  9. /usr/share/man/man5 \
  10. /usr/share/man/man1 \
  11. /usr/share/mkinitcpio \
  12. - /usr/lib/systemd/system/shutdown.target.wants \
  13. /usr/lib/tmpfiles.d \
  14. /usr/share/libalpm/hooks \
  15. /usr/share/libalpm/scripts
  16. @@ -57,10 +56,7 @@ install: all
  17. cp -at $(DESTDIR)/usr/lib/initcpio hooks install
  18. install -m644 -t $(DESTDIR)/usr/share/mkinitcpio mkinitcpio.d/*
  19. - install -m644 systemd/mkinitcpio-generate-shutdown-ramfs.service \
  20. - $(DESTDIR)/usr/lib/systemd/system/mkinitcpio-generate-shutdown-ramfs.service
  21. - ln -s ../mkinitcpio-generate-shutdown-ramfs.service \
  22. - $(DESTDIR)/usr/lib/systemd/system/shutdown.target.wants/mkinitcpio-generate-shutdown-ramfs.service
  23. +
  24. install -m644 tmpfiles/mkinitcpio.conf $(DESTDIR)/usr/lib/tmpfiles.d/mkinitcpio.conf
  25. install -m755 50-mkinitcpio.install $(DESTDIR)/usr/lib/kernel/install.d/50-mkinitcpio.install
  26. diff --git a/init_functions b/init_functions
  27. index 8ad10c7..5579a49 100644
  28. --- a/init_functions
  29. +++ b/init_functions
  30. @@ -298,17 +298,6 @@ fsck_root() {
  31. elif bitfield_has_bit "$fsckret" 128; then
  32. err "fatal error invoking fsck"
  33. fi
  34. -
  35. - # ensure that root is going to be mounted rw. Otherwise, systemd
  36. - # might fsck the device again. Annoy the user so that they fix this.
  37. - if [ "${rwopt:-ro}" != 'rw' ]; then
  38. - echo "********************** WARNING **********************"
  39. - echo "* *"
  40. - echo "* The root device is not configured to be mounted *"
  41. - echo "* read-write! It may be fsck'd again later. *"
  42. - echo "* *"
  43. - echo "*****************************************************"
  44. - fi
  45. fi
  46. }