Accepting request 211750 from home:msmeissn:branches:Kernel:HEAD

- fixed last submission to actually build.

OBS-URL: https://build.opensuse.org/request/show/211750
OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=75
This commit is contained in:
Michal Marek 2014-02-12 10:29:48 +00:00 committed by Git OBS Bridge
parent f1685d8cbd
commit 0bfcbf9c7c
2 changed files with 25 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 19 16:27:35 UTC 2013 - meissner@suse.com
- fixed last submission to actually build.
-------------------------------------------------------------------
Tue Dec 10 15:46:02 UTC 2013 - trenn@suse.de

View File

@ -16,7 +16,6 @@
#
Name: kernel-firmware
BuildRequires: fdupes
BuildRequires: kernel-default
@ -109,11 +108,26 @@ rm -rf %{buildroot}
%post -n ucode-amd
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
echo "Skipping recreation of existing initial ramdisks, due"
echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
elif [ -x /sbin/mkinitrd ]; then
/sbin/mkinitrd
if [ "${YAST_IS_RUNNING}" != "instsys" ]; then
if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
echo "Skipping recreation of existing initial ramdisks, due"
echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
elif [ -x /sbin/mkinitrd ]; then
[ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
/sbin/mkinitrd || :
fi
fi
%postun -n ucode-amd
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
if [ "${YAST_IS_RUNNING}" != "instsys" ]; then
if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
echo "Skipping recreation of existing initial ramdisks, due"
echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
elif [ -x /sbin/mkinitrd ]; then
[ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup
/sbin/mkinitrd || :
fi
fi
%files