mirror of
https://git.yoctoproject.org/poky
synced 2026-09-17 03:49:32 +02:00
Add insserv
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4830 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
20
meta/packages/insserv/files/42_loopnochangemsg.dpatch
Normal file
20
meta/packages/insserv/files/42_loopnochangemsg.dpatch
Normal file
@@ -0,0 +1,20 @@
|
||||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 40_loopnochangemsg.dpatch by Petter Reinholdtsen
|
||||
|
||||
Make it more obvious that introducing a loop will not change the
|
||||
existing boot sequence. Thanks to Frans Pop for the rationale for
|
||||
this change.
|
||||
|
||||
@DPATCH@
|
||||
|
||||
--- insserv-1.11.0.orig/insserv.c
|
||||
+++ insserv-1.11.0/insserv.c
|
||||
@@ -2647,7 +2647,7 @@
|
||||
follow_all();
|
||||
|
||||
if (is_loop_detected() && !ignore)
|
||||
- error("exiting now!\n");
|
||||
+ error("exiting without changing boot order!\n");
|
||||
|
||||
/*
|
||||
* Re-order some well known scripts to get
|
||||
Reference in New Issue
Block a user