From e2d4677fb409778746c1d90b3bc03cb7a49778b7 Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Tue, 19 Jun 2012 10:52:40 +0200 Subject: [PATCH] filelist2content: Fix serious bug in symlink handling Use image directory files to get symlinkdestination via readlink and not the fiules currently installe din the system. all CONTENT files generated so far containing symlinks are broken. 8( --- src/filelist2content.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelist2content.sh.in b/src/filelist2content.sh.in index 4ab710a..b15981a 100644 --- a/src/filelist2content.sh.in +++ b/src/filelist2content.sh.in @@ -115,7 +115,7 @@ function do_f2c() { echo -n ":md5=${md5%% *}" elif [ "${type}" = "symlink" ] ; then - file="${file}//$(readlink ${file})" + file="${file}//$(readlink ${root}${file})" elif [ "${type}" = "block" -o "${type}" = "char" ] ; then echo -n ":major=${major}" echo -n ":minor=${minor}"