Commit Graph

176 Commits

Author SHA256 Message Date
Thomas Renninger
64f8c781a9 Accepting request 224516 from home:trenn:branches:Base:System
- Fix bug introduced with last commit: Bad whitespace logic when
  INITRD_MODULES contain more than one module.

OBS-URL: https://build.opensuse.org/request/show/224516
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=107
2014-03-03 16:35:17 +00:00
Thomas Renninger
d1cac4a2c4 Accepting request 224246 from home:trenn:branches:Base:System
- Make sure that --add-drivers is not called with whitespace string which
  will lead to a "read line" user input request and things may get stuck at
  installation.
  - Add: dracut-fix-whitespace-add-drivers_call.patch
- Remove s390 grub module again -> this will go into grub2 package
  (ask rw@suse.de for details)
  Delete/remove: s390_add-user-space-grub-rule.patch
- Add installkernel script which installs the kernel when:
  make install
  is invoked. The script from mkinitrd has been taken over and adopted.
  Added source: dracut-installkernel
  bnc#862990

OBS-URL: https://build.opensuse.org/request/show/224246
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=105
2014-02-28 15:05:59 +00:00
d443be08bc Accepting request 223392 from home:trenn:branches:Base:System
- Fix syntax error -> missing then
- Correct path, it is /usr/bin/grub2-emu

OBS-URL: https://build.opensuse.org/request/show/223392
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=104
2014-02-21 15:14:53 +00:00
Thomas Renninger
41bd5806b6 - autofs4 is always included since mainline git commit: 314929920f27448b45bfd
systemd: ensure autofs4 and ipv6 are included
- Always add network and iscsi dracut module, so that ibft, iscsi, nfsroot
  work as expected.

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=103
2014-02-17 18:59:26 +00:00
Thomas Renninger
c2e1af7f8f Accepting request 222385 from home:pwieczorkiewicz:branches:Base:System
Adding SUSE ifcfg flavor to 45ifcfg module.

OBS-URL: https://build.opensuse.org/request/show/222385
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=102
2014-02-17 13:21:58 +00:00
Thomas Renninger
6541bd82d5 Originally by Hannes Reinecke (hare@suse.de):
- Install new s390x specific udev rules (bnc#856585)
  - Add: 0019-add-new-s390x-specific-rule-files.patch
- Do not check for non-existing dasd_configure for s390x (bnc#856585)

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=100
2014-02-14 13:13:37 +00:00
Thomas Renninger
5eb79327c5 - Added 95grub2 module for s390x
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=99
2014-02-13 22:20:14 +00:00
4698529be5 Accepting request 222207 from home:pwieczorkiewicz:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/222207
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=98
2014-02-13 14:56:13 +00:00
09815833ff -Added bug number to previous changelog entry
bnc#858448

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=97
2014-02-13 14:29:08 +00:00
bf4fe69d15 Accepting request 222198 from home:sfalken:branches:Base:System
Added suse_grub_manpage.patch for bug#858448

OBS-URL: https://build.opensuse.org/request/show/222198
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=96
2014-02-13 14:01:22 +00:00
Raymond Wooninck
dcfca12b4b Accepting request 221497 from home:scarabeus_iv
- Cleanup with spec-cleaner.

- Version bump to 036 removing the need for patching from git.
- removed patch:
  * dracut_git_v034_to_head.patch

OBS-URL: https://build.opensuse.org/request/show/221497
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=94
2014-02-09 13:23:30 +00:00
Thomas Renninger
b60d65ff3b - Do not show usage error when no kernel was found.
This may happen several times at package installation time and floods
  the logs.
  Modify dracut_do_not_update_booloader_if_no_kernel_is_found.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=93
2014-01-31 13:51:58 +00:00
Thomas Renninger
8af4f371a2 - Remove an obsolete comment from .spec file
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=91
2014-01-14 14:16:20 +00:00
Thomas Renninger
0892be9fe4 Rebase: dracut_do_not_update_booloader_if_no_kernel_is_found.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=90
2014-01-14 14:14:49 +00:00
Thomas Renninger
08bd1dd862 - Correctly fix previous issue:
Exit without calling update-bootloader (bnc#858268)
  Currently mkinitrd will always exit early without creating an initrd at all.

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=89
2014-01-14 14:14:01 +00:00
Thomas Renninger
6f6689329c Exit without calling update-bootloader (bnc#858268):
Add:  dracut_do_not_update_booloader_if_no_kernel_is_found.patch
Adding:
Requires:       systemd-sysvinit
which has reboot, halt and other binaries dracut likes to add to the initrd.
Cleanup and adjust to latest mainline:
Dropping as these are included in the latest update_git_v034_to_head patch:
Drop: 0001-95dasd-Install-kernel-modules-only-once.patch
Drop: 0002-95dasd-Only-install-module-if-normalize_dasd_arg-is-.patch
Drop: 0003-95dasd_mod-make-dasd_cio_free-optional.patch
Drop: 0004-95zfcp-Make-installation-optional.patch
Drop: 0005-95znet-Make-installation-optional.patch
Drop: 0007-Fixup-keymap-setting-for-openSUSE.patch
Drop: 0008-Add-DASD-configuration-for-SuSE.patch
Drop: 0009-Add-zfcp-scripts-for-SUSE.patch
Drop: 0010-Make-logfile-configurable.patch
Drop: 0011-mkinitrd-suse-Add-SUSE-compability-wrapper-for-dracu.patch
Drop: 0012-mkinitrd-suse.8.asc-Add-manpage-for-SUSE-compat-mkin.patch
Drop: 0015-Fixup-script-permissions.patch
Drop: 0016-Remove-shebang-from-shell-completion-files.patch
Drop: dracut-git-update.patch
Rebase: 0013-Correct-paths-for-openSUSE.patch
This is a rename of dracut-git-update.patch to:
Add:  dracut_git_v034_to_head.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=87
2014-01-13 18:00:03 +00:00
Thomas Renninger
09edde63e5 - Cleanup: Remove %define replace_mkinitrd 1
and related conditionals in .spec file -> One either has to install
  dracut or mkinitrd and it will stay like that.

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=85
2013-12-20 14:18:58 +00:00
Thomas Renninger
7c6ddf8796 - Add purge kernel service/feature which before was part of mkinitrd
bnc#854348

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=84
2013-12-18 16:20:48 +00:00
Raymond Wooninck
c0e1df1a13 Accepting request 208892 from home:hreinecke:branches:Base:System
- Update with patches from git repository:
   * kernel-modules: add ohci-pci to the list of forced module installs
   * Run 'xz' and 'lzma' with multiple threads
   * systemd: do not exit the initqueue, if systemd asks a password
   * iscsi,nbd: do not fail in hostonly mode
   * dracut-functions.sh: Avoid loading unnecessary 32-bit libraries
     for 64-bit initrds
   * fips: also install /etc/system-fips in the initramfs
   * dracut.modules.7.asc: removed empty section
   * dracut.sh: fixed PATH shortener
   * dracut.spec: move /sbin/dracut to /usr/sbin/dracut
   * iscsi/nbd: do not try to mount the whole disk, if root= is missing
   * fips: include crct10dif_generic
   * Handle crypto modules with and without modaliases
   * usrmount/module-setup.sh: fixed typo
   * lvm: always install thin utils for lvm
   * kernel-modules(ARM): add mmc_block usb_storage to static list of
     kernel mods
   * dracut-functions.sh:check_block_and_slaves*() skip LVM internal devs
   * mkdir basic dirs in /run
   * network/fcoe: only redirect output to loginit.pipe, if exists
   * dracut.sh: no need to make subdirs in run
   * dracut.sh: also mkdir /run/lock, which is copied to
   * lvm: fix thin recognition
   * Add lzo, lz4 compression and read INITRD_COMPRESS
   * remove resume-genrules.sh
   * resume: fix swap detection in hostonly
   * base/init.sh: also mkdir /run/lock
   * dmsquash-live: add /dev/mapper/live-base
   * Doc: cleanup, extend and split and reuse

OBS-URL: https://build.opensuse.org/request/show/208892
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=82
2013-11-29 12:27:47 +00:00
16512ff621 Accepting request 204070 from home:sumski:hazard:to:your:stereo
Remove not needed logrotate Requires

OBS-URL: https://build.opensuse.org/request/show/204070
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=80
2013-10-21 11:23:16 +00:00
Raymond Wooninck
23fde8b67c Accepting request 203550 from home:elvigia:branches:Base:System
- remove use_all_paths_udev.patch, /lib/udev.. is a symlink 
  to /usr nowadays this confuses other parts of the code causing
  errors/warnings during the initrd generation.

OBS-URL: https://build.opensuse.org/request/show/203550
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=78
2013-10-17 07:26:38 +00:00
Raymond Wooninck
81bee237bc Accepting request 203195 from home:elvigia:branches:Base:System
- version 034 
* fcoe: add FCoE UEFI boot device support
* rootfs-block: add support for the rootfallback= kernel 
  cmdline option
* btrfs: use inst_hook to install the timeout hook

OBS-URL: https://build.opensuse.org/request/show/203195
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=76
2013-10-14 07:40:46 +00:00
Raymond Wooninck
727d4b6625 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=74 2013-10-13 15:26:18 +00:00
Raymond Wooninck
d022d1bd78 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=73 2013-10-09 11:02:15 +00:00
Raymond Wooninck
a53fb0ad6d OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=71 2013-10-08 19:02:42 +00:00
Raymond Wooninck
913a8039c3 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=70 2013-10-08 19:00:45 +00:00
Thomas Renninger
76ec4e71db - Remove all patches which went mainline:
generalize_early_cpio.patch
	 microcode_cleanup.patch
	 acpi_override.patch
	 mkinitrd_allow_no_option.patch
	 mkinitrd_allow_multiple_args.patch
	 quiet_options.patch
	 implement_default.patch
	 root_fs.patch
	 suse_host_only.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=68
2013-10-07 10:41:17 +00:00
Thomas Renninger
69cdb12cd1 - Update to mainline git version 033, b7d1b6f904a5b0bdd9a5ad19149f3.
- Remove all patches which went mainline
- Fix missing root fs slash in lib/udev/rules.d resulting in:
  /var/tmp/initramfs.Lusf6flib/udev/rules.d
- bcache: removed, it's in the upstream bcache-tools package
  mainline git commit: 49268028b90f6344f79e3510d2
- Fix bad she-bang in mkinitrd_setup_dummy

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=67
2013-10-07 09:43:25 +00:00
Raymond Wooninck
650ca2a2ce OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=65 2013-10-04 17:24:02 +00:00
Raymond Wooninck
dd62f72388 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=64 2013-10-04 16:27:09 +00:00
Raymond Wooninck
cc979ea3ac OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=63 2013-10-04 09:59:08 +00:00
Raymond Wooninck
77a0e7b841 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=62 2013-10-04 09:52:30 +00:00
Raymond Wooninck
6cdd84caa6 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=61 2013-10-04 09:45:09 +00:00
Raymond Wooninck
7e05737de0 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=60 2013-10-04 09:41:08 +00:00
Robert Milasan
1c955cd93d Accepting request 201996 from home:mvyskocil
- Mark /etc/dracut.conf.d/02-early-microcode.conf as config file

Add following entry to .changes of trenn@suse.de
"""
- Build host only images for default paths in SUSE for faster build and
  smaller images. Imply --force in this case as well.
  * suse_host_only.patch
"""
It was not documented

- Tagged all patches per policy
- Add extension .patch to all patches per policy

OBS-URL: https://build.opensuse.org/request/show/201996
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=59
2013-10-03 07:37:56 +00:00
Thomas Renninger
d6401a2720 - Remove Provides/Obsoletes: mkinitrd versioning.
Simply obsolete and provide all mkinitrd versions.

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=58
2013-10-02 15:23:40 +00:00
Thomas Renninger
aee8513eaa - Add ACPI table override ability:
generalize_early_cpio.patch #PATCH-FIX-UPSTREAM
    microcode_cleanup           #PATCH-FIX-UPSTREAM
    acpi_override.patch         #PATCH-FIX-UPSTREAM
- This will replace mkinitrd with dracut as the default initrd generator.
  Therefore Prefer: dracut tag in the project config of the repo is needed.
  Otherwise OSC does not know how to build installation-images
  (needing mkinitrd to build) and which package to take.
-  To switch back and try mkinitrd instead of dracut will be:
     Uninstall dracut:
        - rpm -e dracut --nodeps
     And install mkinitrd again:
        - zypper install mkinitrd
  These patches have been submitted, but now feedback from mainline yet:
    mkinitrd_allow_no_option.patch
    mkinitrd_allow_multiple_args
    quiet_options
    implement_default
    root_fs
    suse_host_only
    This patch will never show up mainline and should also get reverted
    from SUSE factory repo before the next release shows up:
    suse_only_logger

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=57
2013-10-02 13:13:53 +00:00
Raymond Wooninck
3210e44b88 Accepting request 201877 from home:trenn:dracut_test
- Add ACPI table override ability
- Adjust mkinitrd-dracut.sh to SUSE mkinitrd:
  <none> : Before gives a "usage" error -> now scans /boot for kernels
           and builds corresponding inirtrds for them
  -i -k  : Pass a list of kernels and initrd targets
           (not sure it was worth the hassle to be able to pass)
  -b     : Boot directory to search for kernel images
  -d     : Change root file system. Not tested whether dracut's behavior
           matches exactly what our mkinitrd does.
  -s     : Dummy (should even be obsolete in latest mkinitrd)
- Write caller and used parameters to syslog if mkinitrd is called.
  So that those can easily be fixed and checked for correctness.
  This should get reverted again before a bigger release.

OBS-URL: https://build.opensuse.org/request/show/201877
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=56
2013-10-02 12:32:19 +00:00
Raymond Wooninck
aa492f5088 Accepting request 200059 from home:elvigia:branches:Base:System
- save a few seconds on boot by always including the autofs4 
  kernel module in the initrd

- dracut 033 
- improved hostonly device recognition
- improved hostonly module recognition
- do not install udev rules from /etc in generic mode
- fixed LABEL= parsing for swap devices
- fixed iBFT network setup
- removed caching of kernel cmdline
- bcache: support new blkid
- ifup with dhcp, if no "ip=" specified for the interface
- fixed ifup udev rules

OBS-URL: https://build.opensuse.org/request/show/200059
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=54
2013-09-21 19:24:08 +00:00
Raymond Wooninck
a6fa0f8e47 Accepting request 197948 from home:elvigia:branches:Base:System
- After testing, we need to correct a major problem, /usr/bin/mount
 most be installed in /bin/mount on the initrd otherwise boot fails.

- version 032 
- add parameter --print-cmdline
- dracut now creates the initramfs without udevadm
that means the udev database does not have to populated
and the initramfs can be built in a chroot with
/sys /dev /proc mounted.
- renamed dracut_install() to inst_multiple() for consistent naming
- if $libdirs is unset, fall back to ld.so.cache paths
- always assemble /usr device in initramfs
- bash module added (disable it, if you really want dash)
- continue to boot, if the main loop times out, in systemd mode
- removed inst*() shell pure versions, dracut-install binary is in charge now
- fixed ifcfg file generation for vlan
- do not include adjtime and localtime anymore
- fixed generation of zfcp.conf of CMS setups
- install vt102 terminfo
- dracut_install() is still there for backwards compat
- do not strip files in FIPS mode
- fixed iBFT interface configuration
- fs-lib: install fsck and fsck.ext*
- shutdown: fixed killall_proc_mountpoint()
- network: also wait for ethernet interfaces to setup
- fixed checking for FIPS mode

- version 031_git201308011055
* systemd: add support for kmod static devnodes
* crypt: Wait for udev to settle before unlocking disk

OBS-URL: https://build.opensuse.org/request/show/197948
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=52
2013-09-09 08:08:09 +00:00
Raymond Wooninck
e799bf4e09 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=50 2013-08-03 07:11:39 +00:00
Raymond Wooninck
4ce44b74df OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=49 2013-08-03 07:10:37 +00:00
Raymond Wooninck
ac1548eb99 Accepting request 184505 from home:elvigia:branches:Base:System
- version 030_git201307241235 
* systemd: Replace prefdm.service with display-manager.service
* modsign: do not install, if no keys present
* bcache: add support for bcache
* Use systemd-cat for logging on systemd systems, if logfile is empty

OBS-URL: https://build.opensuse.org/request/show/184505
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=48
2013-07-28 08:57:34 +00:00
Raymond Wooninck
64e6bc0680 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=46 2013-07-21 17:18:39 +00:00
Raymond Wooninck
64940bd696 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=45 2013-07-21 17:17:20 +00:00
Raymond Wooninck
ff5174b672 Accepting request 183560 from home:elvigia:branches:Base:System
- Version 029_git201307171236
* support early microcode loading in x86

OBS-URL: https://build.opensuse.org/request/show/183560
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=44
2013-07-18 11:45:24 +00:00
Raymond Wooninck
3cb3810228 Accepting request 181202 from home:elvigia:branches:Base:System
- Require pigz instead of gzip

OBS-URL: https://build.opensuse.org/request/show/181202
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=42
2013-06-28 07:27:05 +00:00
fbf4fb9776 Accepting request 179369 from home:elvigia:branches:Base:System
- version 029 
* fixes for the networking modules
* fixes for systemd integration
* fixes for the i18n module (removes dracut-font.patch now upstream)

OBS-URL: https://build.opensuse.org/request/show/179369
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=40
2013-06-18 07:22:22 +00:00
8caaf317db Accepting request 177940 from home:elvigia:branches:Base:System
- version 027_git201306061213
*  setup correct system time and time zone in initrd
* systemd integration bugfixes
* lvm bugfixes.

OBS-URL: https://build.opensuse.org/request/show/177940
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=38
2013-06-07 08:40:19 +00:00
Robert Milasan
1daf3d207f Accepting request 174864 from home:elvigia:branches:Base:System
- Recommend pigz for faster/parallel compression

OBS-URL: https://build.opensuse.org/request/show/174864
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=36
2013-05-09 13:47:27 +00:00