Commit Graph

260 Commits

Author SHA256 Message Date
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
Raymond Wooninck
0b365fa0a0 Accepting request 172625 from home:elvigia:branches:Base:System
- Ensure we use display-manager.service instead of prefdm.

OBS-URL: https://build.opensuse.org/request/show/172625
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=34
2013-04-20 20:14:02 +00:00
Raymond Wooninck
1b02e73d16 Accepting request 164012 from home:elvigia:branches:Base:System
- Update to 027_git201304121327
* much of patch correct-paths-for-opensuse.patch is no longer
  need so it has shrinked significantly.
* since PRE-027 dracut requires systemd >= 199 reflect that in
  in the rpm buildRequires.

OBS-URL: https://build.opensuse.org/request/show/164012
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=33
2013-04-15 09:51:29 +00:00
Raymond Wooninck
0535c438e3 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=32 2013-04-10 19:50:58 +00:00
Raymond Wooninck
ffebcf223c OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=31 2013-04-03 16:57:15 +00:00
Raymond Wooninck
59d37d9a78 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=30 2013-04-03 16:41:44 +00:00
Raymond Wooninck
6dc9322f80 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=29 2013-04-03 16:36:26 +00:00
Raymond Wooninck
f7a8de3ccf OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=28 2013-04-03 16:31:51 +00:00
Raymond Wooninck
33ff8e180e OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=27 2013-04-03 15:09:09 +00:00
Raymond Wooninck
ccf46fa3c6 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=26 2013-04-03 15:05:24 +00:00
Raymond Wooninck
70e7587219 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=25 2013-04-03 15:02:39 +00:00
Raymond Wooninck
1bc672797a OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=24 2013-04-03 14:55:08 +00:00
Raymond Wooninck
6921e32197 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=23 2013-04-03 09:26:01 +00:00
Raymond Wooninck
1e47df8b86 Accepting request 160131 from home:elvigia:branches:Base:System
- Update to 026_git201303180829
* bugfixes
* adds bash completion Support
- Most importantly, fix the (silly) compatibility patch 
  that changes the name from initramfs to initrd that went broken
  in last update (all initrds were suffixed by .img)

OBS-URL: https://build.opensuse.org/request/show/160131
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=21
2013-03-20 06:04:32 +00:00
Raymond Wooninck
e5c8f26624 Accepting request 158774 from home:elvigia:branches:Base:System
-  dracut-026
- introduce /usr/lib/dracut/dracut.conf.d/ drop-in directory
  /usr/lib/dracut/dracut.conf.d/*.conf can be overwritten by the same
  filenames in /etc/dracut.conf.d.
  Packages should use /usr/lib/dracut/dracut.conf.d rather than
  /etc/dracut.conf.d for drop-in configuration files.
  /etc/dracut.conf and /etc/dracut.conf.d belong to the system administrator.
- uses systemd-198 native initrd units
- totally rely on the fstab-generator in systemd mode for block devices
- dracut systemd now uses dracut.target rather than basic.target
- dracut systemd services optimize themselves away
- fixed hostonly parameter generation
- turn off curl globbing (fixes IPv6)
- modify the udev rules on install and not runtime time
- enable initramfs building without kernel modules (fixed regression)
- in the initqueue/timeout,
  reset the main loop counter, as we see new udev events or initqueue/work
- fixed udev rule installation

OBS-URL: https://build.opensuse.org/request/show/158774
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=19
2013-03-12 23:42:15 +00:00
Raymond Wooninck
d66881fa62 Accepting request 156022 from home:elvigia:branches:Base:System
- Update to 025_git201302211113
* Support out-of-tree and updated drivers in initramfs creation
* shutdown: call "losetup -D" on shutdown
* Mount /proc before including dracut-lib.sh.
* dracut.sh: make /var/log a symlink to /run/log
* systemd/dracut-pre-pivot.sh: remove /dev/root symlink after shell
* kernel-modules: Add ehci support for kernel 3.8+
* Other bugfixes

OBS-URL: https://build.opensuse.org/request/show/156022
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=17
2013-02-23 08:36:36 +00:00
Raymond Wooninck
9205f01736 Accepting request 150851 from home:elvigia:branches:Base:System
- BuildRequires: pkgconfig(systemd) so %{_unitdir} is defined
  and systemd integration works..

OBS-URL: https://build.opensuse.org/request/show/150851
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=15
2013-02-03 08:30:29 +00:00