[readonly/geninitrd/devel: 193/334] Fix creation of subdirectiories needed on in /dev on initrd image.
draenog
draenog at pld-linux.org
Sat Nov 2 19:27:45 CET 2013
commit 02266c5ed6f953db4393e5d4251022321c01663c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Mar 31 17:39:45 2004 +0000
Fix creation of subdirectiories needed on in /dev on initrd image.
svn-id: @3848
geninitrd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 7280afe..33f6e2f 100755
--- a/geninitrd
+++ b/geninitrd
@@ -982,7 +982,7 @@ if is_yes "$USERAIDSTART" && is_yes "$raidfound" ; then
for f in $dev_list $rootdev ; do
# mkdir in case of devfs name
- mkdir -p `my_dirname $f`
+ mkdir -p $MNTIMAGE/`my_dirname $f`
[ -n "$verbose" ] && echo "copying $f"
# this works fine with and without devfs
cp -HR $f $MNTIMAGE/$f
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list