SVN: geninitrd/trunk: Makefile geninitrd

arekm arekm at pld-linux.org
Sun Jul 6 00:06:36 CEST 2008


Author: arekm
Date: Sun Jul  6 00:06:35 2008
New Revision: 9840

Modified:
   geninitrd/trunk/Makefile
   geninitrd/trunk/geninitrd
Log:
inst_d already handles destdir.

Modified: geninitrd/trunk/Makefile
==============================================================================
--- geninitrd/trunk/Makefile	(original)
+++ geninitrd/trunk/Makefile	Sun Jul  6 00:06:35 2008
@@ -1,4 +1,4 @@
-VERSION		:= 9000.13
+VERSION		:= 9000.14
 FILES		:= Makefile geninitrd.sysconfig geninitrd functions geninitrd.8 geninitrd.8.xml ChangeLog
 prefix		:= /usr
 mandir		:= $(prefix)/share/man

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Sun Jul  6 00:06:35 2008
@@ -970,7 +970,7 @@
 			fi
 		else
 			FIRMWAREDIR=${firmware%/*}
-			[ "$FIRMWAREDIR" != "$firmware" ] && inst_d $DESTDIR/lib/firmware/$FIRMWAREDIR
+			[ "$FIRMWAREDIR" != "$firmware" ] && inst_d /lib/firmware/$FIRMWAREDIR
 			inst /lib/firmware/$firmware $DESTDIR/lib/firmware/$firmware
 		fi
 	done
@@ -985,7 +985,7 @@
 
 	for mod in $modules; do
 		MODULEDIR=${mod%/*}
-		inst_d "$DESTDIR/lib/modules/$kernel/$MODULEDIR"
+		inst_d "/lib/modules/$kernel/$MODULEDIR"
 		cp -a "/lib/modules/$kernel/$mod" "$DESTDIR/lib/modules/$kernel/$mod"
 		gunzip "$DESTDIR/lib/modules/$kernel/$mod" 2> /dev/null
 	done


More information about the pld-cvs-commit mailing list