dracut/dracut.spec

343 lines
12 KiB
RPMSpec
Raw Normal View History

#
# spec file for package dracut
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define dracutlibdir %{_libexecdir}/dracut
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 20:02:55 +02:00
Name: dracut
Version: 036
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 20:02:55 +02:00
Release: 0
Summary: Initramfs generator using udev
License: GPL-2.0+ and LGPL-2.1+
Group: System/Base
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 20:02:55 +02:00
Url: https://dracut.wiki.kernel.org/
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 13:27:47 +01:00
Source0: http://www.kernel.org/pub/linux/utils/boot/dracut/dracut-%{version}.tar.xz
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 20:02:55 +02:00
# openSUSE / SLE module to convert initrd command line parameters to dracut one
# (not to be upstreamed)
Source1: module-setup-initrd.sh
Source2: parse-suse-initrd.sh
Source3: mkinitrd_setup_dummy
Source4: purge-kernels
Source5: purge-kernels.service
Source6: dracut-installkernel
Patch10: 0006-Install-bin-mount.patch
Patch11: 0013-Correct-paths-for-openSUSE.patch
Patch12: 0014-Check-for-plymouth-lib-directories.patch
Patch13: dracut_do_not_update_booloader_if_no_kernel_is_found.patch
Patch14: suse_grub_manpage.patch
Patch15: replace_dhclient_with_wickedd_dhcp_supplicants.patch
Patch16: fix-iscsi-firmware.patch
Patch17: remove-iscsiuio.patch
Patch18: 0015-add-new-s390x-specific-rule-files.patch
Patch19: change_write_ifcfg_to_suse.patch
Patch20: dracut-fix-whitespace-add-drivers_call.patch
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 20:02:55 +02:00
BuildRequires: asciidoc
BuildRequires: bash
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 20:02:55 +02:00
BuildRequires: docbook-xsl-stylesheets
BuildRequires: libxslt
BuildRequires: pkgconfig(systemd) >= 199
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 20:02:55 +02:00
Requires: bash
Requires: coreutils
Requires: cpio
Requires: file
Requires: filesystem
Requires: findutils
Requires: grep
Requires: hardlink
Requires: modutils
Requires: pigz
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 20:02:55 +02:00
Requires: sed
Requires: systemd >= 200
# systemd-sysvinit provides: poweroff, reboot, halt
Requires: systemd-sysvinit
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 20:02:55 +02:00
Requires: udev > 166
Requires: util-linux >= 2.21
Requires: xz
Recommends: binutils
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 13:27:47 +01:00
Recommends: logrotate
Obsoletes: mkinitrd < 2.8.2
Provides: mkinitrd = 2.8.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
%description
Dracut contains tools to create a bootable initramfs for 2.6 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.
%package network
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 20:02:55 +02:00
Summary: Dracut modules to build a dracut initramfs with network support
Group: System/Base
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 20:02:55 +02:00
Requires: %{name} = %{version}
Obsoletes: dracut-generic < 008
Provides: dracut-generic = %{version}
%description network
This package requires everything which is needed to build a generic
all purpose initramfs with network support with dracut.
%package caps
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 20:02:55 +02:00
Summary: Dracut modules to build a dracut initramfs which drops capabilities
Group: System/Base
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 20:02:55 +02:00
Requires: %{name} = %{version}
Requires: libcap
%description caps
This package requires everything which is needed to build an
all purpose initramfs with dracut, which drops capabilities.
%package tools
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 20:02:55 +02:00
Summary: Dracut tools to build the local initramfs
Group: System/Base
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 20:02:55 +02:00
Requires: %{name} = %{version}
%description tools
This package contains tools to assemble the local initrd and host configuration.
%prep
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 20:02:55 +02:00
%setup -q
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 13:27:47 +01:00
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%build
%configure\
--systemdsystemunitdir=%{_unitdir}\
--bashcompletiondir=%{_sysconfdir}/bash_completion.d\
--libdir=%{_prefix}/lib
make all -e CFLAGS="%{optflags}" %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
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 13:27:47 +01:00
echo -e "#!/bin/bash\nDRACUT_VERSION=%{version}-%{release}" > %{buildroot}/%{dracutlibdir}/dracut-version.sh
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 20:02:55 +02:00
rm -fr %{buildroot}%{dracutlibdir}/modules.d/01fips
rm -fr %{buildroot}%{dracutlibdir}/modules.d/02fips-aesni
# we do not support dash in the initramfs
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 13:27:47 +01:00
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/00dash
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 20:02:55 +02:00
# add suse cmline conversion
mkdir -p %{buildroot}%{dracutlibdir}/modules.d/99suse
install -m 0755 %{SOURCE1} %{buildroot}%{dracutlibdir}/modules.d/99suse/module-setup.sh
install -m 0755 %{SOURCE2} %{buildroot}%{dracutlibdir}/modules.d/99suse/parse-suse-initrd.sh
# remove gentoo specific modules
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 20:02:55 +02:00
rm -fr %{buildroot}%{dracutlibdir}/modules.d/50gensplash
%if %{defined _unitdir}
# with systemd IMA and selinux modules do not make sense
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 20:02:55 +02:00
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/96securityfs
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/97masterkey
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98integrity
rm -fr %{buildroot}/%{dracutlibdir}/modules.d/98selinux
%endif
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 20:02:55 +02:00
mkdir -p %{buildroot}/boot/dracut
mkdir -p %{buildroot}%{_localstatedir}/lib/dracut/overlay
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/dracut.log
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 20:02:55 +02:00
install -m 0644 dracut.conf.d/suse.conf.example %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
echo 'add_dracutmodules+="network iscsi"' >> %{buildroot}%{_sysconfdir}/dracut.conf.d/01-dist.conf
%ifarch %ix86 x86_64
echo 'early_microcode="yes"' > %{buildroot}%{_sysconfdir}/dracut.conf.d/02-early-microcode.conf
%endif
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 13:27:47 +01:00
rm %{buildroot}%{_bindir}/mkinitrd
# moved to /sbin
mkdir -p %{buildroot}/sbin
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 13:27:47 +01:00
install -m 0755 mkinitrd-suse.sh %{buildroot}/sbin/mkinitrd
mv %{buildroot}%{_mandir}/man8/mkinitrd-suse.8 %{buildroot}%{_mandir}/man8/mkinitrd.8
install -m 0755 %{SOURCE3} %{buildroot}/sbin/mkinitrd_setup
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 20:02:55 +02:00
mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
install -m 0644 dracut.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/dracut
install -D -m 0755 %{SOURCE4} %{buildroot}/sbin/purge-kernels
install -m 644 %{SOURCE5} %{buildroot}/%{_unitdir}/purge-kernels.service
install -D -m 0755 %{SOURCE6} %{buildroot}/sbin/installkernel
%if 0%{?suse_version}
ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-suse.sh %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
%else
ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh %{buildroot}/%{dracutlibdir}/modules.d/45ifcfg/write-ifcfg.sh
%endif
%pre
%service_add_pre purge-kernels.service
%preun
%service_del_preun purge-kernels.service
%files
%defattr(-,root,root,0755)
%doc README HACKING TODO COPYING AUTHORS NEWS dracut.html dracut.png dracut.svg
%{_bindir}/dracut
/sbin/purge-kernels
/sbin/installkernel
/sbin/mkinitrd
/sbin/mkinitrd_setup
%{_bindir}/lsinitrd
%config %{_sysconfdir}/bash_completion.d/lsinitrd
%dir %{dracutlibdir}
%dir %{dracutlibdir}/modules.d
%{dracutlibdir}/skipcpio
%{dracutlibdir}/dracut-functions.sh
%{dracutlibdir}/dracut-functions
%{dracutlibdir}/dracut-version.sh
%{dracutlibdir}/dracut-logger.sh
%{dracutlibdir}/dracut-initramfs-restore
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 20:02:55 +02:00
%{dracutlibdir}/dracut-install
%config(noreplace) %{_sysconfdir}/dracut.conf
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
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 20:02:55 +02:00
%config %{_sysconfdir}/dracut.conf.d/01-dist.conf
%endif
%ifarch %ix86 x86_64
%config %{_sysconfdir}/dracut.conf.d/02-early-microcode.conf
%endif
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 20:02:55 +02:00
%dir %{_sysconfdir}/dracut.conf.d
%{_mandir}/man8/dracut.8*
%{_mandir}/man8/mkinitrd.8*
%{_mandir}/man1/lsinitrd.1*
%{_mandir}/man7/dracut.kernel.7*
%{_mandir}/man7/dracut.cmdline.7*
%{_mandir}/man7/dracut.bootup.7*
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 13:27:47 +01:00
%{_mandir}/man7/dracut.modules.7*
%{_mandir}/man8/dracut-cmdline.service.8*
%{_mandir}/man8/dracut-initqueue.service.8*
%{_mandir}/man8/dracut-pre-pivot.service.8*
%{_mandir}/man8/dracut-pre-trigger.service.8*
%{_mandir}/man8/dracut-pre-udev.service.8*
%{_mandir}/man8/dracut-mount.service.8.*
%{_mandir}/man8/dracut-pre-mount.service.8.*
%{_mandir}/man8/dracut-shutdown.service.8.*
%{_mandir}/man5/dracut.conf.5*
%dir %{_libexecdir}/kernel
%dir %{_libexecdir}/kernel/install.d
%{_libexecdir}/kernel/install.d/50-dracut.install
%{_libexecdir}/kernel/install.d/51-dracut-rescue.install
%dir %{dracutlibdir}/modules.d/00systemd-bootchart
%dir %{dracutlibdir}/modules.d/03rescue
%{dracutlibdir}/modules.d/00systemd-bootchart/module-setup.sh
%{dracutlibdir}/modules.d/03rescue/module-setup.sh
%{dracutlibdir}/modules.d/00bootchart
%{dracutlibdir}/modules.d/04watchdog
%{dracutlibdir}/modules.d/05busybox
%{dracutlibdir}/modules.d/10i18n
%{dracutlibdir}/modules.d/30convertfs
%{dracutlibdir}/modules.d/45url-lib
%{dracutlibdir}/modules.d/50drm
%{dracutlibdir}/modules.d/50plymouth
%{dracutlibdir}/modules.d/80cms
%{dracutlibdir}/modules.d/90btrfs
%{dracutlibdir}/modules.d/90crypt
%{dracutlibdir}/modules.d/90dm
%{dracutlibdir}/modules.d/90dmraid
%{dracutlibdir}/modules.d/90dmsquash-live
%{dracutlibdir}/modules.d/90kernel-modules
%{dracutlibdir}/modules.d/90lvm
%{dracutlibdir}/modules.d/90mdraid
%{dracutlibdir}/modules.d/90multipath
%{dracutlibdir}/modules.d/90qemu
%{dracutlibdir}/modules.d/91crypt-gpg
%{dracutlibdir}/modules.d/91crypt-loop
%{dracutlibdir}/modules.d/95cifs
%{dracutlibdir}/modules.d/95debug
%{dracutlibdir}/modules.d/95resume
%{dracutlibdir}/modules.d/95rootfs-block
%{dracutlibdir}/modules.d/95dasd
%{dracutlibdir}/modules.d/95dasd_mod
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 13:27:47 +01:00
%{dracutlibdir}/modules.d/95dasd_rules
%{dracutlibdir}/modules.d/95fstab-sys
%{dracutlibdir}/modules.d/95zfcp
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 13:27:47 +01:00
%{dracutlibdir}/modules.d/95zfcp_rules
%{dracutlibdir}/modules.d/95terminfo
%{dracutlibdir}/modules.d/95udev-rules
%{dracutlibdir}/modules.d/95virtfs
%if %{undefined _unitdir}
%{dracutlibdir}/modules.d/96securityfs
%{dracutlibdir}/modules.d/97masterkey
%{dracutlibdir}/modules.d/98selinux
%{dracutlibdir}/modules.d/98integrity
%endif
%{dracutlibdir}/modules.d/97biosdevname
%{dracutlibdir}/modules.d/98ecryptfs
%{dracutlibdir}/modules.d/98pollcdrom
%{dracutlibdir}/modules.d/98syslog
%{dracutlibdir}/modules.d/98systemd
%{dracutlibdir}/modules.d/98usrmount
%{dracutlibdir}/modules.d/99base
%{dracutlibdir}/modules.d/99fs-lib
%{dracutlibdir}/modules.d/99img-lib
%{dracutlibdir}/modules.d/99shutdown
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 20:02:55 +02:00
%{dracutlibdir}/modules.d/99suse
%dir %{dracutlibdir}/modules.d/03modsign
%{dracutlibdir}/modules.d/03modsign/load-modsign-keys.sh
%{dracutlibdir}/modules.d/03modsign/module-setup.sh
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 10:08:09 +02:00
%dir %{dracutlibdir}/modules.d/00bash
%{dracutlibdir}/modules.d/00bash/module-setup.sh
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 20:02:55 +02:00
%config(noreplace) %{_sysconfdir}/logrotate.d/dracut
%attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
%if %{defined _unitdir}
%dir %{_unitdir}/initrd.target.wants
%{_unitdir}/*.service
%{_unitdir}/*/*.service
%endif
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 13:27:47 +01:00
%config %{_sysconfdir}/bash_completion.d/dracut
%files network
%defattr(-,root,root,0755)
%{dracutlibdir}/modules.d/40network
%{dracutlibdir}/modules.d/95fcoe
%{dracutlibdir}/modules.d/95iscsi
%{dracutlibdir}/modules.d/90livenet
%{dracutlibdir}/modules.d/90qemu-net
%{dracutlibdir}/modules.d/95nbd
%{dracutlibdir}/modules.d/95nfs
%{dracutlibdir}/modules.d/95ssh-client
%{dracutlibdir}/modules.d/45ifcfg
%{dracutlibdir}/modules.d/95znet
%{dracutlibdir}/modules.d/95fcoe-uefi
%{dracutlibdir}/modules.d/99uefi-lib
%files caps
%defattr(-,root,root,0755)
%{dracutlibdir}/modules.d/02caps
%files tools
%defattr(-,root,root,0755)
%{_mandir}/man8/dracut-catimages.8*
%{_bindir}/dracut-catimages
%dir /boot/dracut
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 20:02:55 +02:00
%dir %{_localstatedir}/lib/dracut
%dir %{_localstatedir}/lib/dracut/overlay
%changelog