Fix configure_libguestfs_tools
Change-Id: Ib67347441942ce910c87581afe5e8aa81a8b0630
This commit is contained in:
parent
66c5c822f4
commit
ad9a93e675
@ -11,9 +11,13 @@ function install_tobiko_deps {
|
||||
|
||||
|
||||
function configure_libguestfs_tools {
|
||||
local target_path
|
||||
if is_ubuntu; then
|
||||
target_path=/boot/vmlinuz-`uname -r`
|
||||
if ! dpkg-statoverride --list "${target_path}"; then
|
||||
sudo dpkg-statoverride --update --add root root 0644 \
|
||||
/boot/vmlinuz-`uname -r`
|
||||
"${target_path}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user