Mageia Bugzilla – Attachment 9750 Details for
Bug 21553
Cauldron doesn't boot in VirtualBox when selecting kernel 4.12+ and having several CPUs dedicated for the VM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
newer dracut 046
dracut.spec (text/plain), 6.96 KB, created by
Giuseppe Ghibò
on 2017-10-23 22:32:14 CEST
(
hide
)
Description:
newer dracut 046
Filename:
MIME Type:
Creator:
Giuseppe Ghibò
Created:
2017-10-23 22:32:14 CEST
Size:
6.96 KB
patch
obsolete
>%global __requires_exclude pkgconfig > >%bcond_without doc > >Summary: Next generation initrd image generator >Name: dracut >Version: 046 >Release: %mkrel 1 >Group: System/Base >License: GPLv2+ >URL: https://dracut.wiki.kernel.org/ >Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz >Source1: 50-%{_real_vendor}.conf >Source2: logo.png > ># Upstream Cherry picks >#Patch1: 0001-dmsquash-live-dmsquash-live-root.sh-fixed-typo.patch >#Patch2: 0002-dmraid-61-dmraid-imsm.rules-add-nowatch-option-for-u.patch >#Patch3: 0003-livenet-livenet-generator.sh-mode-0755.patch >#Patch4: 0004-shutdown-guard-against-read-only-run.patch >#Patch5: 0005-dmsquash-live-dmsquash-live-root.sh-SQUASHED-can-be-.patch >#Patch6: 0006-kernel-modules-include-all-HID-driver-in-hostonly-mo.patch >#Patch7: 0007-systemd-include-machine-info.patch >#Patch8: 0008-livenet-module-setup.sh-only-include-systemd-generat.patch >#Patch9: 0009-network-fix-carrier-detection.patch >#Patch10: 0010-nbd-add-systemd-generator-and-use-nbd-export-names-i.patch >#Patch11: 0011-TEST-16-DMSQUASH-do-not-use-with-ldconfig-r.patch >#Patch12: 0012-test-TEST-04-FULL-SYSTEMD-optionally-install-machine.patch >#Patch13: 0013-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch >#Patch14: 0014-nbd-add-missing-generator.patch >#Patch15: 0015-fcoe-no-need-to-copy-lldpad-state.patch >#Patch16: 0016-dracut.sh-restorecon-final-image-file.patch > ># Mageia Patches >Patch0500: 0500-Plymouth-customisations-for-Mageia.patch >#Patch0501: 0501-Use-the-Mageia-naming-for-initrd-files.patch >Patch0502: 0502-Handle-upgrades-better.patch >#Patch0503: 0503-network-Include-70-persistent-net.rules-in-the-netwo.patch >#Patch0504: 0504-Parse-and-include-the-ide-controller-and-scsi_hostad.patch >Patch0505: 0505-lvm-Ensure-LVM-is-initialised-in-non-hostonly-mode.patch >Patch0506: 0506-rootfs-block-Support-lilo-style-device-numbers.patch >#Patch0507: 0507-i18n-Run-console_init-prior-to-udev-startup.patch >Patch0508: 0508-mageia-Add-a-convertfs-hacks-for-packaging-quirks.patch >#Patch0510: 0510-dracut-functions.sh-Make-sure-to-install-full-path-P.patch >#Patch0511: 0511-Match-.map-files-before-.inc-files-when-looking-for-.patch >Patch0512: 0512-Support-the-simple-upgrade-preparation-API-mga-9744.patch >Patch0513: 0513-mgalive-A-module-to-mount-Mageia-Live-media.patch >#Patch0514: 0514-mgainstaller-Add-a-module-used-to-generate-the-Magei.patch >Patch0515: 0515-kadeploy-Add-a-kd-deploy-module.patch ># (tmb) disable as it breaks on efi/gpt ># Patch0516: 0516-Revert-Revert-dmraid-let-dmraid-setup-the-partitions.patch ># mga#16657, needed to fix Haswell TSX bug >#Patch0531: 0531-dracut-038-enable-early_microcode-by-default.patch ># (cg) sent upstream >#Patch0532: 0532-dracut.sh-fix-tmpfilesdir-fallback-when-systemd-deve.patch ># (cg) sent upstream >#Patch0533: 0533-systemd-add-more-groups-to-deal-with-tmpfiles-handli.patch ># (tmb) fix mga#17651 >#Patch0534: 0534-mgainstaller-fix-nic-interface-renaming.patch > >#Patch1000: 0020-dracut.sh-create-the-initramfs-non-world-readable-al.patch > >Requires(pre): filesystem >Requires: udev >Requires: util-linux >Requires: kmod >Requires: e2fsprogs >Requires: cpio >Requires: coreutils >Requires: findutils >Requires: grep >Requires: mktemp >Requires: bash >Requires: dash >Requires: kbd >Requires: tar >Requires: gzip >Requires: bzip2 >Requires: file >Requires: kmod >Requires: bridge-utils >Requires: initscripts >Recommends: plymouth >Requires: bootloader-utils >Requires(post): rpm-helper >= 0.24.8-1 >Requires(preun): rpm-helper >= 0.24.8-1 ># (cg) Replace mkinitrd and nuke all it's sub-packages >Provides: mkinitrd = 6.0.93-32 >Obsoletes: mkinitrd < 6.0.93-32 >Obsoletes: nash >Obsoletes: libbdevid-python ># plymouth-populate-initrd in old plymouth-scripts packages fails to find ># dracut-functions >Conflicts: plymouth-scripts < 0.8.4-0.20111214.2 >Conflicts: bootsplash < 3.3.9-1 >%if %{with doc} >BuildRequires: asciidoc >BuildRequires: docbook-dtd45-xml >BuildRequires: docbook-style-xsl >BuildRequires: xsltproc >%endif >BuildRequires: dash >BuildRequires: bash >BuildRequires: pkgconfig(libkmod) >= 15 > >%description >Dracut contains tools to create a bootable initramfs for Linux kernels. >Unlike existing implementations, dracut does hard-code as little as possible >into the initramfs. Dracut contains various modules which are driven by the >event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as >NFS, iSCSI, NBD, FCoE with the dracut-network package. > >%prep >%setup -q >%autopatch -p1 ># (cg) We don't want backup file >find -name '*.orig' -delete > >%build >export CFLAGS="%{optflags}" >%configure2_5x --libdir=%{_prefix}/lib \ >%if %{without doc} > --disable-documentation >%endif > >%make > >%install >%makeinstall_std \ > sbindir=/sbin \ > sysconfdir=%{_sysconfdir} \ > systemdsystemunitdir=%{_unitdir} \ > mandir=%{_mandir} > >install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dracut.conf.d >install -m 755 -d %{buildroot}%{_datadir}/dracut >install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/dracut/logo.png > ># bluca remove patch backup files >find %{buildroot} -name \*.\*.orig -exec rm {} \; > ># fix permission of module files >chmod +x %{buildroot}%{_prefix}/lib/dracut/modules.d/*/*.sh > >mkdir -p %{buildroot}/boot/dracut >mkdir -p %{buildroot}%{_var}/lib/dracut/overlay > ># (cg) For now provide compatibility symlinks in %_sbindir as this was the old ># location for mkinitrd and some tools may hard-code the path >mkdir -p %{buildroot}%{_sbindir} >ln -sf %{_bindir}/mkinitrd %{buildroot}%{_sbindir}/mkinitrd > >%triggerpostun -- dracut < 038-13 ># (cg) Forget UUIDs for LVM/RAID Swaps. It's more harm than good. >rm -f %{_sysconfdir}/dracut.conf.d/51-mageia-resume.conf ||: > >%files >%doc README.generic README.modules README.kernel HACKING TODO AUTHORS >%dir /boot/dracut >%dir %{_datadir}/dracut >%dir %{_var}/lib/dracut >%dir %{_var}/lib/dracut/overlay >%dir %{_prefix}/lib/dracut >%config(noreplace) %{_sysconfdir}/dracut.conf >%{_datadir}/pkgconfig/dracut.pc >%dir %{_sysconfdir}/dracut.conf.d >%ghost %attr(644,root,root) %config(noreplace) %{_sysconfdir}/dracut.conf.d/51-mageia-resume.conf >%{_sysconfdir}/dracut.conf.d/50-%{_real_vendor}.conf >%{_bindir}/dracut >%{_bindir}/dracut-catimages >%{_bindir}/lsinitrd >%{_bindir}/mkinitrd >%{_sbindir}/mkinitrd >%{_prefix}/lib/dracut/dracut-functions.sh >%{_prefix}/lib/dracut/dracut-init.sh >%{_prefix}/lib/dracut/dracut-functions >%{_prefix}/lib/dracut/dracut-initramfs-restore >%{_prefix}/lib/dracut/dracut-install >%{_prefix}/lib/dracut/dracut-version.sh >%{_prefix}/lib/dracut/modules.d >%{_prefix}/lib/dracut/dracut-logger.sh >%{_prefix}/lib/dracut/skipcpio >%{_prefix}/lib/kernel/install.d/50-dracut.install >%{_prefix}/lib/kernel/install.d/51-dracut-rescue.install >%{_unitdir}/*.service >%{_unitdir}/*/*.service >%{_datadir}/bash-completion/completions/dracut >%{_datadir}/bash-completion/completions/lsinitrd >%{_datadir}/dracut/logo.png >%if %{with doc} >%{_mandir}/man1/lsinitrd*.1* >%{_mandir}/man8/dracut*.8* >%{_mandir}/man8/mkinitrd*.8* >%{_mandir}/man7/dracut.bootup.7* >%{_mandir}/man7/dracut.cmdline.7* >%{_mandir}/man7/dracut.kernel.7* >%{_mandir}/man7/dracut.modules.7* >%{_mandir}/man5/dracut.conf.5* >%endif
%global __requires_exclude pkgconfig %bcond_without doc Summary: Next generation initrd image generator Name: dracut Version: 046 Release: %mkrel 1 Group: System/Base License: GPLv2+ URL: https://dracut.wiki.kernel.org/ Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz Source1: 50-%{_real_vendor}.conf Source2: logo.png # Upstream Cherry picks #Patch1: 0001-dmsquash-live-dmsquash-live-root.sh-fixed-typo.patch #Patch2: 0002-dmraid-61-dmraid-imsm.rules-add-nowatch-option-for-u.patch #Patch3: 0003-livenet-livenet-generator.sh-mode-0755.patch #Patch4: 0004-shutdown-guard-against-read-only-run.patch #Patch5: 0005-dmsquash-live-dmsquash-live-root.sh-SQUASHED-can-be-.patch #Patch6: 0006-kernel-modules-include-all-HID-driver-in-hostonly-mo.patch #Patch7: 0007-systemd-include-machine-info.patch #Patch8: 0008-livenet-module-setup.sh-only-include-systemd-generat.patch #Patch9: 0009-network-fix-carrier-detection.patch #Patch10: 0010-nbd-add-systemd-generator-and-use-nbd-export-names-i.patch #Patch11: 0011-TEST-16-DMSQUASH-do-not-use-with-ldconfig-r.patch #Patch12: 0012-test-TEST-04-FULL-SYSTEMD-optionally-install-machine.patch #Patch13: 0013-base-dracut-lib.sh-dev_unit_name-guard-against-dev-b.patch #Patch14: 0014-nbd-add-missing-generator.patch #Patch15: 0015-fcoe-no-need-to-copy-lldpad-state.patch #Patch16: 0016-dracut.sh-restorecon-final-image-file.patch # Mageia Patches Patch0500: 0500-Plymouth-customisations-for-Mageia.patch #Patch0501: 0501-Use-the-Mageia-naming-for-initrd-files.patch Patch0502: 0502-Handle-upgrades-better.patch #Patch0503: 0503-network-Include-70-persistent-net.rules-in-the-netwo.patch #Patch0504: 0504-Parse-and-include-the-ide-controller-and-scsi_hostad.patch Patch0505: 0505-lvm-Ensure-LVM-is-initialised-in-non-hostonly-mode.patch Patch0506: 0506-rootfs-block-Support-lilo-style-device-numbers.patch #Patch0507: 0507-i18n-Run-console_init-prior-to-udev-startup.patch Patch0508: 0508-mageia-Add-a-convertfs-hacks-for-packaging-quirks.patch #Patch0510: 0510-dracut-functions.sh-Make-sure-to-install-full-path-P.patch #Patch0511: 0511-Match-.map-files-before-.inc-files-when-looking-for-.patch Patch0512: 0512-Support-the-simple-upgrade-preparation-API-mga-9744.patch Patch0513: 0513-mgalive-A-module-to-mount-Mageia-Live-media.patch #Patch0514: 0514-mgainstaller-Add-a-module-used-to-generate-the-Magei.patch Patch0515: 0515-kadeploy-Add-a-kd-deploy-module.patch # (tmb) disable as it breaks on efi/gpt # Patch0516: 0516-Revert-Revert-dmraid-let-dmraid-setup-the-partitions.patch # mga#16657, needed to fix Haswell TSX bug #Patch0531: 0531-dracut-038-enable-early_microcode-by-default.patch # (cg) sent upstream #Patch0532: 0532-dracut.sh-fix-tmpfilesdir-fallback-when-systemd-deve.patch # (cg) sent upstream #Patch0533: 0533-systemd-add-more-groups-to-deal-with-tmpfiles-handli.patch # (tmb) fix mga#17651 #Patch0534: 0534-mgainstaller-fix-nic-interface-renaming.patch #Patch1000: 0020-dracut.sh-create-the-initramfs-non-world-readable-al.patch Requires(pre): filesystem Requires: udev Requires: util-linux Requires: kmod Requires: e2fsprogs Requires: cpio Requires: coreutils Requires: findutils Requires: grep Requires: mktemp Requires: bash Requires: dash Requires: kbd Requires: tar Requires: gzip Requires: bzip2 Requires: file Requires: kmod Requires: bridge-utils Requires: initscripts Recommends: plymouth Requires: bootloader-utils Requires(post): rpm-helper >= 0.24.8-1 Requires(preun): rpm-helper >= 0.24.8-1 # (cg) Replace mkinitrd and nuke all it's sub-packages Provides: mkinitrd = 6.0.93-32 Obsoletes: mkinitrd < 6.0.93-32 Obsoletes: nash Obsoletes: libbdevid-python # plymouth-populate-initrd in old plymouth-scripts packages fails to find # dracut-functions Conflicts: plymouth-scripts < 0.8.4-0.20111214.2 Conflicts: bootsplash < 3.3.9-1 %if %{with doc} BuildRequires: asciidoc BuildRequires: docbook-dtd45-xml BuildRequires: docbook-style-xsl BuildRequires: xsltproc %endif BuildRequires: dash BuildRequires: bash BuildRequires: pkgconfig(libkmod) >= 15 %description Dracut contains tools to create a bootable initramfs for Linux kernels. Unlike existing implementations, dracut does hard-code as little as possible into the initramfs. Dracut contains various modules which are driven by the event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as NFS, iSCSI, NBD, FCoE with the dracut-network package. %prep %setup -q %autopatch -p1 # (cg) We don't want backup file find -name '*.orig' -delete %build export CFLAGS="%{optflags}" %configure2_5x --libdir=%{_prefix}/lib \ %if %{without doc} --disable-documentation %endif %make %install %makeinstall_std \ sbindir=/sbin \ sysconfdir=%{_sysconfdir} \ systemdsystemunitdir=%{_unitdir} \ mandir=%{_mandir} install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dracut.conf.d install -m 755 -d %{buildroot}%{_datadir}/dracut install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/dracut/logo.png # bluca remove patch backup files find %{buildroot} -name \*.\*.orig -exec rm {} \; # fix permission of module files chmod +x %{buildroot}%{_prefix}/lib/dracut/modules.d/*/*.sh mkdir -p %{buildroot}/boot/dracut mkdir -p %{buildroot}%{_var}/lib/dracut/overlay # (cg) For now provide compatibility symlinks in %_sbindir as this was the old # location for mkinitrd and some tools may hard-code the path mkdir -p %{buildroot}%{_sbindir} ln -sf %{_bindir}/mkinitrd %{buildroot}%{_sbindir}/mkinitrd %triggerpostun -- dracut < 038-13 # (cg) Forget UUIDs for LVM/RAID Swaps. It's more harm than good. rm -f %{_sysconfdir}/dracut.conf.d/51-mageia-resume.conf ||: %files %doc README.generic README.modules README.kernel HACKING TODO AUTHORS %dir /boot/dracut %dir %{_datadir}/dracut %dir %{_var}/lib/dracut %dir %{_var}/lib/dracut/overlay %dir %{_prefix}/lib/dracut %config(noreplace) %{_sysconfdir}/dracut.conf %{_datadir}/pkgconfig/dracut.pc %dir %{_sysconfdir}/dracut.conf.d %ghost %attr(644,root,root) %config(noreplace) %{_sysconfdir}/dracut.conf.d/51-mageia-resume.conf %{_sysconfdir}/dracut.conf.d/50-%{_real_vendor}.conf %{_bindir}/dracut %{_bindir}/dracut-catimages %{_bindir}/lsinitrd %{_bindir}/mkinitrd %{_sbindir}/mkinitrd %{_prefix}/lib/dracut/dracut-functions.sh %{_prefix}/lib/dracut/dracut-init.sh %{_prefix}/lib/dracut/dracut-functions %{_prefix}/lib/dracut/dracut-initramfs-restore %{_prefix}/lib/dracut/dracut-install %{_prefix}/lib/dracut/dracut-version.sh %{_prefix}/lib/dracut/modules.d %{_prefix}/lib/dracut/dracut-logger.sh %{_prefix}/lib/dracut/skipcpio %{_prefix}/lib/kernel/install.d/50-dracut.install %{_prefix}/lib/kernel/install.d/51-dracut-rescue.install %{_unitdir}/*.service %{_unitdir}/*/*.service %{_datadir}/bash-completion/completions/dracut %{_datadir}/bash-completion/completions/lsinitrd %{_datadir}/dracut/logo.png %if %{with doc} %{_mandir}/man1/lsinitrd*.1* %{_mandir}/man8/dracut*.8* %{_mandir}/man8/mkinitrd*.8* %{_mandir}/man7/dracut.bootup.7* %{_mandir}/man7/dracut.cmdline.7* %{_mandir}/man7/dracut.kernel.7* %{_mandir}/man7/dracut.modules.7* %{_mandir}/man5/dracut.conf.5* %endif
View Attachment As Raw
Actions:
View
Attachments on
bug 21553
: 9750 |
10303
|
10304
|
10389