diff --git a/regenerate-initrd-posttrans b/regenerate-initrd-posttrans index 8970402..567740f 100644 --- a/regenerate-initrd-posttrans +++ b/regenerate-initrd-posttrans @@ -43,7 +43,7 @@ done if test -e "$dir/all"; then rm "$dir"/* run_mkinitrd_setup - mkinitrd + /sbin/mkinitrd exit fi err=0 @@ -56,7 +56,7 @@ for f in "$dir"/*; do continue fi run_mkinitrd_setup - if ! mkinitrd -k "/boot/$image" -i "/boot/$initrd"; then + if ! /sbin/mkinitrd -k "/boot/$image" -i "/boot/$initrd"; then err=$? fi done diff --git a/suse-module-tools.changes b/suse-module-tools.changes index a109036..b6f5fb7 100644 --- a/suse-module-tools.changes +++ b/suse-module-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 23 14:39:46 UTC 2015 - mmarek@suse.cz + +- Use absolute path to mkinitrd (bsc#935566) + ------------------------------------------------------------------- Fri May 16 08:36:15 UTC 2014 - mmarek@suse.cz diff --git a/suse-module-tools.spec b/suse-module-tools.spec index 3c95903..2b30226 100644 --- a/suse-module-tools.spec +++ b/suse-module-tools.spec @@ -1,7 +1,7 @@ # # spec file for package suse-module-tools # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed