From: Chris Gianelloni Date: Tue, 21 Feb 2006 19:50:22 +0000 (+0000) Subject: Added wrapping around the udev sed for those crazy 2.4-users. X-Git-Tag: CATALYST_2_0_6_916~399 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4d15b124086a78f85e0d40837627403daff13b7;p=catalyst.git Added wrapping around the udev sed for those crazy 2.4-users. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1095 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 44747bbb..2e75a40c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.580 2006/02/17 14:50:15 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.581 2006/02/21 19:50:22 wolf31o2 Exp $ + + 21 Feb 2006; Chris Gianelloni + targets/support/livecdfs-update.sh: + Added wrapping around the udev sed for those crazy 2.4-users. 17 Feb 2006; Chris Gianelloni catalyst, targets/support/livecdfs-update.sh: diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index 8198e99b..b8817a6c 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.38 2006/02/17 14:50:15 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.39 2006/02/21 19:50:22 wolf31o2 Exp $ . /tmp/chroot-functions.sh @@ -309,4 +309,7 @@ case ${clst_livecd_type} in ;; esac -sed -i "s:\t\[\[ -x /sbin/evms_activate:\t\[\[ -x \${CDBOOT} \]\] \&\& \[\[ -x /sbin/evms_activate:" /lib/rcscripts/addons/udev-start.sh +if [-e /lib/rcscripts/addons/udev-start.sh ] +then + sed -i "s:\t\[\[ -x /sbin/evms_activate:\t\[\[ -x \${CDBOOT} \]\] \&\& \[\[ -x /sbin/evms_activate:" /lib/rcscripts/addons/udev-start.sh +fi