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
commit2ce5ef008646a194e824db4ecb7a8ff3b1ec1620 (patch)
treeccecf9bcacfa0e5e953897ab10602093c480d80c /sys-apps/coldplug
parentstable (diff)
downloadgentoo-2-2ce5ef008646a194e824db4ecb7a8ff3b1ec1620.tar.gz
gentoo-2-2ce5ef008646a194e824db4ecb7a8ff3b1ec1620.tar.bz2
gentoo-2-2ce5ef008646a194e824db4ecb7a8ff3b1ec1620.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.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'sys-apps/coldplug')
-rw-r--r--sys-apps/coldplug/ChangeLog7
-rw-r--r--sys-apps/coldplug/files/coldplug.rc10
2 files changed, 15 insertions, 2 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/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