linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Modification to install in support of usb remover
@ 2001-06-08 19:05 Stephen Williams
  2001-06-08 19:24 ` Chmouel Boudjnah
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephen Williams @ 2001-06-08 19:05 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]


Here are diffs to the hotplug.spec file that creates the /var/run/usb
directory (with correct permissions) at install time. This should
finish up the usb remover support. I've updated the README to include
mention of the /var/run/usb directory, and I've included in the spec
file the steps to make the directory. I've only bumped the spec release
number because this is harmless to the named release.

I've included the diffs. I can do the commit myself, but I just
want to check first that this is OK with the existing cadre.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."


[-- Attachment #2: foo --]
[-- Type: text/plain , Size: 1890 bytes --]

Index: README
===================================================================
RCS file: /cvsroot/linux-hotplug/admin/README,v
retrieving revision 1.5
diff -u -r1.5 README
--- README	2001/04/19 22:32:24	1.5
+++ README	2001/06/08 19:02:08
@@ -61,8 +61,13 @@
 
 	# mkdir -p /etc/hotplug
 	# cp -r etc/hotplug/* /etc/hotplug
- 
- (4)  Make your system start hotplugging (and maybe coldplugging,
+
+ (4)  Make the directory in /var/run for use remove support:
+
+	# mkdir -p /var/run/usb
+	# chmod 600 /var/run/usb
+
+ (5)  Make your system start hotplugging (and maybe coldplugging,
       if you installed the right usb and pci utilities) after it's
       booted and filesystems are mounted.  On RedHat systems:
 
Index: hotplug.spec
===================================================================
RCS file: /cvsroot/linux-hotplug/admin/hotplug.spec,v
retrieving revision 1.10
diff -u -r1.10 hotplug.spec
--- hotplug.spec	2001/04/24 18:21:26	1.10
+++ hotplug.spec	2001/06/08 19:02:08
@@ -1,7 +1,7 @@
 Summary:		Linux Hotplug Scripts
 Name:			hotplug
 Version:		2001_04_24
-Release:		1
+Release:		2
 Group:			Applications/System
 License:		GPL
 Url:			http://linux-hotplug.sourceforge.net/
@@ -24,6 +24,7 @@
 mkdir -p ${RPM_BUILD_ROOT}/sbin
 mkdir -p ${RPM_BUILD_ROOT}/etc/hotplug
 mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d
+mkdir -p ${RPM_BUILD_ROOT}/var/run/usb
 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
 	
 # install the main hotplug script
@@ -39,6 +40,8 @@
 cp -a *.8  ${RPM_BUILD_ROOT}%{_mandir}/man8
 
 %files
+%attr(0600,root,root) %dir /var/run/usb
+
 %defattr(-,root,root)
 /sbin/*
 /etc/rc.d/init.d/*
@@ -64,6 +67,9 @@
 
 
 %changelog
+* Fri Jun 8 2001 Steve Williams <steve@icarus.com>
+- added the /var/run/usb directory to spec file
+
 * Tue Apr 24 2001 Greg Kroah-Hartman <greg@kroah.com>
 - added the hotplug.8 manpage written by Fumitoshi UKAI <ukai@debian.or.jp>
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-11 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-08 19:05 Modification to install in support of usb remover Stephen Williams
2001-06-08 19:24 ` Chmouel Boudjnah
2001-06-08 19:41 ` Stephen Williams
2001-06-11 16:12 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).