Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (7193282772e7fb7a623db83752237b9cf799f00b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (7193282772e7fb7a623db83752237b9cf799f00b)
  • Date: Tue, 31 May 2011 12:11:37 -0500

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

smgl/init.d/DETAILS | 2 +-
smgl/init.d/HISTORY | 5 +++++
smgl/init.d/PRE_BUILD | 9 ---------
smgl/init.d/init.d/devices | 8 ++++++++
4 files changed, 14 insertions(+), 10 deletions(-)

New commits:
commit 7193282772e7fb7a623db83752237b9cf799f00b
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

init.d: mount ramfs on /dev if devtmpfs is not used

udev 171 is OK without devtmpfs, tested with several kernels

diff --git a/smgl/init.d/DETAILS b/smgl/init.d/DETAILS
index 9138df9..d8e1abf 100755
--- a/smgl/init.d/DETAILS
+++ b/smgl/init.d/DETAILS
@@ -1,5 +1,5 @@
SPELL=init.d
- VERSION=2.2.10
+ VERSION=2.2.11
LICENSE[0]=GPL
GATHER_DOCS=off
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
index 48d77b8..c1a5997 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,3 +1,8 @@
+2011-05-31 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 2.2.11
+ * PRE_BUILD: check for CONFIG_DEVTMPFS_MOUNT removed
+ * init.d/devices: mount ramfs on /dev if devtmpfs is not used
+
2011-05-19 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.2.10
* INSTALL: /run created
diff --git a/smgl/init.d/PRE_BUILD b/smgl/init.d/PRE_BUILD
index 725bc8f..077e14d 100755
--- a/smgl/init.d/PRE_BUILD
+++ b/smgl/init.d/PRE_BUILD
@@ -1,12 +1,3 @@
-if [[ "$DEVICES" == "udev" ]]; then
- if [[ "$(get_kernel_config CONFIG_DEVTMPFS_MOUNT)" != "y" ]]
- then
- message "${SPELL_COLOR}$SPELL${DEFAULT_COLOR}${PROBLEM_COLOR} requires" \
- "CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT
built-in${DEFAULT_COLOR}" &&
- return 1
- fi
-fi &&
-
# Remove old init.d
persistent_add INITD_FIRST &&
INITD_FIRST=n &&
diff --git a/smgl/init.d/init.d/devices b/smgl/init.d/init.d/devices
index e4f8962..b7c3484 100755
--- a/smgl/init.d/init.d/devices
+++ b/smgl/init.d/init.d/devices
@@ -41,6 +41,14 @@ udev_mknodes()
start_udev()
{ (
. /etc/udev/udev.conf
+ echo "Checking if devtmpfs or ramfs is used for $udev_root ..."
+ if grep devtmpfs /proc/mounts; then
+ echo "devtmpfs is used for $udev_root"
+ else
+ echo "ramfs is used for $udev_root"
+ echo "Mounting ramfs at $udev_root"
+ mount -n -t ramfs none $udev_root
+ fi
# create some needed stuff
udev_mknodes




  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (7193282772e7fb7a623db83752237b9cf799f00b), Ladislav Hagara, 05/31/2011

Archive powered by MHonArc 2.6.24.

Top of Page