Skip to contentSkip to conversation

system: sysvinit needs MMU

PATCH New Yann E. MORIN 2 participants 3 messages Aug 13, 2016 – Aug 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 system: sysvinit needs MMU

It uses spawn() and thus fork(), so it needs an MMU.

Fixes a build issue reported on IRC for a cortex-m4 build:
http://pastebin.com/dGCsy0sr

---
 package/sysvinit/Config.in | 1 +
 system/Config.in           | 1 +
 2 files changed, 2 insertions(+)
package/sysvinit/Config.in +1 -0
index ab67ed6..94f1612 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SYSVINIT
 	bool "sysvinit"
+	depends on BR2_USE_MMU # fork()
 	depends on BR2_INIT_SYSV
 	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	help
system/Config.in +1 -0
index 5855707..353421a 100644
@@ -106,6 +106,7 @@ config BR2_INIT_BUSYBOX
 
 config BR2_INIT_SYSV
 	bool "systemV"
+	depends on BR2_USE_MMU # sysvinit
 	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
 	select BR2_PACKAGE_INITSCRIPTS
 	select BR2_PACKAGE_SYSVINIT
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 system: sysvinit needs MMU

Quoted 1 line · Yann E. MORIN

It uses spawn() and thus fork(), so it needs an MMU.

spawn() is defined by sysvinit itself, so it doesn't make much sense to mention
that here.

Otherwise:

Regards,
Arnout

Quoted 34 lines

Fixes a build issue reported on IRC for a cortex-m4 build:
http://pastebin.com/dGCsy0sr

---
 package/sysvinit/Config.in | 1 +
 system/Config.in           | 1 +
 2 files changed, 2 insertions(+)
package/sysvinit/Config.in +1 -0
index ab67ed6..94f1612 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SYSVINIT
 	bool "sysvinit"
+	depends on BR2_USE_MMU # fork()
 	depends on BR2_INIT_SYSV
 	depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	help
system/Config.in +1 -0
index 5855707..353421a 100644
@@ -106,6 +106,7 @@ config BR2_INIT_BUSYBOX
 
 config BR2_INIT_SYSV
 	bool "systemV"
+	depends on BR2_USE_MMU # sysvinit
 	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
 	select BR2_PACKAGE_INITSCRIPTS
 	select BR2_PACKAGE_SYSVINIT
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#2 lore raw

PATCH 1/1 system: sysvinit needs MMU

Arnout, All,

On 2016-08-15 00:09 +0200, Arnout Vandecappelle spake thusly:

Quoted 5 lines · Yann E. MORIN
Quoted 1 line

It uses spawn() and thus fork(), so it needs an MMU.

spawn() is defined by sysvinit itself, so it doesn't make much sense to mention
that here.

Indeed...

Quoted 3 lines

Otherwise:

Already applied... But thanks! :-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'