forked from pool/kernel-firmware
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:
parent
f1685d8cbd
commit
0bfcbf9c7c
@ -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
|
Tue Dec 10 15:46:02 UTC 2013 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: kernel-firmware
|
Name: kernel-firmware
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: kernel-default
|
BuildRequires: kernel-default
|
||||||
@ -109,11 +108,26 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%post -n ucode-amd
|
%post -n ucode-amd
|
||||||
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
|
[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
|
||||||
if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
|
if [ "${YAST_IS_RUNNING}" != "instsys" ]; then
|
||||||
echo "Skipping recreation of existing initial ramdisks, due"
|
if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then
|
||||||
echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
|
echo "Skipping recreation of existing initial ramdisks, due"
|
||||||
elif [ -x /sbin/mkinitrd ]; then
|
echo "to presence of /var/lib/no_initrd_recreation_by_suspend"
|
||||||
/sbin/mkinitrd
|
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
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user