Accepting request 227495 from home:trenn:branches:Base:System

- Fix installkernel script bnc#862990

OBS-URL: https://build.opensuse.org/request/show/227495
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=116
This commit is contained in:
Thomas Renninger 2014-03-25 18:21:16 +00:00 committed by Git OBS Bridge
parent 71e962ca42
commit 9676a620c5
2 changed files with 7 additions and 5 deletions

View File

@ -81,15 +81,12 @@ i?86 | x86_64)
;; ;;
esac esac
if [ ! -d /lib/modules/$KERNEL_VERSION ];then
make modules_install
fi
# #
# Generate initial ramdisk # Generate initial ramdisk
# #
if [ -x /usr/bin/dracut -a -d /lib/modules/$KERNEL_VERSION ]; then if [ -x /usr/bin/dracut -a -d /lib/modules/$KERNEL_VERSION ]; then
/usr/bin/dracut --hostonly --force $INSTALL_PATH/initrd-$KERNEL_VERSION /usr/bin/dracut --hostonly --force $INSTALL_PATH/initrd-$KERNEL_VERSION \
$KERNEL_VERSION
else else
echo "You may need to create an initial ramdisk now." echo "You may need to create an initial ramdisk now."
fi fi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 25 18:18:56 UTC 2014 - trenn@suse.de
- Fix installkernel script bnc#862990
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 14 19:49:38 UTC 2014 - rmilasan@suse.com Fri Mar 14 19:49:38 UTC 2014 - rmilasan@suse.com