Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9834ede8af2e9e1eb782b4dc28d6b6f366efcd58)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9834ede8af2e9e1eb782b4dc28d6b6f366efcd58)
  • Date: Thu, 3 Mar 2011 21:57:55 -0600

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

smgl/init.d/DETAILS | 2 +-
smgl/init.d/HISTORY | 5 +++++
smgl/init.d/init.d/devices | 29 +++++++++++++++--------------
3 files changed, 21 insertions(+), 15 deletions(-)

New commits:
commit 9834ede8af2e9e1eb782b4dc28d6b6f366efcd58
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

init.d: version bump to 2.2.8

commit 589ebc9e71ee266a3923866618de8083a3ba78bd
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

init.d: Make /dev/shm accessable by anyone

commit 00c3ddf4ee1399547017639542b9bf14c7c9e207
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

init.d: Remove duplicated code

diff --git a/smgl/init.d/DETAILS b/smgl/init.d/DETAILS
index 51985c7..e1a99fd 100755
--- a/smgl/init.d/DETAILS
+++ b/smgl/init.d/DETAILS
@@ -1,5 +1,5 @@
SPELL=init.d
- VERSION=2.2.7
+ VERSION=2.2.8
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 4706798..8631ff9 100644
--- a/smgl/init.d/HISTORY
+++ b/smgl/init.d/HISTORY
@@ -1,3 +1,8 @@
+2011-03-04 Ismael Luceno <ismael AT sourcemage.org>
+ * init.d/devices: Removed duplicated code
+ Made /dev/shm accessable by anyone
+ * DETAILS: version bump to 2.2.8
+
2010-09-28 Vlad Glagolev <stealth AT sourcemage.org>
* init.d/mountroot.sh: don't write mdadm pid to non-existent partition
(if /var exists on a separate one)
diff --git a/smgl/init.d/init.d/devices b/smgl/init.d/init.d/devices
index ff5aa30..c1b4133 100755
--- a/smgl/init.d/init.d/devices
+++ b/smgl/init.d/init.d/devices
@@ -26,18 +26,26 @@ start_devfs()
fi
}

+udev_mknodes()
+{
+ if [ ! -d $udev_root/fd ]; then
+ ln -fs /proc/self/fd $udev_root/fd
+ fi
+ ln -s /dev/fd/0 $udev_root/stdin
+ ln -s /dev/fd/1 $udev_root/stdout
+ ln -s /dev/fd/2 $udev_root/stderr
+ mkdir $udev_root/shm
+ chmod 1777 $udev_root/shm
+ mkdir $udev_root/pts
+}
+
start_udev()
{ (
. /etc/udev/udev.conf
echo "Mounting ramfs at $udev_root"
mount -n -t ramfs none $udev_root
# create some needed stuff
- ln -s /proc/self/fd $udev_root/fd
- ln -s /dev/fd/0 $udev_root/stdin
- ln -s /dev/fd/1 $udev_root/stdout
- ln -s /dev/fd/2 $udev_root/stderr
- mkdir $udev_root/shm
- mkdir $udev_root/pts
+ udev_mknodes

# strip out kernel sublevel and patchlevel so we can check against them
# since we don't support 1.x linux kernels then we don't have to check that
@@ -85,14 +93,7 @@ start_static_udev()
{ (
. /etc/udev/udev.conf
# create some needed stuff - and insist on it
- if [ ! -d $udev_root/fd ]; then
- ln -fs /proc/self/fd $udev_root/fd
- fi
- ln -fs /dev/fd/0 $udev_root/stdin
- ln -fs /dev/fd/1 $udev_root/stdout
- ln -fs /dev/fd/2 $udev_root/stderr
- mkdir -p $udev_root/shm
- mkdir -p $udev_root/pts
+ udev_mknodes

# strip out kernel sublevel and patchlevel so we can check against them
# since we don't support 1.x linux kernels then we don't have to check that



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9834ede8af2e9e1eb782b4dc28d6b6f366efcd58), Ismael Luceno, 03/03/2011

Archive powered by MHonArc 2.6.24.

Top of Page