Commit 9943913f authored by Christopher Spinrath's avatar Christopher Spinrath

Bugfix: removed hard coded rootfs path

parent bf1431ac
......@@ -71,7 +71,7 @@ function install_liphook()
function replace_modules()
{
local version=$(basename $(readlink -f "/mnt/data/lipck-work/x86_64/rootfs/vmlinuz") | cut -d'-' -f2-)
local version=$(basename $(readlink -f "$ROOTFS/vmlinuz") | cut -d'-' -f2-)
rm -rf "$IRD/lib/modules/*"
cp -a "$ROOTFS/lib/modules/$version" "$IRD/lib/modules"
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment