CVS: moonbase/utils/makedev BUILD, 1.2, 1.3 DETAILS, 1.1.1.1,
1.2 POST_INSTALL, 1.1.1.1, 1.2 makedev-1.4.2, 1.1.1.1, NONE
Chuck Mead
csm at lunar-linux.org
Sun Oct 26 04:51:54 GMT 2003
Update of /var/cvs/lunar/moonbase/utils/makedev
In directory dbguin.lunar-linux.org:/tmp/cvs-serv22669
Modified Files:
BUILD DETAILS POST_INSTALL
Removed Files:
makedev-1.4.2
Log Message:
updating this so we can support other architectures soon!
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/makedev/BUILD,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- BUILD 27 Aug 2002 00:18:27 -0000 1.2
+++ BUILD 26 Oct 2003 04:51:52 -0000 1.3
@@ -5,8 +5,8 @@
echo
exit 1
}
+ make &&
prepare_install &&
- cp -f $SCRIPT_DIRECTORY/$MODULE-$VERSION /dev/MAKEDEV &&
- chmod 754 /dev/MAKEDEV
+ make install
) > $C_FIFO 2>&1
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/makedev/DETAILS,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- DETAILS 21 Aug 2002 00:55:21 -0000 1.1.1.1
+++ DETAILS 26 Oct 2003 04:51:52 -0000 1.2
@@ -1,8 +1,11 @@
MODULE=makedev
- VERSION=1.4.2
+ VERSION=3.3.8
+ SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+ SOURCE_URL[0]=$LRESORT_URL/$SOURCE
+ WEB_SITE=http://www.lunar-linux.org
ENTERED=20020319
- UPDATED=20020526
+ UPDATED=20031025
SHORT="makedev (MAKEDEV) is a script to (re-)create the devices under /dev"
cat << EOF
makedev (MAKEDEV) is a script to (re-)create the devices under /dev
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/makedev/POST_INSTALL,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- POST_INSTALL 21 Aug 2002 00:55:21 -0000 1.1.1.1
+++ POST_INSTALL 26 Oct 2003 04:51:52 -0000 1.2
@@ -1,14 +1,119 @@
-. $MODULE_CONFIG
+[ -d /dev ] || /bin/mkdir /dev
+/usr/sbin/groupadd -g 25 -r -f floppy > /dev/null 2>/dev/null
+/usr/sbin/useradd -c "virtual console memory owner" -u 69 -s /sbin/nologin -d /dev vcsa
-case $RUN_MAKEDEV in
- y|Y) pushd . >/dev/null
- cd /dev
- message "creating devices"
- ./MAKEDEV generic
- message "done."
- sedit "s/RUN_MAKEDEV=\"y\"/RUN_MAKEDEV=\"n\"/" $MODULE_CONFIG
- popd >/dev/null
- ;;
- *) true
- ;;
- esac
+makedev() {
+ /dev/MAKEDEV -c /etc/makedev.d -d /dev -M $@
+ }
+
+makedev agpgart
+makedev apm_bios
+makedev beep
+makedev capi20
+makedev cdrom
+makedev cfs
+makedev compaq
+makedev -m 32 console
+makedev cpu
+makedev -m 4 cua
+makedev -m 16 cui
+makedev dri
+makedev enskip
+makedev fb
+makedev fd0
+makedev fd1
+makedev ftape
+makedev -m 2 ht
+makedev -m 2 i2c
+makedev i2o
+makedev ibcs
+makedev -m 33 ide
+makedev initrd
+makedev -m 32 input
+makedev -m 16 ip
+makedev -m 16 ipfilter
+makedev ir
+makedev -m 2 iscc
+makedev -m 16 isdn
+makedev -m 4 js
+makedev kpoll
+makedev -m 32 loop
+makedev -m 1 log
+makedev -m 8 lp
+makedev md
+makedev mouse
+makedev -m 32 nb
+makedev net/tun
+makedev netlink
+makedev -m 2 nht
+makedev -m 4 nosst
+makedev -m 16 nst
+makedev -m 4 osst
+makedev -m 8 par
+makedev -m 4 pcd
+makedev pd
+makedev -m 4 pf
+makedev -m 4 pg
+makedev -m 4 ppp
+makedev pt
+makedev ptmx
+makedev pty
+makedev qng
+makedev -m 20 ram
+makedev random
+makedev raid
+makedev raw
+makedev rmt
+makedev rtc
+makedev -m 8 scd
+makedev -m 16 scramdisk
+makedev sd
+makedev -m 32 sg
+makedev smpt
+makedev sound
+makedev -m 16 st
+makedev systty
+makedev -m 4 staliomem
+makedev std
+makedev tlk
+makedev -m 32 tty
+makedev urandom
+makedev -m 32 usb
+makedev -m 4 v4l
+makedev vcs
+makedev video1394
+makedev vmmon
+makedev -m 4 vnet
+makedev vsys
+makedev -m 4 winradio
+makedev xda
+makedev xdb
+
+install -d -m 755 /dev/pts
+install -d -m 755 /dev/shm
+
+exit 0
+
+########### following are devices for non i386 $arch ##########
+#%ifarch ia64
+#makedev efirtc
+#%endif
+
+#%ifarch sparc sparc64
+#makedev audioctl
+#makedev kbd
+#makedev openprom
+#ln -s sunmouse $RPM_BUILD_ROOT/dev/mouse
+#for dev in aztcd cdu31a cdu535 cm205cd cm206cd gscd hitcd mcd mcdx \
+#sbpcd1 sbpcd2 scd3 sjcd sbpcd3 sonycd sbpcd sbpcd0 \
+#atibm inportbm logibm ; do
+#rm -f $RPM_BUILD_ROOT/dev/${dev}
+#grep -v "/dev/${dev}" manifest > manifest.tmp && mv manifest.tmp manifest
+#done
+#%endif
+
+#%ifarch ppc ppc64
+#makedev iseries
+#makedev nvram
+#makedev hvc0
+#%endif
--- makedev-1.4.2 DELETED ---
More information about the Lunar-commits
mailing list