CVS: moonbase/utils/makedev install-devices.sh, NONE, 1.1 BUILD, 1.3,
1.4 POST_INSTALL, 1.2, 1.3 CONFIGURE, 1.1.1.1, NONE
Chuck Mead
csm at lunar-linux.org
Wed Oct 29 03:50:29 GMT 2003
Update of /var/cvs/lunar/moonbase/utils/makedev
In directory dbguin.lunar-linux.org:/tmp/cvs-serv30321
Modified Files:
BUILD POST_INSTALL
Added Files:
install-devices.sh
Removed Files:
CONFIGURE
Log Message:
removing configure script and adding a script to create all the devices
after installation if it fails!
--- NEW FILE: install-devices.sh ---
#!/bin/bash
cd /dev
./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
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/makedev/BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BUILD 26 Oct 2003 04:51:52 -0000 1.3
+++ BUILD 29 Oct 2003 03:50:26 -0000 1.4
@@ -7,6 +7,8 @@
}
make &&
prepare_install &&
+ install -d -m 755 /dev/pts &&
+ install -d -m 755 /dev/shm &&
make install
) > $C_FIFO 2>&1
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/makedev/POST_INSTALL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- POST_INSTALL 26 Oct 2003 04:51:52 -0000 1.2
+++ POST_INSTALL 29 Oct 2003 03:50:27 -0000 1.3
@@ -1,97 +1,11 @@
[ -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
-
-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
-
+cp $SCRIPT_DIRECTORY/install-devices.sh /dev
+chmod 0700 /dev/install-devices.sh
+echo ""
+echo "Please run /dev/install-devices.sh"
+echo ""
exit 0
########### following are devices for non i386 $arch ##########
--- CONFIGURE DELETED ---
More information about the Lunar-commits
mailing list