Commit Graph

288 Commits

Author SHA256 Message Date
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
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
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
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
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
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
Robert Milasan
10c5be2abe Accepting request 150207 from home:elvigia:branches:Base:System
- Require modutils instead of module-init-tools.

OBS-URL: https://build.opensuse.org/request/show/150207
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=13
2013-01-28 19:52:45 +00:00
Raymond Wooninck
2adf5ef187 Accepting request 149775 from home:sumski:branches:Base:System
Update to release 025

OBS-URL: https://build.opensuse.org/request/show/149775
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=12
2013-01-24 10:28:22 +00:00
Raymond Wooninck
be4d3bd008 Accepting request 144446 from home:elvigia:branches:Base:System
- dracut wants "strip" installed which is part of binutils
  recommend that package

OBS-URL: https://build.opensuse.org/request/show/144446
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=10
2012-12-06 23:08:28 +00:00
Stephan Kulow
1c0a4be773 Accepting request 140221 from home:tittiatcoke:branches:Base:System
Update for dracut to be more openSUSE like

OBS-URL: https://build.opensuse.org/request/show/140221
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=8
2012-11-05 14:10:11 +00:00
744e960cb0 Accepting request 136344 from home:fcrozat:branches:Base:System
- Add initramfs-non-world-readable.patch: fix CVE-2012-4453
  (bnc#782734).

OBS-URL: https://build.opensuse.org/request/show/136344
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=6
2012-09-28 14:22:56 +00:00
Robert Milasan
f4ff927d08 Accepting request 129591 from home:fcrozat:branches:Base:System
- Update to release 023:
  + resume from hibernate fixes
  + -N option for --no-hostonly
  + support for systemd crypto handling
  + new dracut module "crypt-loop"
  + deprecate the old kernel command line options
  + more documentation
  + honor CFLAGS for dracut-install build
  + multipath fixes
  + / is mounted according to rootflags parameter but forced ro at
    first. Later it is remounted according to /etc/fstab +
    rootflags parameter and "ro"/"rw".
  + support for xfs / reiserfs separate journal device
  + new "ro_mnt" option to force ro mount of / and /usr
  + root on cifs support
  + dracut-install: fixed issue for /var/tmp containing a symlink
  + only lazy resolve with ldd, if the /var/tmp partition is not
    mounted with "noexec".
  + i18n: fixed inclusion of "include" keymaps
- Drop dracut_makefile_cflags_pass.patch and separate-journal.patch
  (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/129591
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=3
2012-08-02 19:33:14 +00:00
Robert Milasan
5b07b8f022 Accepting request 129273 from home:fcrozat:branches:Base:System
- Update to release 022:
  + fixed host-only kernel module bug
- Changes from release 021:
  + fixed systemd in the initramfs (requires systemd >= 187)
  + dracut-install: massive speedup with /var on the same
    filesystem with COW copy.
  + dracut-install: moved to /usr/lib/dracut until it becomes a
    general purpose toot
  + new options: "rd.usrmount.ro" and "rd.skipfsck"
  + less mount/umount
  + apply "ro" on the kernel command line also to /usr
  + mount according to fstab, if neither "ro" or "rw" is specified
  + skip fsck for xfs and btrfs. remount is enough
  + give emergency_shell if /usr mount failed
  + dracut now uses getopt:
    - options can be position independent now!!
    - we can now use --option=<arg>
  + added option "--kver=<kernel-version>", and the image location
    can be omitted : dracut --kver 3.5.0-0.rc7.git1.2.fc18.x86_64
  + dracut.sh: for --include copy also the symbolic links
  + man pages: lsinitrd and mkinitrd added
  + network: We do not support renaming in the kernel namespace
    anymore (as udev does that not anymore). So, if a user wants to
    use ifname, he has to rename to a custom namespace. "eth[0-9]+"
    is not allowed anymore.
  + resume: moved the resume process to the initqueue.
    This should prevent accidently mounting the root file system.
  + improve running testsuite
- Clean up package to be openSUSE only package and follow openSUSE
  standard.

OBS-URL: https://build.opensuse.org/request/show/129273
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=2
2012-07-30 18:02:55 +00:00
Thomas Renninger
052dc7e0d2 - First check in of version 020
- Fix Makefile so that make -e CFLAGS="$RPM_OPT_FLAGS" can be passed
- Remove Requires on libcap
- some more changes, most sent mainline

OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=1
2012-07-13 13:52:08 +00:00