From 7312c6863def4c0b50edaa52751fe0917bcff65a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 28 Jun 2008 00:14:55 +0300 Subject: [PATCH] modules: Introduced EMBEDDED_INIT, which enables busybox's init when building embedded --- busybox/embedded-init.config | 4 ++++ pkg_conf/busybox.conf | 1 + pkgsel.d/Base/EMBEDDED_INIT.ask | 17 +++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 busybox/embedded-init.config create mode 100644 pkgsel.d/Base/EMBEDDED_INIT.ask diff --git a/busybox/embedded-init.config b/busybox/embedded-init.config new file mode 100644 index 0000000..8f0737f --- /dev/null +++ b/busybox/embedded-init.config @@ -0,0 +1,4 @@ +X CONFIG_INIT +X CONFIG_FEATURE_USE_INITTAB +X CONFIG_FEATURE_INIT_SCTTY +X CONFIG_FEATURE_INIT_SYSLOG diff --git a/pkg_conf/busybox.conf b/pkg_conf/busybox.conf index af140f4..4109045 100644 --- a/pkg_conf/busybox.conf +++ b/pkg_conf/busybox.conf @@ -31,6 +31,7 @@ bb_mnemosyne_append mnemosyne case "$SDECFG_TRG_MNEMOSYNE_FOOTPRINT" in embedded) bb_mnemosyne_append embedded + [ "$SDECFG_TRG_MNEMOSYNE_EMBEDDED_INIT" = 1 ] && bb_mnemosyne_append embedded-init ;; esac diff --git a/pkgsel.d/Base/EMBEDDED_INIT.ask b/pkgsel.d/Base/EMBEDDED_INIT.ask new file mode 100644 index 0000000..5fa5fe2 --- /dev/null +++ b/pkgsel.d/Base/EMBEDDED_INIT.ask @@ -0,0 +1,17 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: target/mnemosyne/pkgsel.d/Base/EMBEDDED_INIT.ask +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +#Description: Use BusyBox init instead of fully-custom +#Dependencies: FOOTPRINT=embedded +#Default: 1