summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-01-28 12:20:20 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-01-28 12:20:20 +0000
commit0c0533396e2777e52d1a781c388ac15748d3c223 (patch)
tree2bec7a97ad1dd35d4a1b038b94064eff72dfbdac /sys-apps/coldplug
parentstable (diff)
downloadhistorical-0c0533396e2777e52d1a781c388ac15748d3c223.tar.gz
historical-0c0533396e2777e52d1a781c388ac15748d3c223.tar.bz2
historical-0c0533396e2777e52d1a781c388ac15748d3c223.zip
Updated coldplug.rc to unpack firmware tarball. This is used by the LiveCD to allow /lib/firmware to be tmpfs without losing any firmwares that were installed on the LiveCD and allows users to provdie their own firmwares.
Package-Manager: portage-2.0.51-r14
Diffstat (limited to 'sys-apps/coldplug')
-rw-r--r--sys-apps/coldplug/ChangeLog7
-rw-r--r--sys-apps/coldplug/Manifest4
-rw-r--r--sys-apps/coldplug/files/coldplug.rc10
3 files changed, 17 insertions, 4 deletions
diff --git a/sys-apps/coldplug/ChangeLog b/sys-apps/coldplug/ChangeLog
index f29279ed8252..79f170c32d68 100644
--- a/sys-apps/coldplug/ChangeLog
+++ b/sys-apps/coldplug/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/coldplug
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coldplug/ChangeLog,v 1.6 2005/01/21 21:07:53 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coldplug/ChangeLog,v 1.7 2005/01/28 12:20:20 wolf31o2 Exp $
+
+ 28 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org> files/coldplug.rc:
+ Updated coldplug.rc to unpack firmware tarball. This is used by the LiveCD
+ to allow /lib/firmware to be tmpfs without losing any firmwares that were
+ installed on the LiveCD and allows users to provdie their own firmwares.
21 Jan 2005; Lars Weiler <pylon@gentoo.org> coldplug-20040920.ebuild:
Stable on ppc.
diff --git a/sys-apps/coldplug/Manifest b/sys-apps/coldplug/Manifest
index 11f554c99e2e..f7a2ce2a00ef 100644
--- a/sys-apps/coldplug/Manifest
+++ b/sys-apps/coldplug/Manifest
@@ -1,5 +1,5 @@
-MD5 ec118f32a75a29d3e49920985b58352a ChangeLog 1306
MD5 6b60d75ba220475357e0ec1f7b24f013 coldplug-20040920.ebuild 839
+MD5 b2d6d56d27766272ef2903e33f69e901 ChangeLog 1611
MD5 075d5a933d6175160a02ddf15bd4f454 metadata.xml 260
-MD5 84f35322799b9d850051ed12b17a1f11 files/coldplug.rc 692
MD5 6038bb8c3af43a0e6f0aa876e4307df6 files/digest-coldplug-20040920 69
+MD5 6c7d68e4987abe08c5c82a440b13a246 files/coldplug.rc 889
diff --git a/sys-apps/coldplug/files/coldplug.rc b/sys-apps/coldplug/files/coldplug.rc
index 8e251c605aa2..ff1886647149 100644
--- a/sys-apps/coldplug/files/coldplug.rc
+++ b/sys-apps/coldplug/files/coldplug.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coldplug/files/coldplug.rc,v 1.2 2004/09/28 01:50:46 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coldplug/files/coldplug.rc,v 1.3 2005/01/28 12:20:20 wolf31o2 Exp $
depend() {
need modules
@@ -16,6 +16,14 @@ checkconfig() {
start() {
checkconfig || return 1
+
+ # This unpacks any firmware tarballs. Used for LiveCD.
+ if [ -e /lib/firmware.tar.bz2 ]
+ then
+ ebegin "Unpacking hotplug firmware"
+ tar xjf /lib/firmware.tar.bz2 -C /lib/firmware
+ eend 0
+ fi
for RC in /etc/hotplug/*.rc
do