dracut/README.susemaint

82 lines
2.6 KiB
Plaintext
Raw Normal View History

Maintaining dracut
Accepting request 705438 from Base:System - Bump to 049 - Patches are now maintained in git * Removed 0012-40network-Fix-race-condition-when-wait-for-networks.patch * Removed 0013-40network-always-start-netroot-in-ifup.sh.patch * Removed 0015-40network-replace-dhclient-with-wickedd-dhcp-supplic.patch * Removed 0016-Add-new-s390x-specific-rule-files.patch * Removed 0017-45ifcfg-use-distro-specific-scripts.patch * Removed 0020-00warpclock-Set-correct-timezone.patch * Removed 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch * Removed 0048-40network-Only-enable-network-interfaces-if-explicit.patch * Removed 0053-01fips-fixup-loading-issues.patch * Removed 0056-81cio_ignore-handle-cio_ignore-commandline.patch * Removed 0057-01fips-Include-some-more-hmacs.patch * Removed 0058-dracut-add-warning-when-including-unsupported-module.patch * Removed 0059-99suse-Add-SUSE-specific-initrd-parsing.patch * Removed 0060-45ifcfg-Add-SUSE-specific-write-ifcfg-file.patch * Removed 0061-45ifcfg-Fixup-error-message-in-write-ifcfg-suse.patch * Removed 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch * Removed 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch * Removed 0079-95dasd_rules-fixup-rd.dasd-parsing.patch * Removed 0080-95dasd_rules-print-out-rd.dasd-commandline.patch * Removed 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch * Removed 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch * Removed 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch * Removed 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch * Removed 0089-40network-create-var-lib-wicked-in-ifup.sh.patch * Removed 0090-dracut-caps-Remove-whole-caps-module.patch * Removed 0091-dracut-biosdevname-In-SUSE-biosdevname-package-is-in.patch OBS-URL: https://build.opensuse.org/request/show/705438 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=374
2019-05-25 19:57:14 +00:00
==================
1. Adding/Submitting patches:
Patches are added as merge requests on GitHub against the respective maintenance
branch. Currently, these active maintenance branches are:
Accepting request 705438 from Base:System - Bump to 049 - Patches are now maintained in git * Removed 0012-40network-Fix-race-condition-when-wait-for-networks.patch * Removed 0013-40network-always-start-netroot-in-ifup.sh.patch * Removed 0015-40network-replace-dhclient-with-wickedd-dhcp-supplic.patch * Removed 0016-Add-new-s390x-specific-rule-files.patch * Removed 0017-45ifcfg-use-distro-specific-scripts.patch * Removed 0020-00warpclock-Set-correct-timezone.patch * Removed 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch * Removed 0048-40network-Only-enable-network-interfaces-if-explicit.patch * Removed 0053-01fips-fixup-loading-issues.patch * Removed 0056-81cio_ignore-handle-cio_ignore-commandline.patch * Removed 0057-01fips-Include-some-more-hmacs.patch * Removed 0058-dracut-add-warning-when-including-unsupported-module.patch * Removed 0059-99suse-Add-SUSE-specific-initrd-parsing.patch * Removed 0060-45ifcfg-Add-SUSE-specific-write-ifcfg-file.patch * Removed 0061-45ifcfg-Fixup-error-message-in-write-ifcfg-suse.patch * Removed 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch * Removed 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch * Removed 0079-95dasd_rules-fixup-rd.dasd-parsing.patch * Removed 0080-95dasd_rules-print-out-rd.dasd-commandline.patch * Removed 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch * Removed 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch * Removed 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch * Removed 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch * Removed 0089-40network-create-var-lib-wicked-in-ifup.sh.patch * Removed 0090-dracut-caps-Remove-whole-caps-module.patch * Removed 0091-dracut-biosdevname-In-SUSE-biosdevname-package-is-in.patch OBS-URL: https://build.opensuse.org/request/show/705438 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=374
2019-05-25 19:57:14 +00:00
- SUSE/044 -> SLE 12 SP5
- SUSE/049 -> SLE 15 SP2, SLE 15 SP3
- SUSE/055 -> SLE 15 SP4
- SLE-15-SP5_Update -> SLE 15 SP5 (based on SUSE/055 plus some specific patches)
- SUSE/059 -> Tumbleweed
Accepting request 705438 from Base:System - Bump to 049 - Patches are now maintained in git * Removed 0012-40network-Fix-race-condition-when-wait-for-networks.patch * Removed 0013-40network-always-start-netroot-in-ifup.sh.patch * Removed 0015-40network-replace-dhclient-with-wickedd-dhcp-supplic.patch * Removed 0016-Add-new-s390x-specific-rule-files.patch * Removed 0017-45ifcfg-use-distro-specific-scripts.patch * Removed 0020-00warpclock-Set-correct-timezone.patch * Removed 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch * Removed 0048-40network-Only-enable-network-interfaces-if-explicit.patch * Removed 0053-01fips-fixup-loading-issues.patch * Removed 0056-81cio_ignore-handle-cio_ignore-commandline.patch * Removed 0057-01fips-Include-some-more-hmacs.patch * Removed 0058-dracut-add-warning-when-including-unsupported-module.patch * Removed 0059-99suse-Add-SUSE-specific-initrd-parsing.patch * Removed 0060-45ifcfg-Add-SUSE-specific-write-ifcfg-file.patch * Removed 0061-45ifcfg-Fixup-error-message-in-write-ifcfg-suse.patch * Removed 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch * Removed 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch * Removed 0079-95dasd_rules-fixup-rd.dasd-parsing.patch * Removed 0080-95dasd_rules-print-out-rd.dasd-commandline.patch * Removed 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch * Removed 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch * Removed 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch * Removed 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch * Removed 0089-40network-create-var-lib-wicked-in-ifup.sh.patch * Removed 0090-dracut-caps-Remove-whole-caps-module.patch * Removed 0091-dracut-biosdevname-In-SUSE-biosdevname-package-is-in.patch OBS-URL: https://build.opensuse.org/request/show/705438 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=374
2019-05-25 19:57:14 +00:00
Rules:
Accepting request 705438 from Base:System - Bump to 049 - Patches are now maintained in git * Removed 0012-40network-Fix-race-condition-when-wait-for-networks.patch * Removed 0013-40network-always-start-netroot-in-ifup.sh.patch * Removed 0015-40network-replace-dhclient-with-wickedd-dhcp-supplic.patch * Removed 0016-Add-new-s390x-specific-rule-files.patch * Removed 0017-45ifcfg-use-distro-specific-scripts.patch * Removed 0020-00warpclock-Set-correct-timezone.patch * Removed 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch * Removed 0048-40network-Only-enable-network-interfaces-if-explicit.patch * Removed 0053-01fips-fixup-loading-issues.patch * Removed 0056-81cio_ignore-handle-cio_ignore-commandline.patch * Removed 0057-01fips-Include-some-more-hmacs.patch * Removed 0058-dracut-add-warning-when-including-unsupported-module.patch * Removed 0059-99suse-Add-SUSE-specific-initrd-parsing.patch * Removed 0060-45ifcfg-Add-SUSE-specific-write-ifcfg-file.patch * Removed 0061-45ifcfg-Fixup-error-message-in-write-ifcfg-suse.patch * Removed 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch * Removed 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch * Removed 0079-95dasd_rules-fixup-rd.dasd-parsing.patch * Removed 0080-95dasd_rules-print-out-rd.dasd-commandline.patch * Removed 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch * Removed 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch * Removed 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch * Removed 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch * Removed 0089-40network-create-var-lib-wicked-in-ifup.sh.patch * Removed 0090-dracut-caps-Remove-whole-caps-module.patch * Removed 0091-dracut-biosdevname-In-SUSE-biosdevname-package-is-in.patch OBS-URL: https://build.opensuse.org/request/show/705438 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=374
2019-05-25 19:57:14 +00:00
- Follow the commit message convention [1].
- Write related Bugzilla ID in the commit message (the dracut.changes file is
updated automatically from the information of the patch).
- If the Bugzilla ID cannot be added to the commit title because the length is
greater than 80 characters (the maximum allowed), then write it into the
commit description (it must be manually added to dracut.changes prior to OBS
submission).
- To indicate backports of upstream commits use `git cherry-pick -x` (this
automatically appends "cherry picked from commit xxxxx").
- First, check if your patch can be submitted upstream, and if so, do it there
first. Once approved, it can be backported here.
Accepting request 705438 from Base:System - Bump to 049 - Patches are now maintained in git * Removed 0012-40network-Fix-race-condition-when-wait-for-networks.patch * Removed 0013-40network-always-start-netroot-in-ifup.sh.patch * Removed 0015-40network-replace-dhclient-with-wickedd-dhcp-supplic.patch * Removed 0016-Add-new-s390x-specific-rule-files.patch * Removed 0017-45ifcfg-use-distro-specific-scripts.patch * Removed 0020-00warpclock-Set-correct-timezone.patch * Removed 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch * Removed 0048-40network-Only-enable-network-interfaces-if-explicit.patch * Removed 0053-01fips-fixup-loading-issues.patch * Removed 0056-81cio_ignore-handle-cio_ignore-commandline.patch * Removed 0057-01fips-Include-some-more-hmacs.patch * Removed 0058-dracut-add-warning-when-including-unsupported-module.patch * Removed 0059-99suse-Add-SUSE-specific-initrd-parsing.patch * Removed 0060-45ifcfg-Add-SUSE-specific-write-ifcfg-file.patch * Removed 0061-45ifcfg-Fixup-error-message-in-write-ifcfg-suse.patch * Removed 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch * Removed 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch * Removed 0079-95dasd_rules-fixup-rd.dasd-parsing.patch * Removed 0080-95dasd_rules-print-out-rd.dasd-commandline.patch * Removed 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch * Removed 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch * Removed 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch * Removed 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch * Removed 0089-40network-create-var-lib-wicked-in-ifup.sh.patch * Removed 0090-dracut-caps-Remove-whole-caps-module.patch * Removed 0091-dracut-biosdevname-In-SUSE-biosdevname-package-is-in.patch OBS-URL: https://build.opensuse.org/request/show/705438 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=374
2019-05-25 19:57:14 +00:00
Example, fix for https://bugzilla.opensuse.org/show_bug.cgi?id=1203749:
```
commit 92a6793c7d94a9a70c99ffcaf72112808164851b
Author: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Date: Wed Sep 21 11:54:17 2022 +0200
fix(systemd): add missing modprobe@.service (bsc#1203749)
sys-kernel-config.mount needs modprobe@configfs.service since systemd v246.7
(https://github.com/systemd/systemd/commit/42cc2855), so the kernel configfs
fails to mount in the initrd.
(cherry picked from commit 928252a145ca44627ba5873e01245eabe246992f)
```
2. Updating the OBS repo:
2.1. Branch dracut
- Go to the Factory OBS repo [2] and "Branch Package".
- Checkout branch with `osc`:
$ osc checkout home:USER:branches:openSUSE:Factory/dracut
2.2. Trigger services and build the package
$ rm dracut*.xz
$ rm dracut*.obscpio
$ osc service manualrun
$ osc ar
* Verify that the new Bugzilla IDs are referenced in the dracut.changes file.
2.3. Commit the changes
$ osc commit
* Verify that the package is correctly built in the OBS branch.
* Test the built package and make sure it fixes the bug.
2.4. Create request to submit source
$ osc sr
* The request is submitted against the OBS Devel repo [3].
--
[1] Commit message convention: https://github.com/dracutdevs/dracut/blob/master/docs/HACKING.md#commit-messages
[2] Factory OBS repo: https://build.opensuse.org/package/show/openSUSE:Factory/dracut
[3] Factory OBS Devel repo: https://build.opensuse.org/package/show/Base:System/dracut
Accepting request 705438 from Base:System - Bump to 049 - Patches are now maintained in git * Removed 0012-40network-Fix-race-condition-when-wait-for-networks.patch * Removed 0013-40network-always-start-netroot-in-ifup.sh.patch * Removed 0015-40network-replace-dhclient-with-wickedd-dhcp-supplic.patch * Removed 0016-Add-new-s390x-specific-rule-files.patch * Removed 0017-45ifcfg-use-distro-specific-scripts.patch * Removed 0020-00warpclock-Set-correct-timezone.patch * Removed 0021-95dcssblk-Add-new-module-for-DCSS-block-devices.patch * Removed 0048-40network-Only-enable-network-interfaces-if-explicit.patch * Removed 0053-01fips-fixup-loading-issues.patch * Removed 0056-81cio_ignore-handle-cio_ignore-commandline.patch * Removed 0057-01fips-Include-some-more-hmacs.patch * Removed 0058-dracut-add-warning-when-including-unsupported-module.patch * Removed 0059-99suse-Add-SUSE-specific-initrd-parsing.patch * Removed 0060-45ifcfg-Add-SUSE-specific-write-ifcfg-file.patch * Removed 0061-45ifcfg-Fixup-error-message-in-write-ifcfg-suse.patch * Removed 0075-95dasd_rules-enable-parsing-of-rd.dasd-commandline-p.patch * Removed 0076-Correctly-set-cio_ignore-for-dynamic-s390-rules.patch * Removed 0079-95dasd_rules-fixup-rd.dasd-parsing.patch * Removed 0080-95dasd_rules-print-out-rd.dasd-commandline.patch * Removed 0081-95dasd_mod-do-not-set-module-parameters-if-dasd_cio_.patch * Removed 0083-95zfcp_rules-Fixup-rd.zfcp-parsing.patch * Removed 0085-95zfcp_rules-print-out-rd.zfcp-commandline-parameter.patch * Removed 0086-95zfcp_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0087-95dasd_rules-Auto-generate-udev-rule-for-ipl-device.patch * Removed 0088-91zipl-Add-new-module-to-update-s390x-configuration.patch * Removed 0089-40network-create-var-lib-wicked-in-ifup.sh.patch * Removed 0090-dracut-caps-Remove-whole-caps-module.patch * Removed 0091-dracut-biosdevname-In-SUSE-biosdevname-package-is-in.patch OBS-URL: https://build.opensuse.org/request/show/705438 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=374
2019-05-25 19:57:14 +00:00