Accepting request 313295 from home:michal-m:branches:Base:System

- Use absolute path to mkinitrd (bsc#935566)

OBS-URL: https://build.opensuse.org/request/show/313295
OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-module-tools?expand=0&rev=21
This commit is contained in:
Marcus Meissner 2015-06-24 16:18:39 +00:00 committed by Git OBS Bridge
parent 31f20b368c
commit 6d7b42d110
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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