Skip to content
Snippets Groups Projects
Commit 9943913f authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

Bugfix: removed hard coded rootfs path

parent bf1431ac
Branches
Tags
No related merge requests found
......@@ -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"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment