[Lunar-commits] r26503 - in moonbase/branches/crater/modules_fixed_for_glibc_2.7: . util-linux
Samuel Verstraete
elangelo at lunar-linux.org
Tue Oct 30 09:31:08 CET 2007
Author: elangelo
Date: 2007-10-30 09:31:08 +0100 (Tue, 30 Oct 2007)
New Revision: 26503
Added:
moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/
moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/BUILD
moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DEPENDS
moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DETAILS
moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/POST_INSTALL
moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/make-issue
Removed:
moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/
Log:
think this is better, after all we no longer need util-linux if util-linux-ng is its replacement
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/BUILD
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/BUILD (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/BUILD 2007-10-30 08:31:08 UTC (rev 26503)
@@ -0,0 +1,12 @@
+(
+#still need several patches
+
+ OPTS+="--enable-arch --enable-agetty --enable-init --disable-kill \
+ --disable-last --disable-mesg --enable-partx --enable-raw \
+ --enable-rdev --enable-rename --disable-reset --disable-login-utils \
+ --enable-shedutils --disable-wall --enable-write"
+ default_build &&
+ install -g0 -o0 -m755 $SCRIPT_DIRECTORY/make-issue \
+ /sbin/make-issue
+
+) > $C_FIFO 2>&1
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DEPENDS
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DEPENDS (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DEPENDS 2007-10-30 08:31:08 UTC (rev 26503)
@@ -0,0 +1 @@
+depends ncurses
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DETAILS
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DETAILS (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/DETAILS 2007-10-30 08:31:08 UTC (rev 26503)
@@ -0,0 +1,17 @@
+ MODULE=util-linux
+ MOD=util-linux-ng
+ VERSION=2.13.0.1
+ SOURCE=$MOD-$VERSION.tar.bz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MOD-$VERSION
+ SOURCE_URL=$KERNEL_URL/pub/linux/utils/$MOD/v2.13
+ SOURCE_VFY=sha1:59e19626951955a1c4cab53f7fa4e818fd159887
+ ENTERED=20010922
+ UPDATED=20071029
+ SHORT="util-linux contains essential utilities for any Linux box."
+
+cat << EOF
+Util-linux is a suite of essential utilities for any Linux system. Its
+primary audience is system integrators and DIY Linux hackers. Util-linux
+is attempting to be portable, but the only platform it has been tested
+much on is Linux i386.
+EOF
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/POST_INSTALL
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/POST_INSTALL (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/POST_INSTALL 2007-10-30 08:31:08 UTC (rev 26503)
@@ -0,0 +1,8 @@
+if ! [ -d /etc/init.d ]; then
+ mkdir -p /etc/init.d
+fi
+
+if ! grep -q "^issu::once:/sbin/make-issue" /etc/inittab ; then
+ echo "issu::once:/sbin/make-issue" >> /etc/inittab
+fi
+
Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/make-issue
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/make-issue (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux/make-issue 2007-10-30 08:31:08 UTC (rev 26503)
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+[ ! -w /etc/ ] && exit 0
+
+for ISSUE in /etc/issue /etc/issue.net ; do
+ if [ -f /etc/lunar.release ] ; then
+ cat /etc/lunar.release > $ISSUE
+ else
+ echo "Lunar Linux 1.4.0 (General P. Fault)" > $ISSUE
+ fi
+ echo "Kernel `uname -r` on an `uname -m`" >> $ISSUE
+ echo "" >> $ISSUE
+done
+
More information about the Lunar-commits
mailing list