diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/ChangeLog b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/ChangeLog new file mode 100644 index 0000000000..dfd91ab60a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/ChangeLog @@ -0,0 +1,1750 @@ +# ChangeLog for sys-kernel/dracut +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.166 2014/05/14 07:09:46 aidecoe Exp $ + +*dracut-037-r1 (13 May 2014) + + 13 May 2014; Amadeusz Żołnowski +dracut-037-r1.ebuild, + +files/037-0005-modsign-do-not-hardcode-path-to-keyctl.patch: + Fixes bug #506094 and rels bug #508652 in behalf of Alexander Tsoy. + + 24 Apr 2014; Amadeusz Żołnowski dracut-036-r4.ebuild, + dracut-037.ebuild: + Suggest newer version of plymouth, rels bug #504846. + + 20 Mar 2014; Amadeusz Żołnowski -dracut-036-r3.ebuild: + Removed old revision of 036. + +*dracut-037 (20 Mar 2014) + + 20 Mar 2014; Amadeusz Żołnowski +dracut-037.ebuild, + +files/037-0001-dracut-functions.sh-support-for-altern.patch, + +files/037-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/037-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch, + +files/037-0004-Install-dracut-install-into-libexec-di.patch: + Version bump. New udev and systemd are unblocked. + + dracut-037 + ========== + - dracut: hostonly_cmdline variable and command line switch + Toggle hostonly cmdline storing in the initramfs + --hostonly-cmdline: + Store kernel command line arguments needed in the initramfs + --no-hostonly-cmdline: + Do not store kernel command line arguments needed in the initramfs + - dracut: --mount now understands full fstab lines + - dracut now also includes drivers from the /lib/modules//updates + directory + - dracut: only set the owner of files to 0:0, if generated as non-root + - dracut now directly writes to the initramfs file + - dracut: call lz4 with the legacy flag (linux kernel does not support the + new format) + - systemd: rootfs-generator generates JobTimeout=0 units for the root device + - systemd: added the systemd-sysctl service + - systemd: add 80-net-setup-link.rules and .link files for persistent + interface renaming + - systemd: make dracut-shutdown.service failure non-fatal + - network: various IPv6 fixes + - network: DCHCP for IPv6 + - network: understand ip=.....:: + - network: parse ibft nameserver settings + - shutdown: if kexec fails, just reboot + - lvm: handle one LV at a time with lvchange + - module-setup.sh: New functions require_binaries() and require_any_binary() + to be used in the check() section of module-setup.sh. + - a lot of small bugfixes + + 06 Mar 2014; Amadeusz Żołnowski dracut-036-r4.ebuild: + Remove systemd module if systemd USE flag is disabled. + + 27 Feb 2014; Amadeusz Żołnowski dracut-034-r4.ebuild, + dracut-036-r3.ebuild, dracut-036-r4.ebuild: + The same goes for systemd: blocking 210, for the new 99-default.link file + + 27 Feb 2014; Amadeusz Żołnowski dracut-034-r4.ebuild, + dracut-036-r3.ebuild, dracut-036-r4.ebuild: + >=sys-fs/udev-210 moved /sbin/udevd to /lib/systemd/systemd-udevd, and + started installing a new file for network interface naming setup at + /lib/systemd/network/99-default.link + +*dracut-036-r4 (26 Feb 2014) + + 26 Feb 2014; Amadeusz Żołnowski +dracut-036-r4.ebuild, + +files/036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch: + Fixed bug #502102. + + Commit on behalf of Alexander Tsoy . + + 24 Feb 2014; Amadeusz Żołnowski -dracut-036.ebuild, + -dracut-036-r1.ebuild, -dracut-036-r2.ebuild: + Removed older revisions of 036. + + 24 Feb 2014; Amadeusz Żołnowski dracut-036-r3.ebuild: + elog message in postinst reformatted. + +*dracut-036-r3 (24 Feb 2014) + + 24 Feb 2014; Amadeusz Żołnowski +dracut-036-r3.ebuild: + Added missing patch entry to the list. + +*dracut-036-r2 (23 Feb 2014) + + 23 Feb 2014; Amadeusz Żołnowski +dracut-036-r2.ebuild, + +files/036-0007-Added-missing-quotes.patch: + Fixed bug #502064 and bug #501566. + + Commit on behalf of Alexander Tsoy . + +*dracut-036-r1 (17 Feb 2014) + + 17 Feb 2014; Amadeusz Żołnowski +dracut-036-r1.ebuild, + +files/036-0006-dracut.sh-Fix-variable-name-typo.patch: + Fixed problem with root= boot parameter being ignored by dracut in hostonly + mode. Rels comment #40 of bug #498832. + + Commit on behalf of Alexander Tsoy . + +*dracut-036 (16 Feb 2014) + + 16 Feb 2014; Amadeusz Żołnowski +dracut-036.ebuild, + +files/036-0001-NEWS-update-for-version-036.patch, + +files/036-0002-dracut-functions.sh-support-for-altern.patch, + +files/036-0003-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/036-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch, + +files/036-0005-Install-dracut-install-into-libexec-di.patch: + Version bump. + + At the request of QA team the use of DRACUT_MODULES use-expand has been + removed as well as run-time (pseudo-suggested) dependencies. Instead, the + list of suggested dependencies is printed in postinst log message. See + bug #498832. + + NEWS + ~~~~ + (since dracut-034) + + - fixed skipcpio signature checking + - new argument "--rebuild" + - add lzo, lz4 compression + - install: install all binaries with found in PATH + - lsinitrd can now handle initramfs images with an early cpio prepended + (microcode, ACPI tables) + - mkinitrd-suse added as a compat stub for dracut + - lvm: install thin utils for non-hostonly + - resume: fix swap detection in hostonly + - avoid loading unnecessary 32-bit libraries for 64-bit initrds + - crypt: wait for systemd password agents + - crypt: skip crypt swaps with password files + - network: before doing dhcp, dracut now checks, if the link has a carrier + - network: dhclient-script.sh now sets the lease time + - network: include usbnet drivers + - network: include all ethernet drivers + - network: add rd.bootif=0 to ignore BOOTIF + - i18n: introduce i18n_install_all, to install everything i18n related + - usrmount: always install the module, + so always mount /usr from within the initramfs + - "halt" the machine in systemd mode for die() + + 19 Jan 2014; Amadeusz Żołnowski metadata.xml: + Removed desc. of no longer existing 'optimization' flag. + + 19 Jan 2014; Amadeusz Żołnowski dracut-034-r4.ebuild, + -files/034-0010-module-setup.sh-add-comments.patch.bz2: + Moved compressed patch out of portdir, fixes bug #498062. + + 19 Jan 2014; Amadeusz Żołnowski -dracut-026-r2.ebuild, + -dracut-027-r3.ebuild, -dracut-029.ebuild, -dracut-030.ebuild, + -dracut-031-r1.ebuild, -dracut-033-r3.ebuild, -dracut-034-r3.ebuild, + -files/026-0000-fix-version-print.patch, + -files/027-0000-fix-version-print.patch, + -files/026-0001-dracut-functions.sh-support-for-altern.patch, + -files/027-0001-dracut-functions.sh-support-for-altern.patch, + -files/029-0001-dracut-functions.sh-support-for-altern.patch, + -files/030-0001-dracut-functions.sh-support-for-altern.patch, + -files/031-0001-dracut-functions.sh-support-for-altern.patch, + -files/033-0001-dracut-functions.sh-support-for-altern.patch, + -files/026-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/027-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/029-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/030-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/031-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/033-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/027-0003-Do-not-call-plymouth-with-full-path.patch, + -files/029-0003-LatArCyrHeb-16-as-a-default-i18n-font-.patch, + -files/030-0003-LatArCyrHeb-16-as-a-default-i18n-font-.patch, + -files/031-0003-Revert-base-setup-correct-system-time-.patch, + -files/026-0003-Revert-crypt-dmraid-mdraid-use-for_eac.patch, + -files/033-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch, + -files/033-0004-Install-dracut-install-into-libexec-di.patch, + -files/026-0004-lsinitrd.sh-fix-for-default-initrd-not.patch, + -files/027-0004-plymouth-plymouth-pretrigger.sh-fixup-.patch, + -files/033-0005-dracut.sh-harden-host_modalias-reading.patch, + -files/026-0005-lsinitrd.sh-removed-trailing.patch, + -files/033-0006-ifup-do-not-dhcp-on-network-interface-.patch, + -files/026-0006-make-host_fs_types-a-hashmap.patch, + -files/033-0007-lvm-mdraid-Fix-LVM-on-MD-activation.patch, + -files/033-0008-mdraid-module-setup.sh-install-configs.patch, + -files/033-0009-mdraid-module-setup.sh-fixes-for-mdadm.patch: + Removed old versions. Rels bug #498062. Versions prior to 034-r4 have bugs + which were not backported from 034-r4, so there's no reason to keep them. + + 28 Dec 2013; Amadeusz Żołnowski dracut-034-r3.ebuild, + dracut-034-r4.ebuild, +files/034-0010-module-setup.sh-add-comments.patch.bz2, + -files/034-0010-module-setup.sh-add-comments-for-dracu.patch: + Compressed patch too big. + +*dracut-034-r4 (28 Dec 2013) + + 28 Dec 2013; Amadeusz Żołnowski +dracut-034-r4.ebuild: + No longer require pkg-config at run-time. Paths (udev dir and systemd dirs) + are set in dracut config file by ebuild. It fixes bug #488504. If any of this + paths is changed, dracut will have to be rebuilt by a user. + + 28 Dec 2013; Amadeusz Żołnowski -dracut-034.ebuild, + -dracut-034-r1.ebuild, -dracut-034-r2.ebuild: + Removed old revisions of version 034. + +*dracut-034-r3 (28 Dec 2013) + + 28 Dec 2013; Amadeusz Żołnowski dracut-034-r2.ebuild, + +dracut-034-r3.ebuild, +files/034-0014-udev-rules-add-eudev-rules.patch: + Committing on behalf of Alexander Tsoy . + Fixes bug #494188: Missing udev rules for loading kernel modules. + + 14 Dec 2013; Amadeusz Żołnowski dracut-034-r2.ebuild: + Added epatch_user call. Rels bug #487410. + +*dracut-034-r2 (14 Dec 2013) + + 14 Dec 2013; Amadeusz Żołnowski +dracut-034-r2.ebuild, + +files/034-0013-usrmount-always-install.patch: + Committing on behalf of Alexander Tsoy . + Fixes bug #489624 and bug #491778. + + usrmount module used to be not always installed when it was needed. + + 10 Dec 2013; Amadeusz Żołnowski dracut-034-r1.ebuild: + Committing on behalf of Alexander Tsoy . + Fixes bug #489966. + + "It seems that sys-apps/sysvinit dependency is not mandatory anymore. The + only + executables from sysvinit that still needed by dracut are: reboot, poweroff, + halt. All of them are also provided by sys-apps/systemd-sysv-utils. + + Of course, if sys-apps/sysvinit is not installed and systemd module is not + included in initramfs, then shutdown functionality will likely not work." + + 09 Dec 2013; Amadeusz Żołnowski metadata.xml: + Added Alexander Tsoy as a second maintainer and proxy-maintainers herd. + + 18 Nov 2013; Amadeusz Żołnowski dracut-034-r1.ebuild, + +files/034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch, + +files/034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch, + +files/034-0009-lvm-install-thin-utils-for-non-hostonl.patch, + +files/034-0010-module-setup.sh-add-comments-for-dracu.patch, + +files/034-0011-lvm-fix-thin-recognition.patch, + +files/034-0012-lvm-always-install-thin-utils-for-lvm.patch: + Fixed bug #487324 (redundant dirs) and bug #490098 (thin provisioning). + + 27 Oct 2013; Sven Vermeulen dracut-026-r2.ebuild, + dracut-027-r3.ebuild, dracut-029.ebuild, dracut-030.ebuild, + dracut-031-r1.ebuild, dracut-033-r3.ebuild, dracut-034.ebuild, + dracut-034-r1.ebuild: + Fix bug #489080 - Depend on sec-policy/selinux-dracut if USE=selinux + +*dracut-034-r1 (16 Oct 2013) + + 16 Oct 2013; Amadeusz Żołnowski +dracut-034-r1.ebuild, + +files/034-0006-resume-fix-swap-detection-in-hostonly.patch: + Fixed bug #487322 (resume support in hostonly mode) and bug #486516 + (redundant inclusion of libs from lib32 directory). + + Thanks to Alexander Tsoy for patch for bug #486516. + + 08 Oct 2013; Amadeusz Żołnowski -dracut-031.ebuild: + Removed old revision of 031. + + 08 Oct 2013; Amadeusz Żołnowski -dracut-033.ebuild, + -dracut-033-r1.ebuild, -dracut-033-r2.ebuild: + Removed old revisions of 033. + +*dracut-034 (08 Oct 2013) + + 08 Oct 2013; Amadeusz Żołnowski +dracut-034.ebuild, + +files/034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch, + +files/034-0002-dracut-functions.sh-support-for-altern.patch, + +files/034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch, + +files/034-0005-Install-dracut-install-into-libexec-di.patch: + Version bump. + + NEWS + ~~~~ + - do not run dhcp on parts of assembled network interfaces (bond, bridge) + - add option to turn on/off prelinking + --prelink, --noprelink + do_prelink=[yes|no] + - add ACPI table overriding + - do not log to syslog/kmsg/journal for UID != 0 + - lvm/mdraid: Fix LVM on MD activation + - bcache module removed (now in bcache-tools upstream) + - mdadm: also install configs from /etc/mdadm.conf.d + - fixes for mdadm-3.2.6+ + - mkinitrd: better compat support for SUSE + - fcoe: add FCoE UEFI boot device support + - rootfs-block: add support for the rootfallback= kernel cmdline option + +*dracut-033-r3 (06 Oct 2013) + + 06 Oct 2013; Amadeusz Żołnowski +dracut-033-r3.ebuild, + +files/033-0005-dracut.sh-harden-host_modalias-reading.patch, + +files/033-0006-ifup-do-not-dhcp-on-network-interface-.patch, + +files/033-0007-lvm-mdraid-Fix-LVM-on-MD-activation.patch, + +files/033-0008-mdraid-module-setup.sh-install-configs.patch, + +files/033-0009-mdraid-module-setup.sh-fixes-for-mdadm.patch: + Applied patches with bug fixes wrt mdraid and lvm. + + It fixes bug #486344, bug #485748, possible bug on PPC and bug related to + net-bonding. + + Thanks to Alexander Tsoy for some of these patches and + generally for help. + +*dracut-033-r2 (02 Oct 2013) + + 02 Oct 2013; Amadeusz Żołnowski +dracut-033-r2.ebuild, + +files/033-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch, + +files/033-0004-Install-dracut-install-into-libexec-di.patch: + Fixes bug #485204 and bug #485218. + + Thanks to Alexander Tsoy for suggestions on bug #485204. + + Thanks to Steven Newbury for good suggestions on + bug #485218. Patch installing dracut-install to /usr/libexec has been + submitted upstream. + + 28 Sep 2013; Amadeusz Żołnowski dracut-033-r1.ebuild: + Removed dead 'optimization' flag from IUSE. + +*dracut-033-r1 (25 Sep 2013) + + 25 Sep 2013; Amadeusz Żołnowski +dracut-033-r1.ebuild: + Dropped optimization flag, because it is no longer an option. dracut-install + binary is installed into libdir, therefore it was required to set target lib + directory according to multilib rules. + + It fixes bug #485218 and bug #485202. + +*dracut-033 (14 Sep 2013) + + 14 Sep 2013; Amadeusz Żołnowski dracut-026-r2.ebuild, + dracut-027-r3.ebuild, dracut-029.ebuild, dracut-030.ebuild, + dracut-031.ebuild, dracut-031-r1.ebuild, +dracut-033.ebuild, + +files/033-0001-dracut-functions.sh-support-for-altern.patch, + +files/033-0002-gentoo.conf-let-udevdir-be-handled-by-.patch: + Version bump. Added dash module back and it can be installed optionally. bash + is a module too, now and can be disable at initramfs build time. + + NEWS + ~~~~ + dracut-033 + ========== + - improved hostonly device recognition + - improved hostonly module recognition + - add dracut.css for dracut.html + - do not install udev rules from /etc in generic mode + - fixed LABEL= parsing for swap devices + - fixed iBFT network setup + - url-lib.sh: handle 0-size files with curl + - dracut.asc: document debugging dracut on shutdown + - if rd.md=0, use dmraid for imsm and ddf + - skip empty dracut modules + - removed caching of kernel cmdline + - fixed iso-scan, if the loop device driver is a kernel module + - bcache: support new blkid + - fixed ifup udev rules + - ifup with dhcp, if no "ip=" specified for the interface + + dracut-032 + ========== + - add parameter --print-cmdline + This prints the kernel command line parameters for the current disk + layout. + $ dracut --print-cmdline + rd.luks.uuid=luks-e68c8906-6542-4a26-83c4-91b4dd9f0471 + rd.lvm.lv=debian/root rd.lvm.lv=debian/usr root=/dev/mapper/debian-root + rootflags=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered + rootfstype=ext4 + - dracut.sh: add --persistent-policy option and persistent_policy conf option + --persistent-policy : + Use to address disks and partitions. + can be any directory name found in /dev/disk. + E.g. "by-uuid", "by-label" + - 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 + - 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 + + 13 Aug 2013; Amadeusz Żołnowski dracut-026-r2.ebuild, + dracut-027-r3.ebuild, dracut-029.ebuild, dracut-030.ebuild, + dracut-031.ebuild, dracut-031-r1.ebuild: + Update mdadm dependency version to conform upstream dracut.spec. Fixes bug + #479544. + +*dracut-031-r1 (05 Aug 2013) + + 05 Aug 2013; Amadeusz Żołnowski +dracut-031-r1.ebuild, + +files/031-0003-Revert-base-setup-correct-system-time-.patch: + Added patch reverting addition of hwclock. Fixes bug #479828. + +*dracut-031 (03 Aug 2013) + + 03 Aug 2013; Amadeusz Żołnowski +dracut-031.ebuild, + +files/031-0001-dracut-functions.sh-support-for-altern.patch, + +files/031-0002-gentoo.conf-let-udevdir-be-handled-by-.patch: + Version bump. + + NEWS + ~~~~ + - do not include the resume dracut module in hostonly mode, + if no swap is present + - don't warn twice about omitted modules + - use systemd-cat for logging on systemd systems, if logfile is unset + - fixed PARTUUID parsing + - support kernel module signing keys + - do not install the usrmount dracut module in hostonly mode, + if /sbin/init does not live in /usr + - add debian udev rule files + - add support for bcache + - network: handle bootif style interfaces + e.g. ip=77-77-6f-6f-64-73:dhcp + - add support for kmod static devnodes + - add vlan support for iBFT + +*dracut-030 (25 Jul 2013) + + 25 Jul 2013; Amadeusz Żołnowski +dracut-030.ebuild, + +files/030-0001-dracut-functions.sh-support-for-altern.patch, + +files/030-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/030-0003-LatArCyrHeb-16-as-a-default-i18n-font-.patch: + Version bump. dash dependency is dropped as well as the module which is no + longer supported. + + NEWS + ~~~~ + (from Dracut NEWS file) + - support new persistent network interface names + - fix findmnt calls, prevents hang on stale NFS mounts + - add systemd.slice and slice.target units + - major shell cleanup + - support root=PARTLABEL= and root=PARTUUID= + - terminfo: only install l/linux v/vt100 and v/vt220 + - unset all LC_* and LANG, 10% faster + - fixed dependency loop for dracut-cmdline.service + - do not wait_for_dev for the root devices + - do not wait_for_dev for devices, if dracut-initqueue is not needed + - support early microcode loading with --early-microcode + - dmraid, let dmraid setup its own partitions + - sosreport renamed to rdsosreport + + 23 Jul 2013; Samuli Suominen dracut-026-r2.ebuild, + dracut-027-r3.ebuild, dracut-029.ebuild: + Remove non-existing sys-apps/module-init-tools from dependencies in favour of + sys-apps/kmod. + + 06 Jul 2013; Amadeusz Żołnowski dracut-027-r3.ebuild, + dracut-029.ebuild: + Use get_bashcompdir() of bash-completion-r1 eclass. + + 23 Jun 2013; Amadeusz Żołnowski -dracut-014-r3.ebuild, + -dracut-018-r3.ebuild, -dracut-019-r6.ebuild, -dracut-022-r6.ebuild, + -dracut-023-r4.ebuild, -dracut-024-r4.ebuild, -dracut-025.ebuild, + -dracut-026.ebuild, -dracut-026-r1.ebuild, -dracut-027.ebuild, + -dracut-027-r1.ebuild, -dracut-027-r2.ebuild, + -files/025-0000-fix-version-print.patch, + -files/019-0001-90multipath-added-kpartx.rules-multipa.patch, + -files/024-0001-Fallback-to-external-blkid-and-path_id.patch, + -files/023-0001-dracut-functions.sh-find_binary-path-s.patch, + -files/025-0001-dracut-functions.sh-support-for-altern.patch, + -files/022-0001-qemu-module-setup.sh-provide-alternati.patch, + -files/023-0002-90crypt-call-systemd-commands-only-if-.patch, + -files/019-0002-Avoid-annonying-warnings-when-pkg-conf.patch, + -files/022-0002-Makefile-use-implicit-rules-for-instal.patch, + -files/024-0002-dracut-functions.sh-fixed-inst_rules-s.patch, + -files/025-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/019-0003-99shutdown-remove-no-wall-argument-for.patch, + -files/023-0003-Fallback-to-external-blkid-and-path_id.patch, + -files/024-0003-dracut-functions.sh-support-for-altern.patch, + -files/022-0003-kernel-modules-module-setup.sh-just-op.patch, + -files/025-0003-rootfs-block-mount-root.sh-fixup-for-8.patch, + -files/022-0004-90multipath-added-kpartx.rules-multipa.patch, + -files/019-0004-dracut.sh-do-not-copy-var-run-and-var-.patch, + -files/025-0004-dracut.sh-reverting-return-value-chang.patch, + -files/024-0004-gentoo.conf-let-udevdir-be-handled-by-.patch, + -files/025-0005-Mount-proc-before-including-dracut-lib.patch, + -files/019-0005-dracut.sh-create-relative-symlinks-for.patch, + -files/022-0005-gentoo.conf-set-udevdir.patch, + -files/022-0006-Config-file-for-systemd-on-Gentoo.patch, + -files/022-0007-Remove-obsolete-gentoo-conf-file.patch, + -files/022-0008-95rootfs-block-fix-left-fsck-rel.-chec.patch, + -files/022-0009-98usrmount-use-rw-and-ro-options-inste.patch, + -files/022-0010-98usrmount-print-mount-options.patch, + -files/022-0011-dracut-lib-new-functions-listlist-and-.patch, + -files/022-0012-apply-ro-and-rw-options-from-cmdline-t.patch, + -files/022-0013-ro_mnt-option-at-build-time-to-force-r.patch, + -files/dracut-014-multipath-udev-rules.patch, + -files/022-0014-parse-root-opts-first-check-for-ro-lat.patch, + -files/dracut-014-usrmount-fsck-fix.patch, + -files/022-0015-gentoo.conf-enable-ro_mnt.patch, + -files/022-0016-dracut.sh-test-if-we-can-lazy-resolve-.patch, + -files/022-0017-99shutdown-remove-no-wall-argument-for.patch, + -files/022-0018-dracut.sh-do-not-copy-var-run-and-var-.patch, + -files/dracut-018-lsinitrd-support-symlinks.patch, + -files/dracut-018-multipath-udev-rules.patch, + -files/022-0019-dracut.sh-create-relative-symlinks-for.patch: + Remove old versions (prior to 026) and old revisions of 026 and 027. + +*dracut-029 (23 Jun 2013) + + 23 Jun 2013; Amadeusz Żołnowski +dracut-029.ebuild, + +files/029-0001-dracut-functions.sh-support-for-altern.patch, + +files/029-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/029-0003-LatArCyrHeb-16-as-a-default-i18n-font-.patch: + Version bump. + + NEWS + ~~~~ + (from Dracut NEWS file) + + dracut-029 + ========== + - wait for IPv6 autoconfiguration + - i18n: make the default font configurable + - proper handle "rd.break" in systemd mode before switch-root + - systemd: make unit files symlinks + - build without dash requirement + - add dracut-shutdown.service.8 manpage + - handle MACs for "ip=" + "ip=77-77-6f-6f-64-73:dhcp" + - don't explode when mixing BOOTIF and ip= + - 90lvm/module-setup.sh: redirect error message of lvs to /dev/null + + dracut-028 + ========== + - full integration of crypto devs in systemd logic + - support for bridge over team and vlan tagged team + - support multiple bonding interfaces + - new kernel command line param "rd.action_on_fail" + to control the emergency action + - support for bridge over a vlan tagged interface + - support for "iso-scan/filename" kernel parameter + - lsinitrd got some love and does not use "file" anymore + - fixed issue with noexec mounted tmp dirs + - FIPS mode fixed + - dracut_install got some love + - fixed some /usr mounting problems + - ifcfg dracut module got some love and fixes + - default installed font is now latarcyrheb-sun16 + - new parameters rd.live.dir and rd.live.squashimg + - lvm: add tools for thin provisioning + - also install non-hwcap libs + - setup correct system time and time zone in initrd + - s390: fixed cms setup + - add systemd-udevd persistent network interface naming + +*dracut-027-r3 (20 May 2013) + + 20 May 2013; Amadeusz Żołnowski dracut-027-r2.ebuild, + +dracut-027-r3.ebuild: + Bashcomp fixes wrt bug #469892. + + Thanks to Alexander Tsoy for patch: + https://bugs.gentoo.org/attachment.cgi?id=348338 + + Which bashcomp related part has been applied slightly modified. + +*dracut-027-r2 (19 May 2013) + + 19 May 2013; Amadeusz Żołnowski +dracut-027-r2.ebuild: + Fixes bug #467754: + + - Install systemd units into correct location. + - Fix installation of bash-completion script. It used to be installed in two + locations. + + Thanks to Alexander Tsoy for patch: + https://bugs.gentoo.org/attachment.cgi?id=348338 + + Which has been applied slightly modified. + +*dracut-027-r1 (18 Apr 2013) + + 18 Apr 2013; Amadeusz Żołnowski + +files/027-0003-Do-not-call-plymouth-with-full-path.patch, + +files/027-0004-plymouth-plymouth-pretrigger.sh-fixup-.patch, + +dracut-027-r1.ebuild: + Rev-bump. Fixes bug #465518. + + Thanks to Enrico Tagliavini for report and + handling it and to Harald Hoyer for fixing it. + + 09 Apr 2013; Samuli Suominen dracut-014-r3.ebuild, + dracut-018-r3.ebuild, dracut-019-r6.ebuild, dracut-022-r6.ebuild, + dracut-023-r4.ebuild, dracut-024-r4.ebuild, dracut-025.ebuild, + dracut-026.ebuild, dracut-026-r1.ebuild, dracut-026-r2.ebuild, + dracut-027.ebuild: + Remove sys-fs/device-mapper from || () syntax in favour of sys-fs/lvm2 wrt + #461382 + + 02 Apr 2013; Amadeusz Żołnowski + +files/025-0000-fix-version-print.patch, dracut-025.ebuild: + Backported changes wrt systemd and other cosmetic changes from 026-r2 to 025. + + 02 Apr 2013; Amadeusz Żołnowski + +files/026-0000-fix-version-print.patch, dracut-019-r6.ebuild, + dracut-022-r6.ebuild, dracut-023-r4.ebuild, dracut-024-r4.ebuild, + dracut-025.ebuild, dracut-026.ebuild, dracut-026-r1.ebuild, + +dracut-026-r2.ebuild, dracut-027.ebuild: + Switch to virtual/udev in older ebuilds. + +*dracut-026-r2 (02 Apr 2013) + + 02 Apr 2013; Amadeusz Żołnowski + +files/026-0000-fix-version-print.patch, +dracut-026-r2.ebuild: + Backporting changes wrt virtual/udev, CONFIG_MODULES and systemd from + dracut-027.ebuild. + +*dracut-027 (02 Apr 2013) + + 02 Apr 2013; Amadeusz Żołnowski + +files/027-0001-dracut-functions.sh-support-for-altern.patch, + +files/027-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + +dracut-027.ebuild: + Version bump. + + Dracut 027 depends on virtual/udev now and no longer needs CONFIG_MODULES in + kernel. + + Following changes relates to systemd module only: + - at least systemd-199 is required + - systemd-bootchart module replaces bootchart module + - selinux module is removed if systemd module is installed, because systemd + handles selinux setup; the same is for securityfs + + NEWS + ~~~~ + (from announcement on mailing list) + + dracut-027 + ========== + - dracut now has bash-completion + - require bash version 4 + - systemd module now requires systemd >= 199 + - dracut makes use of native systemd initrd units + - added hooks for new-kernel-pkg and kernel-install + - hostonly is now default for fedora + - comply with the BootLoaderSpec paths + http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec + - added rescue module + - host_fs_types is now a hashmap + - new dracut argument "--regenerate-all" + - new dracut argument "--noimageifnotneeded" + - new man page dracut.bootup + - install all host filesystem drivers + - use -D_FILE_OFFSET_BITS=64 to build dracut-install + + 30 Mar 2013; Mike Gilbert dracut-026-r1.ebuild: + Depend on udev or a recent version of systemd. + +*dracut-026-r1 (12 Mar 2013) + + 12 Mar 2013; Amadeusz Żołnowski + +files/026-0004-lsinitrd.sh-fix-for-default-initrd-not.patch, + +files/026-0005-lsinitrd.sh-removed-trailing.patch, + +files/026-0006-make-host_fs_types-a-hashmap.patch, +dracut-026-r1.ebuild: + Fixed crypt, dmraid and mdraid detection as explained in previous entry: + + > Gentoo release doesn't include a fix to catch all UUIDs (for crypt, dmraid, + > mdraid) and not only the first one, because the fix actually breaks + > something and LUKS devices aren't detected correctly at build time. If this + > fix is fixed it will come in dracut-026-r1 ASAP. + + Moreover lsinitrd script has been fixed. + +*dracut-026 (10 Mar 2013) + + 10 Mar 2013; Amadeusz Żołnowski + +files/026-0001-dracut-functions.sh-support-for-altern.patch, + +files/026-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/026-0003-Revert-crypt-dmraid-mdraid-use-for_eac.patch, + +dracut-026.ebuild: + Version bump. + + Gentoo release doesn't include a fix to catch all UUIDs (for crypt, dmraid, + mdraid) and not only the first one, because the fix actually breaks something + and LUKS devices aren't detected correctly at build time. If this fix is + fixed it will come in dracut-026-r1 ASAP. + + NEWS + ~~~~ + (from announcement on mailing list) + + - 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 + + 10 Mar 2013; Amadeusz Żołnowski dracut-025.ebuild: + Cosmetic changes. + +*dracut-025 (09 Mar 2013) + + 09 Mar 2013; Amadeusz Żołnowski + +files/025-0001-dracut-functions.sh-support-for-altern.patch, + +files/025-0002-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/025-0003-rootfs-block-mount-root.sh-fixup-for-8.patch, + +files/025-0004-dracut.sh-reverting-return-value-chang.patch, + +files/025-0005-Mount-proc-before-including-dracut-lib.patch, + +dracut-025.ebuild: + Version bump. + + NEWS + ~~~~ + + - do not strip signed kernel modules + - add sosreport script and generate /run/initramfs/sosreport.txt + - make short uuid specification for allow-discards work + - turn off RateLimit for the systemd journal + - fixed MAC address assignment + - add systemd checkisomd5 service + - splitout drm kernel modules from plymouth module + - add 'swapoff' to initramfs to fix shutdown/reboot + - add team device support + - add pre-shutdown hook + - kill all processes in shutdown and report remaining ones + - "--device" changed to "--add-device" and "add_device=" added for conf files + - add memory usage trace to different hook points + - cope with optional field #7 in /proc/self/mountinfo + - lots of small bugfixes + + 02 Feb 2013; Agostino Sarubbo dracut-024-r4.ebuild: + Add ~arm, wrt bug #449220 + + 27 Jan 2013; Amadeusz Żołnowski dracut-024-r4.ebuild: + Warn in postinst log if rd.auto option is not set. Rels bug #453836. + + 08 Jan 2013; Amadeusz Żołnowski -dracut-024-r2.ebuild, + -dracut-024-r3.ebuild: + Remove old 024 revisions. + +*dracut-024-r4 (07 Jan 2013) + + 07 Jan 2013; Amadeusz Żołnowski + +files/024-0002-dracut-functions.sh-fixed-inst_rules-s.patch, + -files/024-0002-dracut-functions.sh-support-for-altern.patch, + +files/024-0003-dracut-functions.sh-support-for-altern.patch, + -files/024-0003-gentoo.conf-let-udevdir-be-handled-by-.patch, + +files/024-0004-gentoo.conf-let-udevdir-be-handled-by-.patch, + +dracut-024-r4.ebuild: + Use alternative dirs to search for udev rules, but install in udevdir. Fixes + bug #447088. Thanks to Alexander Tsoy for a patch. + + 06 Jan 2013; Agostino Sarubbo dracut-024-r3.ebuild: + Add ~sparc, wrt bug #449220 + + 05 Jan 2013; Amadeusz Żołnowski dracut-014-r3.ebuild, + dracut-018-r3.ebuild, dracut-019-r6.ebuild, dracut-022-r6.ebuild, + dracut-023-r4.ebuild, dracut-024-r2.ebuild, dracut-024-r3.ebuild: + Revert dependency from virtual/udev to sys-fs/udev. Dracut need to be + customized first to depend both on eudev and udev. + + 01 Jan 2013; Agostino Sarubbo dracut-024-r3.ebuild: + Add ~alpha, wrt bug #449220 + + 01 Jan 2013; Agostino Sarubbo dracut-024-r3.ebuild: + Add ~ia64, wrt bug #449220 + + 31 Dec 2012; Agostino Sarubbo dracut-024-r3.ebuild: + Add ~ppc64, wrt bug #449220 + + 31 Dec 2012; Agostino Sarubbo dracut-024-r3.ebuild: + Add ~ppc, wrt bug #449220 + +*dracut-024-r3 (16 Dec 2012) + + 16 Dec 2012; Amadeusz Żołnowski + files/024-0001-Fallback-to-external-blkid-and-path_id.patch, + +files/024-0002-dracut-functions.sh-support-for-altern.patch, + +files/024-0003-gentoo.conf-let-udevdir-be-handled-by-.patch, + +dracut-024-r3.ebuild: + Use alternative dirs to search for udev rules. Use pkg-config to detect + primary udevdir at run-time. Fixes bug #447088. + + 16 Dec 2012; Amadeusz Żołnowski -dracut-023-r2.ebuild, + -dracut-024.ebuild: + Remove old revisions. + + 28 Nov 2012; Jeroen Roovers dracut-022-r6.ebuild: + Fix Manifest. Inherit multilib in 022-r6 too. + + 28 Nov 2012; Samuli Suominen dracut-014-r3.ebuild, + dracut-018-r3.ebuild, dracut-019-r6.ebuild: + Inherit multilib.eclass for get_libdir function. + + 28 Nov 2012; Samuli Suominen dracut-014-r3.ebuild, + dracut-018-r3.ebuild, dracut-019-r6.ebuild, dracut-022-r6.ebuild, + dracut-023-r2.ebuild, dracut-023-r4.ebuild, dracut-024.ebuild, + dracut-024-r2.ebuild: + Use virtual/udev instead of sys-fs/udev wrt #444398 + +*dracut-024-r2 (01 Nov 2012) +*dracut-023-r4 (01 Nov 2012) + + 01 Nov 2012; Amadeusz Żołnowski + files/024-0001-Fallback-to-external-blkid-and-path_id.patch, + files/023-0003-Fallback-to-external-blkid-and-path_id.patch, + -dracut-023-r3.ebuild, +dracut-023-r4.ebuild, -dracut-024-r1.ebuild, + +dracut-024-r2.ebuild: + Added missing epatch and improved patches a bit btw. + + 01 Nov 2012; Amadeusz Żołnowski dracut-014-r3.ebuild, + dracut-018-r3.ebuild, dracut-019-r6.ebuild, dracut-022-r6.ebuild, + dracut-023-r2.ebuild, dracut-024.ebuild: + Applied fix wrt bug #437108 to older ebuilds. + +*dracut-024-r1 (01 Nov 2012) +*dracut-023-r3 (01 Nov 2012) + + 01 Nov 2012; Amadeusz Żołnowski + +files/024-0001-Fallback-to-external-blkid-and-path_id.patch, + +files/023-0003-Fallback-to-external-blkid-and-path_id.patch, + +dracut-023-r3.ebuild, +dracut-024-r1.ebuild: + Fixes bug #437700. Thanks to Alexander Tsoy for the + report and the patch. + + Also bumped dhcp version dependency to >=4.2.4_p2-r1 wrt bug #437108. + +*dracut-024 (28 Oct 2012) + + 28 Oct 2012; Amadeusz Żołnowski +dracut-024.ebuild: + Version bump. Fixes bug #432268 btw. + + NEWS + ~~~~ + - new dracut option "--device" + - new dracut kernel command line options "rd.auto" + - new dracut kernel command line options "rd.noverifyssl" + - new dracut option "--kernel-cmdline" and "kernel_cmdline" option for + default parameters + - fixes for systemd and crypto + - fix for kexec in shutdown, if not included in initramfs + - create the initramfs non-world readable + - prelink/preunlink in the initramfs + - strip binaries in the initramfs by default now + - various FIPS fixes + - various dracut-install fixes + +*dracut-023-r2 (27 Oct 2012) +*dracut-022-r6 (27 Oct 2012) +*dracut-019-r6 (27 Oct 2012) +*dracut-018-r3 (27 Oct 2012) + + 27 Oct 2012; Amadeusz Żołnowski -dracut-018-r2.ebuild, + +dracut-018-r3.ebuild, -dracut-019-r5.ebuild, +dracut-019-r6.ebuild, + -dracut-022-r5.ebuild, +dracut-022-r6.ebuild, -dracut-023.ebuild, + -dracut-023-r1.ebuild, +dracut-023-r2.ebuild: + Fixes bug #438064 and bug #438434. + +*dracut-023-r1 (07 Oct 2012) + + 07 Oct 2012; Amadeusz Żołnowski + +files/023-0001-dracut-functions.sh-find_binary-path-s.patch, + +files/023-0002-90crypt-call-systemd-commands-only-if-.patch, + +dracut-023-r1.ebuild: + Fixes for bug #436712, bug #437142 and bug #437270. + + Thanks to Jonathan Callen , Nikoli and + Alexander Tsoy . + + 09 Sep 2012; Amadeusz Żołnowski dracut-014-r3.ebuild, + dracut-018-r2.ebuild, dracut-019-r5.ebuild, dracut-022-r5.ebuild, + dracut-023.ebuild: + Depend on net-misc/dhcp with "client" flag enabled. Fixes bug #433808. + + 20 Aug 2012; Amadeusz Żołnowski dracut-022-r5.ebuild: + Building docs conditionally along with optimization is a mistake. Fixed. + +*dracut-023 (20 Aug 2012) + + 20 Aug 2012; Amadeusz Żołnowski +dracut-023.ebuild: + Version bump. This version allows to install systemd module which has been + disabled in previous ebuilds. + + NEWS + ~~~~ + - 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 + - multipath fixes + - i18n: fixed inclusion of "include" keymaps + - root on cifs support + - support for xfs / reiserfs separate journal device + + Following changes has been backported to Gentoo's 022-r5 and are included by + upstream in 023: + + - honor CFLAGS for dracut-install build + - / is mounted according to rootflags parameter but forced ro at first. + Later it is remounted according to /etc/fstab + rootflags parameter + and "ro"/"rw". + - new "ro_mnt" option to force ro mount of / and /usr + - 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" + + 17 Aug 2012; Amadeusz Żołnowski dracut-022-r5.ebuild: + Move udev to common dependencies, because its configuration is being checked + in the ebuild. + + 09 Aug 2012; Amadeusz Żołnowski dracut-019-r5.ebuild: + Remove udev-187 blocker from 019. Fixes bug #430002. + + 09 Aug 2012; Amadeusz Żołnowski dracut-019-r5.ebuild: + dracut-019 uses pkg-config at run-time to detect udevdir. Rels bug #430002. + +*dracut-022-r5 (09 Aug 2012) + + 09 Aug 2012; Amadeusz Żołnowski -dracut-022-r4.ebuild, + +dracut-022-r5.ebuild: + pkg-config is now used to configure udevdir path in the ebuild. + Rels bug #430002. + + 09 Aug 2012; Amadeusz Żołnowski dracut-022-r4.ebuild: + Use pkg-config to detect udevdir. Remove udev-187 blocker. + + 04 Aug 2012; Amadeusz Żołnowski -dracut-019-r4.ebuild, + -dracut-022-r3.ebuild: + Remove old revisions of 019 and 022. + +*dracut-022-r4 (04 Aug 2012) +*dracut-019-r5 (04 Aug 2012) + + 04 Aug 2012; Amadeusz Żołnowski +dracut-019-r5.ebuild, + +dracut-022-r4.ebuild: + Block >=udev-187, because dracut doesn't boot with 187. + +*dracut-022-r3 (31 Jul 2012) +*dracut-019-r4 (31 Jul 2012) + + 31 Jul 2012; Amadeusz Żołnowski + +files/019-0001-90multipath-added-kpartx.rules-multipa.patch, + -files/019-0001-multipath-udev-rules.patch, + +files/019-0002-Avoid-annonying-warnings-when-pkg-conf.patch, + -files/019-0002-no-pkg-config-warnings.patch, + +files/019-0003-99shutdown-remove-no-wall-argument-for.patch, + +files/019-0004-dracut.sh-do-not-copy-var-run-and-var-.patch, + +files/019-0005-dracut.sh-create-relative-symlinks-for.patch, + -files/019-0017-99shutdown-remove-no-wall-argument-for.patch, + +files/022-0018-dracut.sh-do-not-copy-var-run-and-var-.patch, + -dracut-019-r3.ebuild, +dracut-019-r4.ebuild, + +files/022-0019-dracut.sh-create-relative-symlinks-for.patch, + -dracut-022-r2.ebuild, +dracut-022-r3.ebuild: + Fixes bug #428142 in 019 and 022. + +*dracut-022-r2 (31 Jul 2012) +*dracut-019-r3 (31 Jul 2012) + + 31 Jul 2012; Amadeusz Żołnowski + +files/019-0001-multipath-udev-rules.patch, + +files/019-0002-no-pkg-config-warnings.patch, + +files/019-0017-99shutdown-remove-no-wall-argument-for.patch, + +files/022-0017-99shutdown-remove-no-wall-argument-for.patch, + -dracut-019-r2.ebuild, +dracut-019-r3.ebuild, + -files/dracut-019-multipath-udev-rules.patch, + -files/dracut-019-no-pkg-config-warnings.patch, -dracut-022-r1.ebuild, + +dracut-022-r2.ebuild: + Fixed bug #388199 in 019 and 022. 018 is ignored because it is going to be + removed soon. I have changed patches naming scheme in 019 as I did in 022. + + Thanks to Alexander E. Patrakov for solving the issue. + + 30 Jul 2012; Amadeusz Żołnowski -dracut-022.ebuild: + Remove old 022 revision. + +*dracut-022-r1 (30 Jul 2012) + + 30 Jul 2012; Amadeusz Żołnowski + +files/022-0016-dracut.sh-test-if-we-can-lazy-resolve-.patch, + +dracut-022-r1.ebuild: + Rev-bump. Fixes bug #428232. + + 27 Jul 2012; Amadeusz Żołnowski dracut-014-r3.ebuild, + dracut-018-r2.ebuild, dracut-019-r2.ebuild, dracut-022.ebuild: + Install into correct libdir. + + 27 Jul 2012; Amadeusz Żołnowski dracut-022.ebuild: + Export CC to emake and warn about optimization. + + 27 Jul 2012; Amadeusz Żołnowski dracut-022.ebuild: + optimization might not work in some cases, don't make it default, yet. + + 27 Jul 2012; Amadeusz Żołnowski dracut-022.ebuild: + Removing the hashmap.o file which was accidentally added to the tarball by + upstream. + + 26 Jul 2012; Amadeusz Żołnowski dracut-014-r3.ebuild, + dracut-018-r2.ebuild, dracut-019-r2.ebuild: + Remove useless postinst messages. Users should refer to Dracut Docs or Gentoo + Wiki. + + 26 Jul 2012; Amadeusz Żołnowski dracut-022.ebuild: + Man pages in 022 are patched, therefore docs need to be rebuilt. It should be + done in src_compile, not in src_install as it was before. + +*dracut-022 (26 Jul 2012) + + 26 Jul 2012; Amadeusz Żołnowski + +files/022-0001-qemu-module-setup.sh-provide-alternati.patch, + +files/022-0002-Makefile-use-implicit-rules-for-instal.patch, + +files/022-0003-kernel-modules-module-setup.sh-just-op.patch, + +files/022-0004-90multipath-added-kpartx.rules-multipa.patch, + +files/022-0005-gentoo.conf-set-udevdir.patch, + +files/022-0006-Config-file-for-systemd-on-Gentoo.patch, + +files/022-0007-Remove-obsolete-gentoo-conf-file.patch, + +files/022-0008-95rootfs-block-fix-left-fsck-rel.-chec.patch, + +files/022-0009-98usrmount-use-rw-and-ro-options-inste.patch, + +files/022-0010-98usrmount-print-mount-options.patch, + +files/022-0011-dracut-lib-new-functions-listlist-and-.patch, + +files/022-0012-apply-ro-and-rw-options-from-cmdline-t.patch, + +files/022-0013-ro_mnt-option-at-build-time-to-force-r.patch, + +files/022-0014-parse-root-opts-first-check-for-ro-lat.patch, + +files/022-0015-gentoo.conf-enable-ro_mnt.patch, +dracut-022.ebuild, + metadata.xml: + Version bump to 022. 020 and 021 has been skipped. + + This version is heavily patched to support /usr mounting the way OpenRC team + expects. Patches also include few more customizations and fixes for Gentoo. + + Changes since 019 + ================= + + 020 + ~~~ + - arm kernel modules added to kernel-modules + - make udevdir systemdutildir systemdsystemunitdir global vars + your distribution should ship those settings in + /etc/dracut.conf.d/01-distro.conf + see dracut.conf.d/fedora.conf.example + - kernel modules are now only handled with /sys/modules and modules.dep + - systemd fixups + - mdraid: wait for md devices to be clean, before shutdown + - ifup fixed for ipv6 + - add PARTUUID as root=PARTUUID= parameter + - fixed instmods() return code and set pipefail globally + - add 04watchdog dracut module + - dracut-shutdown.service: fixed ordering to be before shutdown.target + - make use of "ln -r" instead of shell functions, if new coreutils is + installed + - network: support vlan tagged bonding + - new dracut module qemu and qemu-net to install all kernel driver + - fs-lib/fs-lib.sh: removed test mounting of btrfs and xfs + - no more "mknod" in the initramfs!! + - replaced all "tr" calls with "sed" + - speedup with lazy kernel module dependency resolving + - lots of speedup optimizations + - dracut-install: + - new binary to significanlty speedup the installation process + - dracut-functions.sh makes use of it, if installed + + 021 + ~~~ + - fixed systemd in the initramfs (requires systemd >= 187) + - dracut-install: massive speedup with /var on the same filesystem with COW + copy + - 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= + - added option "--kver=", 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. + + 022 + ~~~ + - fixed host-only kernel module bug + + 25 Jul 2012; Amadeusz Żołnowski -dracut-014-r2.ebuild, + -dracut-018-r1.ebuild, -dracut-018.ebuild, -dracut-019-r1.ebuild, + -dracut-019.ebuild: + Remove old revisions. + +*dracut-019-r2 (25 Jul 2012) + + 25 Jul 2012; Amadeusz Żołnowski +dracut-019-r2.ebuild, + +files/dracut-019-no-pkg-config-warnings.patch: + Make virtual/pkgconfig optional. Fixes bug #420585 in better way than + previous commit. + +*dracut-019-r1 (25 Jul 2012) +*dracut-018-r2 (25 Jul 2012) +*dracut-014-r3 (25 Jul 2012) + + 25 Jul 2012; Amadeusz Żołnowski +dracut-014-r3.ebuild, + +dracut-018-r2.ebuild, +dracut-019-r1.ebuild: + Dependencies revised. + + Dracut requires >=udev-166 and >=util-linux-2.21 since 018, but >=udev-186 + needs to be blocked for versions 018 and earlier. pkgconfig is required for + 019. + + Fixes bug #420585 and bug #424878. + +*dracut-019 (09 Jun 2012) + + 09 Jun 2012; Amadeusz Żołnowski +dracut-019.ebuild, + +files/dracut-019-multipath-udev-rules.patch: + Version bump. + + NEWS + ~~~~ + - initqueue/online hook + - fixes for ifcfg write out + - rootfs-block: avoid remount when options don't change + - virtfs root filesystem support + - cope with systemd-udevd + - mount tmpfs with strictatime + - include all kernel/drivers/net/phy drivers + - add debug_on() and debug_off() functions + - add arguments for source_hook() and source_all() + - cleanup hook + - plymouth: get consoledev from /sys/class/tty/console/active + - install xhci-hcd kernel module + - dracut: new "--mount" option + - lsinitrd: new option --printsize + - ARM storage kernel modules added + - /etc/initrd-release in the initrd + - vlan support + - full bonding and bridge support + - removed scsi_wait_scan kernel module from standard install + - support rd.luks.allow-discards and honor options in crypttab + - lots of bugfixes + + 18 May 2012; Amadeusz Żołnowski dracut-018-r1.ebuild: + Added 'bootchart' module. + + 18 May 2012; Lance Albertson metadata.xml: + remove myself as a maintainer + +*dracut-018-r1 (16 May 2012) + + 16 May 2012; Amadeusz Żołnowski +dracut-018-r1.ebuild, + +files/dracut-018-lsinitrd-support-symlinks.patch: + Fixes bug #411821. Thanks to Nikoli for the patch. + + 09 May 2012; Amadeusz Żołnowski -dracut-017-r1.ebuild, + -dracut-017-r2.ebuild, -dracut-017-r3.ebuild, + -files/dracut-017-convertfs-fix-check-for-usr-bin.patch, + -files/dracut-017-crypt-simplify-rd.luks.uuid-testing.patch, + -files/dracut-017-fstab-sys-no-check-for-dev.patch, + -files/dracut-017-fstab-sys-remove-bashism.patch, + -files/dracut-017-inst_symlink-parent-dir.patch, + -files/dracut-017-multipath-udev-rules.patch, + -files/dracut-017-tmpdir-option.patch, + -files/dracut-017-usrmount-fstab-comments.patch, + -files/dracut-017-usrmount-newroot-etc-check.patch: + Removed 017, because 018 fixes bugs which are not going to be backported to + 017. + + 26 Apr 2012; Amadeusz Żołnowski dracut-018.ebuild: + Removed use of WITH_SWITCH_ROOT variables. + +*dracut-018 (05 Apr 2012) + + 05 Apr 2012; Amadeusz Żołnowski +dracut-018.ebuild, + +files/dracut-018-multipath-udev-rules.patch: + Version bump. Fixes btw bug #408669. + + Build time dependencies are no longer required, because man pages and html + doc are already built. Therefore compile phase in empty. + + NEWS + ~~~~ + (Taken from NEWS file. Lines which don't apply to Gentoo package are + removed.) + + - lvm: ignore lvm mirrors + - lsinitrd: handle LZMA images + - iscsi: add rd.iscsi.param + - iscsi: add iscsi interface binding + - fixed fstab.sys handling + - new dracut option "--tmpdir" + - new dracut option "--no-hostonly" + - nbd: name based nbd connects + - write-ifcfg fixes and cleanups + - ifup is now done in the initqueue + - netroot cleanup + - initqueue/online is now for hooks, which require network + - no more /tmp/root.info + - 98pollcdrom: factored out the ugly cdrom polling in the main loop + - simplified rd.luks.uuid testing + - removed "egrep" and "ls" calls + - speedup kernel module installation + - lots of bugfixes + +*dracut-017-r3 (27 Mar 2012) + + 27 Mar 2012; Amadeusz Żołnowski +dracut-017-r3.ebuild, + +files/dracut-017-fstab-sys-no-check-for-dev.patch, + +files/dracut-017-fstab-sys-remove-bashism.patch: + Fixed fstab-sys not working with dash wrt bug #406755. + + Applied also patch removing check for existing /dev, because "there are a lot + of filesystems, which do not need an actual device node". + +*dracut-017-r2 (26 Mar 2012) + + 26 Mar 2012; Amadeusz Żołnowski +dracut-017-r2.ebuild, + +files/dracut-017-inst_symlink-parent-dir.patch, + +files/dracut-017-tmpdir-option.patch: + Fixes "inst_symlink will not create directory containing the symlink" + (bug #409167) and adds new tiny feature - tmpdir option (bug #409177). + + 05 Mar 2012; Amadeusz Żołnowski dracut-017-r1.ebuild: + Warn if kernel config cannot be checked. + +*dracut-017-r1 (01 Mar 2012) + + 01 Mar 2012; Amadeusz Żołnowski -dracut-017.ebuild, + +dracut-017-r1.ebuild: + Don't create broken misplaced symlink. + + 29 Feb 2012; Amadeusz Żołnowski -dracut-010-r3.ebuild, + -files/dracut-010-empty-etc-ld.so.conf.d.patch, + -files/dracut-010-multipath-udev-rules.patch, + -files/dracut-010-rd.driver.post-fixed.patch, + -files/dracut-010-rd.driver.pre-and-blacklist-fix.patch, + -dracut-013-r2.ebuild, -files/dracut-013-integrated-initramfs-fix.patch, + -files/dracut-013-livenet-gentoo-ca-bundle-path.patch, + -files/dracut-013-makefile-manpages.patch, + -files/dracut-013-multipath-udev-rules.patch, -dracut-016.ebuild, + -files/dracut-016-multipath-udev-rules.patch: + Removed old versions. Left 014 because it is most stable and 017 because this + is the latest with important fixes. + +*dracut-017 (29 Feb 2012) + + 29 Feb 2012; Amadeusz Żołnowski +dracut-017.ebuild, + +files/dracut-017-convertfs-fix-check-for-usr-bin.patch, + +files/dracut-017-crypt-simplify-rd.luks.uuid-testing.patch, + +files/dracut-017-multipath-udev-rules.patch, + +files/dracut-017-usrmount-fstab-comments.patch, + +files/dracut-017-usrmount-newroot-etc-check.patch: + Version bump. + + Backported patches: + - fixes for usrmount (bug #406023) + - workaround for broken dm-setup not detecting /dev/dm-* (bug #405921) + - fix for convertfs + + NEWS + ~~~~ + - a _lot_ faster than dracut-016 in image creation + - systemd service dracut-shutdown.service + - livenet fixes + - ssh-client module install fix + - root=iscsi:... fixed + - lots of restructuring and optimizing in dracut-functions.sh + - usrmount: honor fs_passno in /etc/fstab + - renamed all shell scripts to .sh + - new option "--omit-drivers" and config option "omit_drivers" + - hostonly mode fixups + + 27 Feb 2012; Amadeusz Żołnowski dracut-010-r3.ebuild, + dracut-013-r2.ebuild, dracut-014-r2.ebuild, dracut-016.ebuild: + Depend on module-init-tools or >kmod-5[tools] explicitly instead of + virtual/modutils. Rels bug #405827 and bug #402557. + + 21 Feb 2012; Amadeusz Żołnowski dracut-016.ebuild: + Check kernel config for CONFIG_MODULES. Added -f option to rm_module + function, btw. + + 18 Feb 2012; Amadeusz Żołnowski dracut-016.ebuild, + metadata.xml: + Renamed 'dm' flag to 'device-mapper', because the later is used also by lilo, + grub and parted. + + 16 Feb 2012; Amadeusz Żołnowski dracut-010-r3.ebuild, + dracut-013-r2.ebuild, dracut-014-r2.ebuild, dracut-016.ebuild: + Depend on virtual/modutils instead of sys-apps/module-init-tools. Dracut + should work with kmod tools which is alternative to module-init-tools, + although it hasn't been well tested yet. + + 16 Feb 2012; Amadeusz Żołnowski dracut-016.ebuild, + metadata.xml: + Remove network or dm related modules when USE flags 'net' or 'dm' are + disabled. Modules depending on networking or device-mapper have corresponding + flags which depend on 'net' or 'dm'. + + 'ssh-client' dracut_module was added and net-misc/curl dependency to 'net' + because of new url-lib module. + +*dracut-016 (15 Feb 2012) + + 15 Feb 2012; Amadeusz Żołnowski +dracut-016.ebuild, + +files/dracut-016-multipath-udev-rules.patch: + Version bump. + + New modules come: + - convertfs + - ssh-client + - terminfo + + Kernel options are checked starting with this ebuild. CONFIG_BLK_DEV_INITRD + is obvious and was always required and since dracut 015 CONFIG_DEVTMPFS is + required, too. + + usrmount module doesn't enforce /usr being mount ro anymore. + + NEWS + ~~~~ + Extracted from Dracut NEWS file - merged news from version 015 and 016, + because 015 was skipped in Portage: + + - fixed lsinitrd + - honor binaries in sbin first + - fixed usrmount module + - added systemd service for shutdown + - fixed terminfo on distros with /usr/share/terminfo + - reload udev rules after "pre-trigger" hook + - improved test suite + - new parameter "--omit-drivers" and new conf param omit_drivers + - "--offroot" support for mdraid + - new libs: net-lib.sh, nfs-lib.sh, url-lib.sh, img-lib.sh + full of functions to use in your dracut module + - hostonly mode automatically adds command line options for root and /usr + - --add-fstab --mount parameters + - ssh-client module + - --ctty option: add job control + - cleanup /run/initramfs + - convertfs module + - /sbin/ifup can be called directly + - support kernel modules compressed with xz + - s390 iscsi modules added + - terminfo module + - lsinitrd can handle concatened images + - lsinitrd can sort by size + +*dracut-014-r2 (30 Jan 2012) + + 30 Jan 2012; Amadeusz Żołnowski -dracut-014-r1.ebuild, + +dracut-014-r2.ebuild: + Depend on >=sys-apps/util-linux-2.20. Fixes bug #399213. + + 12 Jan 2012; Amadeusz Żołnowski dracut-013-r2.ebuild, + dracut-014-r1.ebuild: + Removed unused variables. + + 12 Jan 2012; Amadeusz Żołnowski -dracut-014.ebuild: + Removed old 014 revision. + +*dracut-014-r1 (12 Jan 2012) + + 12 Jan 2012; Amadeusz Żołnowski +dracut-014-r1.ebuild, + +files/dracut-014-usrmount-fsck-fix.patch: + Fixed fsck usage error on /usr mount wrt bug #396575. + + 11 Jan 2012; Amadeusz Żołnowski +dracut-010-r3.ebuild, + +files/dracut-010-empty-etc-ld.so.conf.d.patch, + +files/dracut-010-multipath-udev-rules.patch, + +files/dracut-010-rd.driver.post-fixed.patch, + +files/dracut-010-rd.driver.pre-and-blacklist-fix.patch: + Restored 010-r3, because some people need it for ZFS support. Fixes + bug #398213. + + 27 Dec 2011; Amadeusz Żołnowski dracut-014.ebuild: + Removed dracut_modules_xen from ebuild modules list and dependencies. + + 27 Dec 2011; Amadeusz Żołnowski -dracut-013.ebuild, + -dracut-013-r1.ebuild: + Removed old 013 revisions. + +*dracut-014 (27 Dec 2011) + + 27 Dec 2011; Amadeusz Żołnowski +dracut-014.ebuild, + +files/dracut-014-multipath-udev-rules.patch: + Version bump. + + This version provides new modules: + - usrmount + - securityfs + + Following modules were removed: + - xen + + + NEWS + ~~~~ + From Dracut NEWS file: + + - new dracut arguments: + --lvmconf + --nolvmconf + --fscks [LIST] + --nofscks + - new .conf options: + install_items + fscks + nofscks + - new kernel options: + rd.md.ddf + rd.md.waitclean + plymouth.enable + - dracut move from /sbin to /usr/bin + - dracut modules dir moved from /usr/share/dracut to /usr/lib/dracut + - profiling with "dracut --profile" + - speedup of initramfs creation + - ask_for_password fallback to CLI + - mdraid completely switched to incremental assembly + - no more cdrom polling + - "switch_root" breakpoint is now very late + - /dev/live is gone + - /dev/root is gone + - fs-lib dracut module for fscks added + - usb mass storage kernel drivers now included + - usrmount dracut module added: + mount /usr if found in /sysroot/etc/fstab + - only include fsck helper needed for hostonly + - support iSCSI drivers: qla4xxx, cxgb3i, cxgb4i, bnx2i, be2iscsi + - add install_items to dracut.conf + install_items+=" [ ...] " + + 16 Nov 2011; Amadeusz Żołnowski -dracut-010-r3.ebuild, + -files/dracut-010-empty-etc-ld.so.conf.d.patch, + -files/dracut-010-multipath-udev-rules.patch, + -files/dracut-010-rd.driver.post-fixed.patch, + -files/dracut-010-rd.driver.pre-and-blacklist-fix.patch, -dracut-011.ebuild, + -dracut-011-r1.ebuild, -files/dracut-011-integrated-initramfs-fix.patch, + -files/dracut-011-multipath-udev-rules.patch: + Removed old versions: 010 and 011. + +*dracut-013-r2 (16 Nov 2011) + + 16 Nov 2011; Amadeusz Żołnowski +dracut-013-r2.ebuild, + +files/dracut-013-makefile-manpages.patch: + Patched Makefile to install man pages properly. Fixes bug #390629. Btw, use + single call to epatch. + + 09 Sep 2011; Amadeusz Żołnowski dracut-010-r3.ebuild, + dracut-011.ebuild, dracut-011-r1.ebuild, dracut-013.ebuild, + dracut-013-r1.ebuild: + Added app-arch/cpio dependency, because it's going to be removed from system + set. + + 04 Sep 2011; Amadeusz Żołnowski -dracut-008-r1.ebuild: + Removed left 008-r1 ebuild. + +*dracut-013-r1 (04 Sep 2011) +*dracut-011-r1 (04 Sep 2011) + + 04 Sep 2011; Amadeusz Żołnowski +dracut-011-r1.ebuild, + +files/dracut-011-integrated-initramfs-fix.patch, +dracut-013-r1.ebuild, + +files/dracut-013-integrated-initramfs-fix.patch: + Fixed bug #380111 - "kernels with integrated initramfs and dracut failed to + boot" + + 31 Aug 2011; Amadeusz Żołnowski -dracut-007.ebuild, + -files/dracut-007-dm-udev-rules.patch, + -files/dracut-007-multipath-udev-rules.patch, -dracut-008.ebuild, + -files/dracut-008-dm-udev-rules.patch, + -files/dracut-008-i18n-config-file-parsing-in-hostonly.patch, + -files/dracut-008-multipath-udev-rules.patch, -dracut-009-r1.ebuild, + -files/dracut-009-don-t-skip-zero-length-string-outfile.patch, + -files/dracut-009-multipath-udev-rules.patch, metadata.xml: + Removed older ebuilds (<010) with corresponding files. metadata.xml was + cleaned up from flags descriptions which are used no more. + + 31 Aug 2011; Amadeusz Żołnowski dracut-013.ebuild: + Added 'crypt' requirement for 'crypt-gpg'. + +*dracut-013 (21 Aug 2011) + + 21 Aug 2011; Amadeusz Żołnowski +dracut-013.ebuild, + +files/dracut-013-livenet-gentoo-ca-bundle-path.patch, + +files/dracut-013-multipath-udev-rules.patch: + Version bump to 013 and EAPI bump to 4. + + This version provides new modules: + - livenet + - fs-lib + + sys-fs/udev-164 is OK after all. Some dependencies were removed, because + they are optional: + - net-misc/ifenslave + - net-misc/bridge-utils + - virtual/eject + dracut will warn if something optional is missing, but will continue build an + image without issues. + + New important for bug #378863 option was introduced: --force-add + + Dracut can now mount /usr if it's defined in /etc/fstab on destination + rootfs. + +*dracut-011 (18 Jul 2011) + + 18 Jul 2011; Amadeusz Żołnowski +dracut-011.ebuild, + +files/dracut-011-multipath-udev-rules.patch: + Version bump. + + This version provides new modules: + - crypt-gpg + - shutdown + + sys-fs/udev version was restricted to 168 and above and + sys-apps/module-init-tools to 3.8 or above. + + 30 Jun 2011; Amadeusz Żołnowski -dracut-010.ebuild, + -dracut-010-r1.ebuild, -dracut-010-r2.ebuild: + Removed old revisions of version 010. + +*dracut-010-r3 (30 Jun 2011) + + 30 Jun 2011; Amadeusz Żołnowski +dracut-010-r3.ebuild, + +files/dracut-010-rd.driver.post-fixed.patch, + +files/dracut-010-rd.driver.pre-and-blacklist-fix.patch: + rd.driver.* kernel args handling patches. Fixes bug #373007. + + 23 Jun 2011; Amadeusz Żołnowski dracut-009-r1.ebuild, + dracut-010.ebuild, dracut-010-r1.ebuild, dracut-010-r2.ebuild: + Missing RESTRICT="test" fixed. Refs bug #298014. + +*dracut-010-r2 (07 Jun 2011) + + 07 Jun 2011; Amadeusz Żołnowski +dracut-010-r2.ebuild: + Added missing net-misc/ifenslave runtime dependency. + +*dracut-010-r1 (01 Apr 2011) + + 01 Apr 2011; Amadeusz Żołnowski +dracut-010-r1.ebuild, + +files/dracut-010-empty-etc-ld.so.conf.d.patch: + Rev-bump. Fixes #361603. + +*dracut-010 (01 Apr 2011) + + 01 Apr 2011; Amadeusz Żołnowski +dracut-010.ebuild, + +files/dracut-010-multipath-udev-rules.patch: + Version bump. No, it's not a joke. It's generally a bugfix release. + + 31 Mar 2011; Samuli Suominen dracut-007.ebuild, + dracut-008.ebuild, dracut-008-r1.ebuild, dracut-009-r1.ebuild: + Use virtual/eject instead of sys-apps/eject. + + 29 Mar 2011; Amadeusz Żołnowski + -files/dracut-002-add-missing-functions.patch, + -files/dracut-002-custom-paths.patch, -files/dracut-002-dir-symlinks.patch, + -files/dracut-002-gencmdline-check-for-keyboard-i18n-files.patch, + -files/dracut-002-makefile-add-with_switch_root.patch, + -files/dracut-002-unmount.patch, + -files/dracut-006-console_init-not-necessary.patch, + -files/dracut-006-dhcp6.patch, -files/dracut-006-dm-udev-rules.patch, + -files/dracut-006-lc-all-c.patch: + Removed patches of not existing ebuilds. + + 29 Mar 2011; Amadeusz Żołnowski -dracut-002-r1.ebuild, + -dracut-003.ebuild, -dracut-004.ebuild, -dracut-006.ebuild, + -dracut-006-r1.ebuild, -dracut-009.ebuild, metadata.xml: + Removed ancient versions and broken dracut-009.ebuild. + +*dracut-009-r1 (29 Mar 2011) + + 29 Mar 2011; Amadeusz Żołnowski +dracut-009-r1.ebuild: + Not removing 97biosdevname module anymore. + +*dracut-009 (28 Mar 2011) + + 28 Mar 2011; Amadeusz Żołnowski +dracut-009.ebuild, + +files/dracut-009-don-t-skip-zero-length-string-outfile.patch, + +files/dracut-009-multipath-udev-rules.patch: + Version bump. + + This version provides new modules: + - biosdevname + - caps + + sys-block/open-iscsi is restricted to 2.0.871.3 and above because of required + iBFT support which starts with this version. + + net-misc/dhcp restricted to 4.2.1-r1 and above because dhcp-3 doesn't work + with Qemu and dhcp-4 is already ~arch keyworded. + + 21 Mar 2011; Amadeusz Żołnowski dracut-002-r1.ebuild, + dracut-003.ebuild, dracut-004.ebuild, dracut-006.ebuild, + dracut-006-r1.ebuild, dracut-007.ebuild, dracut-008.ebuild, + dracut-008-r1.ebuild: + Tests are restricted for all ebuilds. See bug #298014. + + 16 Mar 2011; Amadeusz Żołnowski dracut-002-r1.ebuild, + dracut-003.ebuild, dracut-004.ebuild, dracut-006.ebuild, + dracut-006-r1.ebuild, dracut-007.ebuild, dracut-008.ebuild, + dracut-008-r1.ebuild: + Project's home page update. + +*dracut-008-r1 (07 Mar 2011) + + 07 Mar 2011; Amadeusz Żołnowski +dracut-008-r1.ebuild: + Revision bump. Added plymouth module. Related to bug #353577. + + 02 Mar 2011; Amadeusz Żołnowski dracut-007.ebuild: + Propagated few improvements from dracut-008.ebuild. Resolves bug #348085. + + Changes include: + - removed mount-boot and mkdir of /boot/dracut (user can create it + him/herself if really needed) + + 01 Mar 2011; Amadeusz Żołnowski dracut-007.ebuild: + Added dependency on baselayout-1.12.14-r1 or above. + + 01 Mar 2011; Amadeusz Żołnowski dracut-008.ebuild: + Added notice about new options format. + +*dracut-008 (01 Mar 2011) + + 01 Mar 2011; Amadeusz Żołnowski +dracut-008.ebuild, + +files/dracut-008-dm-udev-rules.patch, + +files/dracut-008-i18n-config-file-parsing-in-hostonly.patch, + +files/dracut-008-multipath-udev-rules.patch: + Version bump, resolves bug #353577 + + Changes: + - modules controlled by DRACUT_MODULES USE_EXPAND instead of regular IUSE + (except of 'debug' and 'selinux') + - removed mount-boot and mkdir of /boot/dracut (user can create it + him/herself if really needed) + - added dependency on baselayout-1.12.14-r1 or above + - few minor fixes in the ebuild like missing 'die' and so + + Other notes: + - removing biosdevname module (there's no package yet) + - removing broken modules: bootchart and busybox + + Thanks to + Lucian Muresan + and Xake + for report and comments. + + 09 Jan 2011; Mike Frysinger dracut-007.ebuild: + Use new mount-boot_pkg_postinst helper. + + 25 Aug 2010; Lance Albertson dracut-006-r1.ebuild, + dracut-007.ebuild: + Fixes bug #334347 (dm related dependencies). Thanks to Akos Szalkai + for report and patch. + +*dracut-007 (17 Aug 2010) +*dracut-006-r1 (17 Aug 2010) + + 17 Aug 2010; Lance Albertson +dracut-006-r1.ebuild, + +files/dracut-006-console_init-not-necessary.patch, + +files/dracut-006-dm-udev-rules.patch, +dracut-007.ebuild, + +files/dracut-007-dm-udev-rules.patch, + +files/dracut-007-multipath-udev-rules.patch, metadata.xml: + Version bump and revision update + + Update 006 with patches from #329003, bump to 007 to resolve #331903. + Thanks to Amadeusz Żołnowski for contributing the ebuilds and patches. + +*dracut-006 (07 Jul 2010) + + 07 Jul 2010; Lance Albertson +dracut-006.ebuild, + +files/dracut-006-dhcp6.patch, +files/dracut-006-lc-all-c.patch, + metadata.xml: + Version bump, resolves bug #324705 + + Thanks to Amadeusz Żołnowski for submitting the ebuild and patches. + + 22 Mar 2010; Jorge Manuel B. S. Vicetto + metadata.xml: + Fixed herd. + +*dracut-004 (02 Feb 2010) + + 02 Feb 2010; Lance Albertson -dracut-002.ebuild, + +dracut-004.ebuild: + Version bump + +*dracut-003 (09 Dec 2009) +*dracut-002-r1 (09 Dec 2009) + + 09 Dec 2009; Lance Albertson +dracut-002-r1.ebuild, + +files/dracut-002-makefile-add-with_switch_root.patch, +dracut-003.ebuild: + Version bump, fix switch_root issues #293178, & remove system deps + + Force package dep >=sys-apps/util-linux-2.16 which includes switch_root by + default. Otherwise dracut would have a file conflict with util-linux. + Backport upstream Makefile patch b3611b525 for version 002 instead of patch + included in the bug report. + + 29 Sep 2009; Lance Albertson dracut-002.ebuild, + +files/dracut-002-add-missing-functions.patch, + +files/dracut-002-gencmdline-check-for-keyboard-i18n-files.patch: + Fix dracut-gencmdline issues + +*dracut-002 (27 Sep 2009) + + 27 Sep 2009; Lance Albertson +dracut-002.ebuild, + +files/dracut-002-custom-paths.patch, + +files/dracut-002-dir-symlinks.patch, +files/dracut-002-unmount.patch, + +metadata.xml: + Initial ebuild based from #278442 + + Thanks to Ambroz Bizjak for the initial ebuild and + patches diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/Manifest b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/Manifest new file mode 100644 index 0000000000..bfdb379de3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/Manifest @@ -0,0 +1,50 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX 034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch 1140 SHA256 4c69a0c918aa1351316aeaeaab926defc5841b9743633e23fdf4fd8e54773707 SHA512 74122a07e64ae410f76a0b630385ea6a146121c706f2235c3a43108f3743c9162fa3473ee1a266b0e5004f27bb02559f363dfa46764bc007f3395d16291904c6 WHIRLPOOL de4a4f7cfdc727f7a913ac7e005594b7392b95eb8540fd3bff44bdebd6dab136a2833f3f75bab04288e1a14a65e76303db356c0bbe7db421e51bc7d3447ce7cf +AUX 034-0002-dracut-functions.sh-support-for-altern.patch 1487 SHA256 85cd66fe8d36405dbf459a496ee3d5ed32e0606933218a23266caf591c0c04ee SHA512 00e7a22b76911a5cc9ccf82815643409307159ec0fd329c6f86bf8f6f76c0c235b76c8fd4f588d0e5b1820b2654acbc4735eda09df68da7a676e7e5e252364aa WHIRLPOOL 9c05204b4eb8129598e1177203dd9c5312082f97c922c65e8e325bc89feded2c030e66a793b7bcdebd95feda06f8cf01327e95ad71693706e7de02369f9f2571 +AUX 034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch 950 SHA256 2e6e49dd481048906275c5d31756cff1cb8e9166dbf4aa61a46de81b552f93ec SHA512 ecf99d9bbc326c4fce1319d67af9cc55e1e3559f98568df13e51728b0da40a9e18e201662cf7e743a61ddd90caa014987130894fc8bc3bf47f381ec35d36fcd4 WHIRLPOOL f6cff2f46dbf40bfbb15174e1c984ed84f1abf1707d9369c6b43ab874efbae3f50f2cae211bc31a9f8a81bf6fd00a93dc14f614d196716d19d5e15dc43c5ac87 +AUX 034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch 2410 SHA256 2fb390da6f7cb03b60ba4483f38010792c2a32a3568411abcd1a1e38f99deffe SHA512 5360942f5f946d143869306620123582f4be92f4ac5d4ac95e9df7ef07f4f3448375be5a4629491a402eb6eaf58bd432cd7c7cf464efdcb33fefde8090dcee89 WHIRLPOOL a634844933482377852ec29bbef372bf3df0d47e879ae56249ee191b400c708d6bee8d0e0a292f73f4d520be9b41cd46efa884037bffe7c685f7c8fdb4ce16e9 +AUX 034-0005-Install-dracut-install-into-libexec-di.patch 2618 SHA256 752215c0d9eadd31ae683927141a8bbfc4515c4691ad4efc2fd2ea9e9356d6af SHA512 ce9fcfec44d5733c6367eba2a1a44a559dbfbe5194d6f3a9914405abc1541457b76110fbe388ebee4a4642eb5e64c5eb2eb342ba8091a44fb9f25ac95b17da6c WHIRLPOOL 009d7b73df4874b424b0788c2e279010a01521e6ed2eec96609175cca74427af9d81584e015234a6467975c3000a7e4321e9e96a34d4a2757e29ad7adb76bf84 +AUX 034-0006-resume-fix-swap-detection-in-hostonly.patch 1133 SHA256 cdd8d41e111c28309042e8c363479f7a3a5801968e82904098e871635dac629c SHA512 191b6af5c39868cd3c9704f1903a31b25714e561ee9a664fbe9846a594c4b3e2396e8417b80e2c2dd388a905e19360d89b56b80bbe85570afa9dae511c8fd837 WHIRLPOOL f15f378f09c6817a6b8d83ef084a4ac9fd737d080aebdbb3da29482820d016ef0377410de312efbab372586283336d842ad11d9d44e5d75514ee4bd64040cf25 +AUX 034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch 712 SHA256 e8b34fc8d8469ed91221f5c771ce29c26848cb872d49666a29bb7c7c20862434 SHA512 3a6424533c1b9eda3c88c75c9ca426f73c516d42c3d3abcd43d0b91cc570c9a61aa46c6fda9018942188621a2e6f350d8fc8b9c44ceec9ce1e8c31c86a70f61d WHIRLPOOL 909d7e6131cc12b9502dcfc14e8248b75e32d36d8e5bce448b71054bc9994148f81385c1dd5b86a9a92235e3f59d8bee85ce35b0080cb590c6ff1cc85b7a2450 +AUX 034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch 679 SHA256 783675384c6c12c3e5da66c0e304974015f8fb504f41f396b9483d9c0a99b7a0 SHA512 100ea222ce9df2e936ea717d54e2728db04136fb71ebc1c3cfff989107a69644a487ecdeb1e322317cbccdb736d954f24a625b8ef1f57e09c29c6656dede8889 WHIRLPOOL 55aef33e0e09e9ad7cecf9d529ed05502bab8b642bd5f7de472aa55af98fbde153625eaf705f30cf3c0b7cb8acf7a0ad417dbd387f2951a5062b4410200af6aa +AUX 034-0009-lvm-install-thin-utils-for-non-hostonl.patch 1376 SHA256 32e21c2c61f9bbc2d2392ae8bba1346bbc9907ddd77352e98460aec966259844 SHA512 89fa06f2bb8b7858d524c2c8b4be0caa76111dc1d3c8ca6cd90d71e0bb2bb53f23401d248900e265ad74feb4844e4c78865383758a1c87e3de1b1bf0c7e0b5a1 WHIRLPOOL f9cddb5a6f9a8f57082995c3249b4d46d2f25c8aeeba07e91847f0b2023edf31a3141a52a08fdadd67b4a7ae78c53e4e31f70007189a6792c9bca696f4e1977f +AUX 034-0011-lvm-fix-thin-recognition.patch 1373 SHA256 5218cfaf55b50cfd128a64b34327aab992889729b5d9edabea3913d39914fcf2 SHA512 92573f86939a811462728b74a5df93e51746dc0a45162af2f27f9d417ac9194046b24f1f5d7b79f290f1fdd6468e99ebdd6454f779fdf2050ec9578eeff2fe6b WHIRLPOOL c77a87d181f0d37757c68fdccf130b1d618f717abb07d917a08a84c912dfec9e058f9615e084532bbb96149073dc841b1e6c8bd975169abf4766a8d62b370d8b +AUX 034-0012-lvm-always-install-thin-utils-for-lvm.patch 2264 SHA256 f322a4ef7a308839b77a9fe2d16d3d4fc043b5e089d55145b51877e9b5dc3d1c SHA512 708d43d9d04b191656d35b9a3594ba23620445d5eeebb9f598068765a2b8833987dd422a7760d4ead1792ce6607b18505f29868c23e0721e3af7c5c851586e0c WHIRLPOOL 47360e4523c0bd5112065c32e011e2a8dc190e6699d287b8d1c5c3b6d59b27bd689cf9daf76fd77beba132dec5c58144eda78e61565e408784cf7ff575551a2e +AUX 034-0013-usrmount-always-install.patch 827 SHA256 5049b63e1095eb81d68d165f188cb512ce29468ace7abbcff8b469e63a8f6f2f SHA512 88abe8ea6ee70fd62d9b225e74063e1c3c31262084b2593df7e52000b0a0efea6c60eac275f7a9416c98d24b7bd548f1db2556a655f8a29706457adbc20b6aea WHIRLPOOL 3c7ce176250777031d7c38df79bfbcba3aa7a752151080fd1fe11ceb2df8e5aa50c1835fe135ce061c92f99de205b077ad3de6a8749e685c288ada512bea7a29 +AUX 034-0014-udev-rules-add-eudev-rules.patch 967 SHA256 20867f20970846434ffc82ca7c33f6aa63407aa316abc4a261d20f9955725d42 SHA512 4199e65459d33d2d99556bb2c753b143f1e2e71cb6150b83d7513f4887a2bbc3299ed1da33d9c8438a1d9e2231353ce7e39f9cacdd3fe346083eea2905d2f903 WHIRLPOOL 59f691a3663fa35329eb3aff776e1f637518b6fce36ec3d4f09a62c2b5ff11c4c67eb78ae73e57db8c4ad97de6b758d82705445639788bb819899a63a9f17318 +AUX 036-0001-NEWS-update-for-version-036.patch 489 SHA256 849dfc77bccabb4147f4079be8f86983d3cb16d4be2e645a77414350b9e46707 SHA512 87e566fb742045c4b3cc69da1ae4b14be05a33d4264a2ed08d5fd60db60ec244697d507bffa18e71e11f0e6607a88c3ff6721277f7becb7fe5e4ad534e3a9171 WHIRLPOOL 08487cd7c2672c9166b7f0a34cdc97c253108b7006c86009294ce46af1ee9a072f071b03a389426cc407060f4a8ee0a339b3a84d2a9c50693988660a82202c9a +AUX 036-0002-dracut-functions.sh-support-for-altern.patch 1487 SHA256 8de2b229368d8957b315a3df5107a73216578cab8a16c9241f9239f12c8f0b8a SHA512 f9ce9a8025ca73dbb6b782c5b8a32ceed6c5b94d5a871e88677c98f282c2b5a8ff249af11f5ba7eaba8997b211fb9fb61ef93f86aaaa5b04d0718e39c9f84f5a WHIRLPOOL 366f564c4dc0c379ecb694a970d01a1e36278721768f68e67b07174cf9b0a085cbab8b7db06e498695b7ab83a8a734f39a8187fa37cc57906bdd9cbf16d3dc3d +AUX 036-0003-gentoo.conf-let-udevdir-be-handled-by-.patch 950 SHA256 24c62302bffc30ecc5414c50efff3d7f34ca5e90b1ee824def7f465cabb6a4d4 SHA512 b0e71ee9df7d9880dc42b97c0b339e4f9e49b513095bd586fc4ee745a694a1cb472e400ce2535e3fc70bc06d76107cc21a4333421be97b396e74e8a5d1c42639 WHIRLPOOL 1764a1c9707a2747b33f9ad46fe4ddc04bf05769c9f1ba505f2bc92babeffe96f4859600fffcc30af44367ae3b8605b6e2720589b9c3b1d4d45d9d900f90bd9e +AUX 036-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch 2412 SHA256 07520bf44145b6fcde8bdd6c2e9f0b00bce5d95ed7a297d5feacbbd0151b2960 SHA512 c9837d1bb8adf01e0e89aa3dab880ec73c721a8e0de4ec86e44e97485d22eed3aa4f2537df7891ff31cf9fa174b1a9eb138620a9c4bc68569641008cf558c387 WHIRLPOOL 04f3fa193ceb0888dd361dc3004dcd3cca9507f32cc8ce4a254c1da1a00f5bae98a60a1085b7b8001fb01ffb560878a9e85b60ce196bd3a9e7224e33979540d9 +AUX 036-0005-Install-dracut-install-into-libexec-di.patch 2583 SHA256 615d263e814aece64c37af729103049ca85fd32768e649549f26d24daecbcbd8 SHA512 4c7d752be0ed76617f44c723abcce56224de804ea0b0070f3a5513859ce899e45904fcd8520352fa333504a21e8ba744e664bada1bd5d6d82e4e916ea6691b31 WHIRLPOOL 5aa5705e8bcc104d3d3c355ffcc25d4880e1a9c50707c85ff7903ed1e12849c39dd15fbf857f11e291184ccb89c2fd889787bbce6cdd48dfd5c6f0e283de148e +AUX 036-0006-dracut.sh-Fix-variable-name-typo.patch 1159 SHA256 11268d492da82ad9153ae798f2c3860876057bd804400426d26fc1c3f45a49e3 SHA512 8a62ade167c517e20da17eccbac07ea16a363fdecb5556cd04a5b5ec3e516963df52823eac30bbe6d1ab6b3135b45606e74d05dc2bba23fb4ba3f5029d2b8467 WHIRLPOOL 74674a5b646ea9335adf1a67971e1931e3ebc31cc93b66a4035135e41194a359571fd1f2d964d2b2ab2354d64ad083025e31b7ce47009e362379b4432e45a239 +AUX 036-0007-Added-missing-quotes.patch 740 SHA256 a557c5de158730173d0b8819785806fab1fa0025e63a3981a56b2ac127b8acc5 SHA512 627ad35d6f12d5a11fb56a12699167827ca4d218419a700f06172653e7dbae73e469d99c65b3dead2df5230f4fe14c97b30783d5764c30656954cca84957f469 WHIRLPOOL 7371b303cb02272b43bed583414f41f285fbaee0e532ba8ab82f0f84268bd9ae39963751c79184fda6a9425a5802cda56fcff732ea769e45ced0ce2cefa5e181 +AUX 036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch 1186 SHA256 630ff9fd0c4b2690e1bdc9f396bdb84346745f0a40c7eef90e5652ff3d97f297 SHA512 8a3221b46b9f51972952b64fc337bca6b866f07d176c1eae8624c21ec22cc67c01655306afd2c118116debd5c2418c443a4d07ed2cf139db2ed6e99258b07c43 WHIRLPOOL fbb7273baeeb080d28232ae8ae424e4a52e178713d51cebaf3dfc0c66ceb7c6ed5ae62e5a2bbdc77706cea5353b15a540ad7cdd2f1f4703c86570a79a7fbf5ce +AUX 037-0001-dracut-functions.sh-support-for-altern.patch 1485 SHA256 dda6a7a87f27a02fa0661ea398bdc143f663171d884eee044a22e38cd4f8e1e4 SHA512 d91fb5816746b82e3d3a6d50f3d04320e601373efed29fc9b3f90f1cdbd4963c23af0ce3e168d90d40faf3d861cf99b93c8af63f1aa1971524f02005edd946b1 WHIRLPOOL 03ade689345fad5b6894533d822b4b1ad7879e90121d8033e06ab3794bcf2e8b2a173af5b73d2edc6215d33df372b772e177cdf55114ee54ca018790d9d96bb9 +AUX 037-0002-gentoo.conf-let-udevdir-be-handled-by-.patch 948 SHA256 b3bf73620278a99a3f416d60ce285da1052bee432c47dbbb9fdefd6b8831f454 SHA512 b2e864ec8a338b9bee65cb13c4d891f2e31b51d46a640ada597c30dce7cf80726f69b2cc4de58a94dad688a8ac9b153a146ef7ffbfb9c86aa038eb9efd36b8cf WHIRLPOOL 3eaf73c45ee33a9b673245e0ae4ef56042a8b77de916105ac77e55d78cb374a74fdf1006370caf6f2d7935ba717466a3de058af5986862080a1418b092f25eb2 +AUX 037-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch 2410 SHA256 9e23c100a0acde74f043a81b743aeda3e9a74cb154d6f298e23626bb7a80c967 SHA512 3104c377d519df9755600f33b1c8be872202cfbb95a76fdcc05e69fd9e04da617dff7e7e2ced11543e8a1ba138275897ab8d40923180c9d9b10d3bc52c86e138 WHIRLPOOL 7d0b9d68a5e50e3d98ffd0db4ee237de0d2f140ba0ecf03a822189964deaf28b6aa898ddb8cbe9ac22c91eb7ecaf65fc8346a6a6b5bed07725f12faea28da8ff +AUX 037-0004-Install-dracut-install-into-libexec-di.patch 2581 SHA256 bb83cfecd54a18b630b9dd08cae8a36778f75fae0bc28faa6f484d2a4f687274 SHA512 ea2cba205179023f7a55405b5a8baf740e5495db4210f63c3be32ba333a2b0a633915f2cf51865f248c2142c290fcdd675f77ceca3247d66965d207d40e60a30 WHIRLPOOL 5d14552a0d62e5231c7983949d720064ba56a0a6a10e659e884b11e8719afba53dde36659e632d60816af1aad585d5adce946fafd7392e48d029149c0ea02f29 +AUX 037-0005-modsign-do-not-hardcode-path-to-keyctl.patch 784 SHA256 47184c81bd1ae0be7cee4829d1ef454478a7092ed8c1826dda2ca16445f19e8a SHA512 747cf9a092dfba948367086fb028b84444971f1e843f7b9bf99d592da726e78f3ab204604958c41e21fe38eda885ab52670c223402d18b62f933e72156df5822 WHIRLPOOL 70fb43941d47fb0e1c376374d9b27c4a8f29a823df0ab57e679ec04ea6da59d551c6a9d1a23b90c16dca7ba9c9f9232ce4db6466c0b911af8c25243621a9235f +DIST 034-0010-module-setup.sh-add-comments.patch.bz2 6424 SHA256 fbcb940c83e362cc93a78c5be28ffd7c794a331f992498e451d69c1830f054fa SHA512 e5e41b8696716c5284ea981ae85dbe688c5c31330e400c79f4ba46890939dffdd7744e4a85d27d074987a8db65114332171af0a5471338e3e4bed19d54edc6fd WHIRLPOOL c5d29ef2f20aa752e57180be35a2014c214a25e4e49d3f623d05cd6ef1debd2cec38d24453ecb0c004cdbb52239f0d541ddc9df065ab84fb7d62c30594704347 +DIST dracut-034.tar.bz2 277692 SHA256 48c7fd57e287d4f34dfff5b5ead14a4511926858f1e2ffaa40b762f257516d7f SHA512 ae06510668e63550d4d6b509b314c7668880387cfe696fc7f21cf04cc488be743440871dbd1fcf4e8314f9aa9e61ee3e78a42a75631123c420767677c6744e34 WHIRLPOOL 0412dea239fbd82d79e873869211ea31b7495dac74d7079e8aa52dd8d2484986fd0a0831aefffe29cfe5acfbf64fa01a9a1fa742192a28276a8671b663a69e13 +DIST dracut-036.tar.xz 255192 SHA256 6dd97c4323ec8bd87b24a95349692fb6c6ca2d1b3528793ef117820049b6fcd3 SHA512 e55448701ef4b0c8969d4d64239a2a7df3d7b06f4457838d2b2139e58b754822654a1b8cfc7d6dbcd7a79dbc14e75366a39e21104b4aeda20c7bf34734668344 WHIRLPOOL ddbe88cb6b333586a71eeed98871066bc79208d2ba8d88dfb42245aca6bd15d6c0c436948569fc8c18703f9d66ad9918bb1e73e050ce6c807fae833148ead218 +DIST dracut-037.tar.xz 256964 SHA256 9c4c365c8dabc19b66da2972bbed7b983df520481325b8a37d3f620218620d76 SHA512 db6d5b064bb24a0fe5a09b0fe8915247f6b3028c0182faa7a533624f98fce45f7ad449d1814ec79fc039ee82c1be0afc7ae8987fee7c5a7f8f16480a6a3b0f39 WHIRLPOOL d904b7d8cd1753df20630db1056853a17a020389ff4da8f14b5d2f207d76046911993eed3522a11fe7d78a5770d496430bbfaf4a3ac3fef83c54a817639094aa +EBUILD dracut-034-r4.ebuild 10416 SHA256 79ce6e1d4d6a5ee546309b518e8b92446d3da60c13435929f70c8b54db816d69 SHA512 6a2903b1960dd486ef20c483f8ed8b4ca1430362ffabe07dfad6c2b854164ddc91daf0ba119c6011a432a6bb300fda708d09ca89328073d72bb625b405966cae WHIRLPOOL 077a09b1578a790762d8444ce1a6560f61a1acbcf1520c44ae139d04ae34f3322676178d51a2b9a1462868d3e0f1eea1254869f64810272951c90f4347d57cd9 +EBUILD dracut-036-r4.ebuild 7723 SHA256 8a1165848519c870ed145b6554bc679fe1d9cb19a62df1111255b229246c2391 SHA512 97c0be10312ff68ebfce3f17dbfa02e5b3b4fcb51acdab6362e6329d2b93f60f87d81bb10f00377aa372d9b1b9783c705f8ce3187248a6e76571e143ed3c326d WHIRLPOOL 07044379e3a84318a672a8e7c84b4266bdc437030bdc7756726ea9260c6565f5b3159643ec488874adf530b7c8e2868b81691fafba49bbe79087936cdfa110fc +EBUILD dracut-037-r1.ebuild 7825 SHA256 56f2633532667404250adf69172601453e9e2a7d7ae55d96552c9f58be00bd0e SHA512 a41defdbae1a57dfe9271c8c5798dfe39451cf958b807ccdfca87bbaf96021f2619cef118ba4838f7e3e74166a6e278791d0daf99611cc69a25f6a12828b0950 WHIRLPOOL 83ea7a5343c8a3ba43b594a483b9692e9324316ccab06e7ac65b535f3d925f84685f34c7531982b893a9bc7981a18e6807edfeafb74203bb42df9f446fcf8e2e +EBUILD dracut-037.ebuild 7661 SHA256 948aed0aab0ff9c9087d252f7676a6767f0f2b66d5fbae8a2624ddfba641afb7 SHA512 4d02206374fdd4848bc916133ff00b688c8632a22f5171f277ea8e13426fdc3ac91a27f1f1a81049ae118df41974e56fe82deffb89bb975b31b332899bf7bae2 WHIRLPOOL 189ce52267852f9369f3805247b82ec675df9ec0bb91de0e991e2ad5bcb2147364754bf25fbcdddeaf7d44b179b11bfe780d9846b70669306da1d60d5d3d6abf +MISC ChangeLog 71033 SHA256 920019c4e346eda076fc1e6c4374ab50b7a64e785cba35797803d1b998f7e262 SHA512 f5eaccbbe3be5a08b848058f83076827f23e68048fb311cc409c6d39eccc0c94872454879c533e3ae3f209914601022cb720fa185927f80f47335103f3e55b0f WHIRLPOOL 0f2e34a8b98560560646b8f977c966f4b45be5e6d47c6ed295dd116157dfb4d0ebf52af0d5202caec51e8508b8cb83108c34892c8f03299ef28ca63d90d88b53 +MISC metadata.xml 906 SHA256 5f19b725d0669877fdd7814634b7aa7dd73331459bace52de02908417b833c3f SHA512 c5838d36080528d541b67cb38de17cc2351f7e5e17ab060c58f037792225ea223ade6b7e69376f4a9256b0bb3dcf4de578dcd50ee1c7d04a3f3288ca3c1ada43 WHIRLPOOL 532ea421fab965094820d5c0961a00ca38c858461f572a0cd4a145aa90340a569ee942062338ae03773c2709a08e4882f3176333aa5383b7e3c467cb01c0874d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQEcBAEBCAAGBQJTcxa7AAoJEPATRTHh2/q13UUH/R1pmepxRx0FdLuucHDoteFt +Fb+RQ/6MhdLwELvcOXdmtBMruX4VGnRkZjnz3oSdiu3Lywc73Vjv9zz3KofUW9Vr +sKOHIWzyFALbLk6/SPLTame2zau467RL9z2e9BIGt/3TFhwhbJHjboBaMtCB/MO+ +vADoBP3jZpxfg55RO362Sh6pggdmB+WTjXlRaB0ZqE2fDx1lGL7AMKs0oEa48snT +ZKfwPLSqRhVC6Jq0S9EN3yoS4z9tjCH6pq8VLqBFW9vEpdwAu92AYX+mhUxJ6L3E +7/UOi1XKnd4IapxkKW4Nc4tJecPMQp2fLmvSdlU7r3onu0Vn0vnvGBtNyHppehE= +=hh98 +-----END PGP SIGNATURE----- diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-034-r4.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-034-r4.ebuild new file mode 100644 index 0000000000..bcf5e3556a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-034-r4.ebuild @@ -0,0 +1,333 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-034-r4.ebuild,v 1.5 2014/02/27 13:02:33 aidecoe Exp $ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +add_req_use_for() { + local dep="$1"; shift + local f + + for f in "$@"; do + REQUIRED_USE+="${f}? ( ${dep} ) +" + done +} + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +AIDECOE_DISTFILES="http://dev.gentoo.org/~aidecoe/distfiles" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.bz2 + ${AIDECOE_DISTFILES}/${CATEGORY}/${PN}/${PV}-0010-module-setup.sh-add-comments.patch.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +REQUIRED_USE=" + dracut_modules_bootchart? ( !dracut_modules_systemd ) + dracut_modules_crypt-gpg? ( dracut_modules_crypt ) + dracut_modules_crypt-loop? ( dracut_modules_crypt ) + dracut_modules_livenet? ( dracut_modules_dmsquash-live ) + " +COMMON_MODULES=" + dracut_modules_biosdevname + dracut_modules_bootchart + dracut_modules_btrfs + dracut_modules_caps + dracut_modules_crypt-gpg + dracut_modules_crypt-loop + dracut_modules_dash + dracut_modules_gensplash + dracut_modules_mdraid + dracut_modules_multipath + dracut_modules_plymouth + dracut_modules_syslog + dracut_modules_systemd + " +DM_MODULES=" + dracut_modules_crypt + dracut_modules_dmraid + dracut_modules_dmsquash-live + dracut_modules_livenet + dracut_modules_lvm + " +NETWORK_MODULES=" + dracut_modules_cifs + dracut_modules_iscsi + dracut_modules_livenet + dracut_modules_nbd + dracut_modules_nfs + dracut_modules_ssh-client + " +add_req_use_for device-mapper ${DM_MODULES} +add_req_use_for net ${NETWORK_MODULES} +IUSE_DRACUT_MODULES="${COMMON_MODULES} ${DM_MODULES} ${NETWORK_MODULES}" +IUSE="debug device-mapper net selinux ${IUSE_DRACUT_MODULES}" + +RESTRICT="test" + +CDEPEND="virtual/udev + !>=sys-fs/udev-210 + !>=sys-apps/systemd-210 + dracut_modules_systemd? ( >=sys-apps/systemd-199 ) + selinux? ( sec-policy/selinux-dracut ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >=sys-apps/baselayout-1.12.14-r1 + >sys-apps/kmod-5[tools] + || ( >=sys-apps/sysvinit-2.87-r3 sys-apps/systemd-sysv-utils ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + device-mapper? ( >=sys-fs/lvm2-2.02.33 ) + net? ( net-misc/curl >=net-misc/dhcp-4.2.4_p2-r1[client] sys-apps/iproute2 ) + selinux? ( sys-libs/libselinux sys-libs/libsepol ) + dracut_modules_biosdevname? ( sys-apps/biosdevname ) + dracut_modules_bootchart? ( app-benchmarks/bootchart2 sys-apps/usleep + sys-process/acct ) + dracut_modules_btrfs? ( sys-fs/btrfs-progs ) + dracut_modules_caps? ( sys-libs/libcap ) + dracut_modules_cifs? ( net-fs/cifs-utils ) + dracut_modules_crypt? ( sys-fs/cryptsetup ) + dracut_modules_crypt-gpg? ( app-crypt/gnupg ) + dracut_modules_dash? ( >=app-shells/dash-0.5.4.11 ) + dracut_modules_dmraid? ( sys-fs/dmraid sys-fs/multipath-tools ) + dracut_modules_gensplash? ( media-gfx/splashutils ) + dracut_modules_iscsi? ( >=sys-block/open-iscsi-2.0.871.3 ) + dracut_modules_lvm? ( >=sys-fs/lvm2-2.02.33 ) + dracut_modules_mdraid? ( >=sys-fs/mdadm-3.2.6-r1 ) + dracut_modules_multipath? ( sys-fs/multipath-tools ) + dracut_modules_nbd? ( sys-block/nbd ) + dracut_modules_nfs? ( net-fs/nfs-utils net-nds/rpcbind ) + dracut_modules_plymouth? ( >=sys-boot/plymouth-0.8.3-r1 ) + dracut_modules_ssh-client? ( dev-libs/openssl ) + dracut_modules_syslog? ( || ( app-admin/syslog-ng app-admin/rsyslog ) ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib + +# +# Helper functions +# + +# Returns true if any of specified modules is enabled by USE flag and false +# otherwise. +# $1 = list of modules (which have corresponding USE flags of the same name) +any_module() { + local m modules=" $@ " + + for m in ${modules}; do + ! use $m && modules=${modules/ $m / } + done + + shopt -s extglob + modules=${modules%%+( )} + shopt -u extglob + + [[ ${modules} ]] +} + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# +# ebuild functions +# + +src_prepare() { + epatch "${FILESDIR}/${PV}-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch" + epatch "${FILESDIR}/${PV}-0002-dracut-functions.sh-support-for-altern.patch" + epatch "${FILESDIR}/${PV}-0003-gentoo.conf-let-udevdir-be-handled-by-.patch" + epatch "${FILESDIR}/${PV}-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch" + epatch "${FILESDIR}/${PV}-0005-Install-dracut-install-into-libexec-di.patch" + epatch "${FILESDIR}/${PV}-0006-resume-fix-swap-detection-in-hostonly.patch" + epatch "${FILESDIR}/${PV}-0007-dracut.sh-also-mkdir-run-lock-which-is.patch" + epatch "${FILESDIR}/${PV}-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch" + epatch "${FILESDIR}/${PV}-0009-lvm-install-thin-utils-for-non-hostonl.patch" + epatch "${DISTDIR}/${PV}-0010-module-setup.sh-add-comments.patch.bz2" + epatch "${FILESDIR}/${PV}-0011-lvm-fix-thin-recognition.patch" + epatch "${FILESDIR}/${PV}-0012-lvm-always-install-thin-utils-for-lvm.patch" + epatch "${FILESDIR}/${PV}-0013-usrmount-always-install.patch" + epatch "${FILESDIR}/${PV}-0014-udev-rules-add-eudev-rules.patch" + + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use dracut_modules_systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use dracut_modules_systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + # Remove modules not enabled by USE flags + for module in ${IUSE_DRACUT_MODULES} ; do + ! use ${module} && rm_module -f ${module#dracut_modules_} + done + + # Those flags are specific, and even are corresponding to modules, they need + # to be declared as regular USE flags. + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + # Following flags define set of helper modules which are base dependencies + # for others and as so have no practical use, so remove these modules. + use device-mapper || rm_module 90dm + use net || rm_module 40network 45ifcfg 45url-lib + + if use dracut_modules_systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 98selinux + else + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart + fi + + # Remove S/390 modules which are not tested at all + rm_module 80cms 95dasd 95dasd_mod 95zfcp 95znet + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni + + # Remove extra modules which go to future dracut-extras + rm_module 05busybox 97masterkey 98ecryptfs 98integrity +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + if use dracut_modules_crypt || use dracut_modules_dmraid || use \ + dracut_modules_mdraid || use dracut_modules_lvm; then + + if ! [[ $(=dracut-024." + ewarn "Use rd.auto option to turn it on." + fi + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-036-r4.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-036-r4.ebuild new file mode 100644 index 0000000000..59d16ef12e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-036-r4.ebuild @@ -0,0 +1,260 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-036-r4.ebuild,v 1.5 2014/04/24 20:09:28 aidecoe Exp $ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug selinux systemd" + +RESTRICT="test" + +CDEPEND="virtual/udev + !>=sys-fs/udev-210 + !>=sys-apps/systemd-210 + systemd? ( >=sys-apps/systemd-199 ) + selinux? ( sec-policy/selinux-dracut ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >sys-apps/kmod-5[tools] + || ( >=sys-apps/sysvinit-2.87-r3 sys-apps/systemd-sysv-utils ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + selinux? ( sys-libs/libselinux sys-libs/libsepol ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib +PATCHES=( + "${FILESDIR}/${PV}-0001-NEWS-update-for-version-036.patch" + "${FILESDIR}/${PV}-0002-dracut-functions.sh-support-for-altern.patch" + "${FILESDIR}/${PV}-0003-gentoo.conf-let-udevdir-be-handled-by-.patch" + "${FILESDIR}/${PV}-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch" + "${FILESDIR}/${PV}-0005-Install-dracut-install-into-libexec-di.patch" + "${FILESDIR}/${PV}-0006-dracut.sh-Fix-variable-name-typo.patch" + "${FILESDIR}/${PV}-0007-Added-missing-quotes.patch" + "${FILESDIR}/${PV}-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch" + ) + +# +# Helper functions +# + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# Grabbed from net-misc/netctl ebuild. +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 to ${desc}" + else + elog " [ ] $1 to ${desc}" + fi + shift + done +} + +# +# ebuild functions +# + +src_prepare() { + epatch "${PATCHES[@]}" + + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + if use systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 97masterkey 98integrity + else + rm_module 98systemd + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart + fi + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + elog "To get additional features, a number of optional runtime" + elog "dependencies may be installed:" + elog "" + optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \ + sys-apps/iproute2 + optfeature \ + "Measure performance of the boot process for later visualisation" \ + app-benchmarks/bootchart2 sys-apps/usleep sys-process/acct + optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs + optfeature "Load kernel modules and drop this privilege for real init" \ + sys-libs/libcap + optfeature "Support CIFS" net-fs/cifs-utils + optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \ + sys-fs/cryptsetup + optfeature "Support for GPG-encrypted keys for crypt module" \ + app-crypt/gnupg + optfeature \ + "Allows use of dash instead of default bash (on your own risk)" \ + app-shells/dash + optfeature "Framebuffer splash (media-gfx/splashutils)" \ + media-gfx/splashutils + optfeature "Support iSCSI" sys-block/open-iscsi + optfeature "Support Logical Volume Manager" sys-fs/lvm2 + optfeature "Support MD devices, also known as software RAID devices" \ + sys-fs/mdadm + optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools + optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5' + optfeature "Support network block devices" sys-block/nbd + optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind + optfeature \ + "Install ssh and scp along with config files and specified keys" \ + dev-libs/openssl + optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \ + app-admin/rsyslog +} diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-037-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-037-r1.ebuild new file mode 100644 index 0000000000..07d2dc2e44 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-037-r1.ebuild @@ -0,0 +1,264 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-037-r1.ebuild,v 1.1 2014/05/14 07:09:46 aidecoe Exp $ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug selinux systemd" + +RESTRICT="test" + +CDEPEND="virtual/udev + systemd? ( >=sys-apps/systemd-199 ) + selinux? ( sec-policy/selinux-dracut ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >sys-apps/kmod-5[tools] + || ( >=sys-apps/sysvinit-2.87-r3 sys-apps/systemd-sysv-utils ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + selinux? ( sys-libs/libselinux sys-libs/libsepol ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib +PATCHES=( + "${FILESDIR}/${PV}-0001-dracut-functions.sh-support-for-altern.patch" + "${FILESDIR}/${PV}-0002-gentoo.conf-let-udevdir-be-handled-by-.patch" + "${FILESDIR}/${PV}-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch" + "${FILESDIR}/${PV}-0004-Install-dracut-install-into-libexec-di.patch" + "${FILESDIR}/${PV}-0005-modsign-do-not-hardcode-path-to-keyctl.patch" + ) + +# +# Helper functions +# + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# Grabbed from net-misc/netctl ebuild. +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 to ${desc}" + else + elog " [ ] $1 to ${desc}" + fi + shift + done +} + +# +# ebuild functions +# + +src_prepare() { + epatch "${PATCHES[@]}" + + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + if [[ ${SYMLINK_LIB} = yes ]]; then + # Preserve lib -> lib64 symlinks in initramfs + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + fi + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + else + local systemdutildir="/lib/systemd" + einfo "Setting systemdutildir for standalone udev to" \ + "${systemdutildir}..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + if use systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 97masterkey 98integrity + else + rm_module 98systemd + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart + fi + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + elog "To get additional features, a number of optional runtime" + elog "dependencies may be installed:" + elog "" + optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \ + sys-apps/iproute2 + optfeature \ + "Measure performance of the boot process for later visualisation" \ + app-benchmarks/bootchart2 sys-apps/usleep sys-process/acct + optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs + optfeature "Load kernel modules and drop this privilege for real init" \ + sys-libs/libcap + optfeature "Support CIFS" net-fs/cifs-utils + optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \ + sys-fs/cryptsetup + optfeature "Support for GPG-encrypted keys for crypt module" \ + app-crypt/gnupg + optfeature \ + "Allows use of dash instead of default bash (on your own risk)" \ + app-shells/dash + optfeature "Framebuffer splash (media-gfx/splashutils)" \ + media-gfx/splashutils + optfeature "Support iSCSI" sys-block/open-iscsi + optfeature "Support Logical Volume Manager" sys-fs/lvm2 + optfeature "Support MD devices, also known as software RAID devices" \ + sys-fs/mdadm + optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools + optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5' + optfeature "Support network block devices" sys-block/nbd + optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind + optfeature \ + "Install ssh and scp along with config files and specified keys" \ + dev-libs/openssl + optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \ + app-admin/rsyslog +} diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-037.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-037.ebuild new file mode 100644 index 0000000000..5f5dcaa2c2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-037.ebuild @@ -0,0 +1,260 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-037.ebuild,v 1.2 2014/04/24 20:09:28 aidecoe Exp $ + +EAPI=4 + +inherit bash-completion-r1 eutils linux-info multilib systemd + +DESCRIPTION="Generic initramfs generation tool" +HOMEPAGE="http://dracut.wiki.kernel.org" +SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug selinux systemd" + +RESTRICT="test" + +CDEPEND="virtual/udev + systemd? ( >=sys-apps/systemd-199 ) + selinux? ( sec-policy/selinux-dracut ) + " +RDEPEND="${CDEPEND} + app-arch/cpio + >=app-shells/bash-4.0 + >sys-apps/kmod-5[tools] + || ( >=sys-apps/sysvinit-2.87-r3 sys-apps/systemd-sysv-utils ) + >=sys-apps/util-linux-2.21 + + debug? ( dev-util/strace ) + selinux? ( sys-libs/libselinux sys-libs/libsepol ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + >=dev-libs/libxslt-1.1.26 + app-text/docbook-xml-dtd:4.5 + >=app-text/docbook-xsl-stylesheets-1.75.2 + virtual/pkgconfig + " + +DOCS=( AUTHORS HACKING NEWS README README.generic README.kernel README.modules + README.testsuite TODO ) +MY_LIBDIR=/usr/lib +PATCHES=( + "${FILESDIR}/${PV}-0001-dracut-functions.sh-support-for-altern.patch" + "${FILESDIR}/${PV}-0002-gentoo.conf-let-udevdir-be-handled-by-.patch" + "${FILESDIR}/${PV}-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch" + "${FILESDIR}/${PV}-0004-Install-dracut-install-into-libexec-di.patch" + ) + +# +# Helper functions +# + +# Removes module from modules.d. +# $1 = module name +# Module name can be specified without number prefix. +rm_module() { + local force m + [[ $1 = -f ]] && force=-f + + for m in $@; do + if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then + rm ${force} --interactive=never -r "${modules_dir}"/$m + else + rm ${force} --interactive=never -r "${modules_dir}"/[0-9][0-9]$m + fi + done +} + +# Grabbed from net-misc/netctl ebuild. +optfeature() { + local desc=$1 + shift + while (( $# )); do + if has_version "$1"; then + elog " [I] $1 to ${desc}" + else + elog " [ ] $1 to ${desc}" + fi + shift + done +} + +# +# ebuild functions +# + +src_prepare() { + epatch "${PATCHES[@]}" + + local libdirs="/$(get_libdir) /usr/$(get_libdir)" + [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" + einfo "Setting libdirs to \"${libdirs}\" ..." + sed -e "3alibdirs=\"${libdirs}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + local udevdir="$("$(tc-getPKG_CONFIG)" udev --variable=udevdir)" + einfo "Setting udevdir to ${udevdir}..." + sed -r -e "s|^(udevdir=).*$|\1${udevdir}|" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + + if use systemd; then + local systemdutildir="$(systemd_get_utildir)" + local systemdsystemunitdir="$(systemd_get_unitdir)" + local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \ + --variable=systemdsystemconfdir)" + [[ ${systemdsystemconfdir} ]] \ + || systemdsystemconfdir=/etc/systemd/system + einfo "Setting systemdutildir to ${systemdutildir} and ..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemunitdir to ${systemdsystemunitdir} and..." + sed -e "6asystemdsystemunitdir=\"${systemdsystemunitdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + einfo "Setting systemdsystemconfdir to ${systemdsystemconfdir}..." + sed -e "7asystemdsystemconfdir=\"${systemdsystemconfdir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + else + local systemdutildir="/lib/systemd" + einfo "Setting systemdutildir for standalone udev to" \ + "${systemdutildir}..." + sed -e "5asystemdutildir=\"${systemdutildir}\"" \ + -i "${S}/dracut.conf.d/gentoo.conf.example" || die + fi + + epatch_user +} + +src_configure() { + local myconf="--libdir=${MY_LIBDIR}" + myconf+=" --bashcompletiondir=$(get_bashcompdir)" + + if use systemd; then + myconf+=" --systemdsystemunitdir='$(systemd_get_unitdir)'" + fi + + econf ${myconf} +} + +src_compile() { + tc-export CC + emake doc install/dracut-install +} + +src_install() { + default + + local my_libdir="${MY_LIBDIR}" + local dracutlibdir="${my_libdir#/}/dracut" + + echo "DRACUT_VERSION=$PVR" > "${D%/}/${dracutlibdir}/dracut-version.sh" + + insinto "${dracutlibdir}/dracut.conf.d/" + newins dracut.conf.d/gentoo.conf.example gentoo.conf + + insinto /etc/logrotate.d + newins dracut.logrotate dracut + + dodir /var/lib/dracut/overlay + + dohtml dracut.html + + # + # Modules + # + local module + modules_dir="${D%/}/${dracutlibdir}/modules.d" + + use debug || rm_module 95debug + use selinux || rm_module 98selinux + + if use systemd; then + # With systemd following modules do not make sense + rm_module 96securityfs 97masterkey 98integrity + else + rm_module 98systemd + # Without systemd following modules do not make sense + rm_module 00systemd-bootchart + fi + + # Remove modules which won't work for sure + rm_module 95fcoe # no tools + # fips module depends on masked app-crypt/hmaccalc + rm_module 01fips 02fips-aesni +} + +pkg_postinst() { + if linux-info_get_any_version && linux_config_src_exists; then + ewarn "" + ewarn "If the following test report contains a missing kernel" + ewarn "configuration option, you should reconfigure and rebuild your" + ewarn "kernel before booting image generated with this Dracut version." + ewarn "" + + local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" + + # Kernel configuration options descriptions: + local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" + local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ +"(initramfs/initrd) support" + + local opt desc + + # Generate ERROR_* variables for check_extra_config. + for opt in ${CONFIG_CHECK}; do + opt=${opt#\~} + desc=desc_${opt} + eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ + "is missing and REQUIRED'" + done + + check_extra_config + echo + else + ewarn "" + ewarn "Your kernel configuration couldn't be checked. Do you have" + ewarn "/usr/src/linux/.config file there? Please check manually if" + ewarn "following options are enabled:" + ewarn "" + ewarn " CONFIG_BLK_DEV_INITRD" + ewarn " CONFIG_DEVTMPFS" + ewarn "" + fi + + elog "To get additional features, a number of optional runtime" + elog "dependencies may be installed:" + elog "" + optfeature "Networking support" net-misc/curl "net-misc/dhcp[client]" \ + sys-apps/iproute2 + optfeature \ + "Measure performance of the boot process for later visualisation" \ + app-benchmarks/bootchart2 sys-apps/usleep sys-process/acct + optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs + optfeature "Load kernel modules and drop this privilege for real init" \ + sys-libs/libcap + optfeature "Support CIFS" net-fs/cifs-utils + optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \ + sys-fs/cryptsetup + optfeature "Support for GPG-encrypted keys for crypt module" \ + app-crypt/gnupg + optfeature \ + "Allows use of dash instead of default bash (on your own risk)" \ + app-shells/dash + optfeature "Framebuffer splash (media-gfx/splashutils)" \ + media-gfx/splashutils + optfeature "Support iSCSI" sys-block/open-iscsi + optfeature "Support Logical Volume Manager" sys-fs/lvm2 + optfeature "Support MD devices, also known as software RAID devices" \ + sys-fs/mdadm + optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools + optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5' + optfeature "Support network block devices" sys-block/nbd + optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind + optfeature \ + "Install ssh and scp along with config files and specified keys" \ + dev-libs/openssl + optfeature "Enable logging with syslog-ng or rsyslog" app-admin/syslog-ng \ + app-admin/rsyslog +} diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch new file mode 100644 index 0000000000..7500ecfdb7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0001-dracut.sh-do-not-bail-out-if-kernel-mo.patch @@ -0,0 +1,42 @@ +From 45e5079d4be0ac1a977bc41dcda423fcfa3280fc Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Tue, 8 Oct 2013 15:03:40 +0200 +Subject: [PATCH 1/5] dracut.sh: do not bail out, if kernel modules dir is + missing + +and only print a warning message +--- + dracut.sh | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/dracut.sh b/dracut.sh +index e135dfc..d9533dd 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -496,17 +496,18 @@ if [[ $regenerate_all == "yes" ]]; then + ((ret+=$?)) + done + exit $ret +-elif [[ $kernel ]]; then +- if ! [[ -d /lib/modules/$kernel ]] && [[ $no_kernel != yes ]]; then +- printf -- "Kernel version $kernel has no modules in /lib/modules/$kernel\n" >&2 +- exit 1 +- fi + fi + + if ! [[ $kernel ]]; then + kernel=$(uname -r) + fi + ++if [[ $kernel ]]; then ++ if ! [[ -d /lib/modules/$kernel ]] && [[ $no_kernel != yes ]]; then ++ printf -- "Kernel version $kernel has no module directory /lib/modules/$kernel\n" >&2 ++ fi ++fi ++ + if ! [[ $outfile ]]; then + [[ -f /etc/machine-id ]] && read MACHINE_ID < /etc/machine-id + +-- +1.8.3.2 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0002-dracut-functions.sh-support-for-altern.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0002-dracut-functions.sh-support-for-altern.patch new file mode 100644 index 0000000000..acb2db7677 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0002-dracut-functions.sh-support-for-altern.patch @@ -0,0 +1,41 @@ +From c5a2f35eb2a90d8787d127b44cb6b5e0536d16ce Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Sun, 6 Jan 2013 13:35:01 +0100 +Subject: [PATCH 2/5] dracut-functions.sh: support for alternative udev dirs - + udevaltdirs + +It is required for Gentoo which moves udev from / to /usr and supports +both /lib/udev and /usr/lib/udev for compatibility with other packages. + +Credits go to Alexander Tsoy . + +Conflicts: + dracut-functions.sh +--- + dracut-functions.sh | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 45e0911..c1cbdeb 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -872,6 +872,16 @@ inst_rules() { + inst_dir "$_target" + for _rule in "$@"; do + if [ "${_rule#/}" = "$_rule" ]; then ++ for r in ${udevaltdirs}; do ++ [[ "$r" = "${udevdir}" ]] && continue ++ if [[ -e $r/rules.d/$_rule ]]; then ++ _found="$r/rules.d/$_rule" ++ inst_rule_programs "$_found" ++ inst_rule_group_owner "$_found" ++ inst_rule_initqueue "$_found" ++ inst_simple "$_found" "${udevdir}/rules.d/${_found##*/}" ++ fi ++ done + for r in ${udevdir}/rules.d ${hostonly:+/etc/udev/rules.d}; do + if [[ -e $r/$_rule ]]; then + _found="$r/$_rule" +-- +1.8.3.2 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch new file mode 100644 index 0000000000..e5bee434ef --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0003-gentoo.conf-let-udevdir-be-handled-by-.patch @@ -0,0 +1,30 @@ +From 29ade4d78b7609877659aa5938b3fba2954ce415 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Sun, 16 Dec 2012 20:02:48 +0100 +Subject: [PATCH 3/5] gentoo.conf: let udevdir= be handled by pkg-config and + use udevaltdirs + +To avoid need of rebuild after udev update/downgrade let udevdir= be set +dynamically with pkg-config. Use udevaltdirs to search for rules both +in old and new locations. +--- + dracut.conf.d/gentoo.conf.example | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/dracut.conf.d/gentoo.conf.example b/dracut.conf.d/gentoo.conf.example +index 26e7314..f9617f0 100644 +--- a/dracut.conf.d/gentoo.conf.example ++++ b/dracut.conf.d/gentoo.conf.example +@@ -1,7 +1,8 @@ + # /etc/dracut.conf.d/gentoo.conf + # dracut config file customized for Gentoo Base System release 2 + +-udevdir=/lib/udev ++udevdir= ++udevaltdirs="/lib/udev /usr/lib/udev" + ro_mnt=yes + + # +-- +1.8.3.2 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch new file mode 100644 index 0000000000..dec964e5a8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch @@ -0,0 +1,74 @@ +From 6660721bd34b7a25026ffc6a6df4cdfdc8742ed3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Wed, 2 Oct 2013 22:37:09 +0200 +Subject: [PATCH 4/5] Use the same paths in dracut.sh as those set with + configure script + +Makefile alters destination main dracut script and sets dracutbasedir to +the value of pkglibdir set in configure. +--- + Makefile | 3 +++ + dracut.sh | 9 ++++----- + 2 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index 124a41b..ea504f5 100644 +--- a/Makefile ++++ b/Makefile +@@ -91,6 +91,9 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(pkglibdir)/modules.d + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut ++ sed -r \ ++ -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ ++ -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages + install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(bindir)/mkinitrd + install -m 0755 lsinitrd.sh $(DESTDIR)$(bindir)/lsinitrd +diff --git a/dracut.sh b/dracut.sh +index d9533dd..cf18c81 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -26,10 +26,13 @@ + # store for logging + dracut_args=( "$@" ) + ++# base dirs ++pkglibdir=/usr/lib/dracut ++dracutbasedir="$pkglibdir" ++ + set -o pipefail + + usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -54,7 +57,6 @@ EOF + } + + long_usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -549,8 +551,6 @@ export DRACUT_LOG_LEVEL=warning + debug=yes + } + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut +- + # if we were not passed a config file, try the default one + if [[ ! -f $conffile ]]; then + if [[ $allowlocal ]]; then +@@ -669,7 +669,6 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) + [[ $use_fstab_l ]] && use_fstab=$use_fstab_l + [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l + [[ $lvmconf_l ]] && lvmconf=$lvmconf_l +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + [[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware" + [[ $tmpdir_l ]] && tmpdir="$tmpdir_l" + [[ $tmpdir ]] || tmpdir=/var/tmp +-- +1.8.3.2 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0005-Install-dracut-install-into-libexec-di.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0005-Install-dracut-install-into-libexec-di.patch new file mode 100644 index 0000000000..6af99197ed --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0005-Install-dracut-install-into-libexec-di.patch @@ -0,0 +1,81 @@ +From 80dbe6dfbdb2cd3475006e210fe057dceb81ddf2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Wed, 2 Oct 2013 22:40:43 +0200 +Subject: [PATCH 5/5] Install dracut-install into libexec dir instead of lib + dir + +dracut-install script is the only thing ABI specific atm. + +See https://bugs.gentoo.org/show_bug.cgi?id=485218 for details on the +problem. +--- + Makefile | 4 +++- + configure | 1 + + dracut-functions.sh | 4 ++++ + dracut.sh | 1 + + 4 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index ea504f5..e004a79 100644 +--- a/Makefile ++++ b/Makefile +@@ -92,6 +92,7 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut + sed -r \ ++ -e "s|^(libexecdir)=.*|\1=$(libexecdir)|" \ + -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ + -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages +@@ -135,7 +136,8 @@ endif + done \ + fi + if [ -f install/dracut-install ]; then \ +- install -m 0755 install/dracut-install $(DESTDIR)$(pkglibdir)/dracut-install; \ ++ mkdir -p $(DESTDIR)$(libexecdir); \ ++ install -m 0755 install/dracut-install $(DESTDIR)$(libexecdir)/dracut-install; \ + fi + mkdir -p $(DESTDIR)${prefix}/lib/kernel/install.d + install -m 0755 50-dracut.install $(DESTDIR)${prefix}/lib/kernel/install.d/50-dracut.install +diff --git a/configure b/configure +index 19b5e1f..d2ffc2c 100755 +--- a/configure ++++ b/configure +@@ -61,6 +61,7 @@ sbindir ?= ${sbindir:-${prefix}/sbin} + mandir ?= ${mandir:-${prefix}/share/man} + enable_documentation ?= ${enable_documentation:-yes} + bindir ?= ${bindir:-${prefix}/bin} ++libexecdir ?= ${libexecdir:-${prefix}/libexec} + EOF + + { +diff --git a/dracut-functions.sh b/dracut-functions.sh +index c1cbdeb..72b7f1b 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -694,6 +694,10 @@ if ! [[ $DRACUT_INSTALL ]]; then + DRACUT_INSTALL=$(find_binary dracut-install) + fi + ++if ! [[ $DRACUT_INSTALL ]] && [[ -x $libexecdir/dracut-install ]]; then ++ DRACUT_INSTALL=$libexecdir/dracut-install ++fi ++ + if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then + DRACUT_INSTALL=$dracutbasedir/dracut-install + fi +diff --git a/dracut.sh b/dracut.sh +index cf18c81..e28b929 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -27,6 +27,7 @@ + dracut_args=( "$@" ) + + # base dirs ++libexecdir=/usr/libexec + pkglibdir=/usr/lib/dracut + dracutbasedir="$pkglibdir" + +-- +1.8.3.2 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0006-resume-fix-swap-detection-in-hostonly.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0006-resume-fix-swap-detection-in-hostonly.patch new file mode 100644 index 0000000000..e97780c259 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0006-resume-fix-swap-detection-in-hostonly.patch @@ -0,0 +1,31 @@ +From 0c89bcc27516803d68444488ede3d513ba982039 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy +Date: Wed, 9 Oct 2013 06:39:46 +0400 +Subject: [PATCH 6/6] resume: fix swap detection in hostonly + +Check for other possible fs types. This fixes swap detection when using +TuxOnIce kernel. + +Note that parse-resume.sh generate udev rules with support for +ID_FS_TYPE=suspend, but we do not include it here, because it is +libvolume_id thing and host_fs_types is populated using blkid. +--- + modules.d/95resume/module-setup.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh +index 518ebf0..a1ddb46 100755 +--- a/modules.d/95resume/module-setup.sh ++++ b/modules.d/95resume/module-setup.sh +@@ -6,7 +6,7 @@ check() { + # No point trying to support resume, if no swap partition exist + [[ $hostonly ]] || [[ $mount_needs ]] && { + for fs in "${host_fs_types[@]}"; do +- [[ $fs = swap ]] && return 0 ++ [[ $fs =~ ^(swap|swsuspend|swsupend)$ ]] && return 0 + done + return 255 + } +-- +1.8.3.2 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch new file mode 100644 index 0000000000..0cf2586ed4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0007-dracut.sh-also-mkdir-run-lock-which-is.patch @@ -0,0 +1,25 @@ +From be723725cd6ea1c41b52c1bff5a569eb8cd0c76d Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Wed, 16 Oct 2013 11:31:54 +0200 +Subject: [PATCH 07/12] dracut.sh: also mkdir /run/lock, which is copied to + +--- + dracut.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut.sh b/dracut.sh +index e28b929..309aa7d 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -1081,7 +1081,7 @@ if [[ $kernel_only != yes ]]; then + fi + done + +- for d in dev proc sys sysroot root run run/lock run/initramfs; do ++ for d in dev proc sys sysroot root run run/log run/lock run/initramfs; do + if [ -L "/$d" ]; then + inst_symlink "/$d" + else +-- +1.8.4.3 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch new file mode 100644 index 0000000000..380411cc5f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0008-dracut.sh-no-need-to-make-subdirs-in-r.patch @@ -0,0 +1,25 @@ +From 34712f015f13221b653a1ed2ee75804f06a22357 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Wed, 16 Oct 2013 11:39:17 +0200 +Subject: [PATCH 08/12] dracut.sh: no need to make subdirs in run + +--- + dracut.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut.sh b/dracut.sh +index 309aa7d..4f58eed 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -1081,7 +1081,7 @@ if [[ $kernel_only != yes ]]; then + fi + done + +- for d in dev proc sys sysroot root run run/log run/lock run/initramfs; do ++ for d in dev proc sys sysroot root run; do + if [ -L "/$d" ]; then + inst_symlink "/$d" + else +-- +1.8.4.3 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0009-lvm-install-thin-utils-for-non-hostonl.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0009-lvm-install-thin-utils-for-non-hostonl.patch new file mode 100644 index 0000000000..8bf0f7c398 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0009-lvm-install-thin-utils-for-non-hostonl.patch @@ -0,0 +1,41 @@ +From bd3303000b32cb500b2d769c6852784a807cee47 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Tue, 8 Oct 2013 10:30:00 +0200 +Subject: [PATCH 09/12] lvm: install thin utils for non-hostonly + +--- + modules.d/90lvm/module-setup.sh | 18 +++++++++++------- + 1 file changed, 11 insertions(+), 7 deletions(-) + +diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh +index f98ffff..514addc 100755 +--- a/modules.d/90lvm/module-setup.sh ++++ b/modules.d/90lvm/module-setup.sh +@@ -52,13 +52,17 @@ install() { + + inst lvm + +- get_host_lvs | while read line; do +- printf "%s" " rd.lvm.lv=$line" +- if ! [[ $_needthin ]]; then +- [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 +- fi +- done >> "${initdir}/etc/cmdline.d/90lvm.conf" +- echo >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ if [[ $hostonly ]]; then ++ get_host_lvs | while read line; do ++ printf "%s" " rd.lvm.lv=$line" ++ if ! [[ $_needthin ]]; then ++ [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 ++ fi ++ done >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ echo >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ else ++ _needthin=1 ++ fi + + inst_rules "$moddir/64-lvm.rules" + +-- +1.8.4.3 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0011-lvm-fix-thin-recognition.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0011-lvm-fix-thin-recognition.patch new file mode 100644 index 0000000000..b2dfc77781 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0011-lvm-fix-thin-recognition.patch @@ -0,0 +1,40 @@ +From a70dff7f103b27d5b7016e13a64c7710c61dc96e Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Wed, 16 Oct 2013 11:30:08 +0200 +Subject: [PATCH 11/12] lvm: fix thin recognition + +The global var setting was happening in a pipe and did not have an +effect. + +Use <<<$() instead. + +< <() cannot be used, because dracut is called in chroot's environments, +where /dev/fd does not point to /proc/self/fd, but bash wants +/dev/fd/ for this construct. +--- + modules.d/90lvm/module-setup.sh | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh +index f8b598d..cbdf4a2 100755 +--- a/modules.d/90lvm/module-setup.sh ++++ b/modules.d/90lvm/module-setup.sh +@@ -57,12 +57,13 @@ install() { + inst lvm + + if [[ $hostonly ]]; then +- get_host_lvs | while read line; do ++ while read line; do ++ [[ -n "$line" ]] || continue + printf "%s" " rd.lvm.lv=$line" + if ! [[ $_needthin ]]; then + [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 + fi +- done >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ done <<<$(get_host_lvs) >> "${initdir}/etc/cmdline.d/90lvm.conf" + echo >> "${initdir}/etc/cmdline.d/90lvm.conf" + else + _needthin=1 +-- +1.8.4.3 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0012-lvm-always-install-thin-utils-for-lvm.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0012-lvm-always-install-thin-utils-for-lvm.patch new file mode 100644 index 0000000000..074566b69a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0012-lvm-always-install-thin-utils-for-lvm.patch @@ -0,0 +1,79 @@ +From 615071016ecfa223b2744fc17e137de780167115 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Mon, 21 Oct 2013 09:09:26 +0200 +Subject: [PATCH 12/12] lvm: always install thin utils for lvm + +--- + modules.d/90lvm/module-setup.sh | 33 +++++++-------------------------- + 1 file changed, 7 insertions(+), 26 deletions(-) + +diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh +index cbdf4a2..87374da 100755 +--- a/modules.d/90lvm/module-setup.sh ++++ b/modules.d/90lvm/module-setup.sh +@@ -24,7 +24,8 @@ depends() { + return 0 + } + +-get_host_lvs() { ++# called by dracut ++cmdline() { + local _activated + declare -A _activated + +@@ -37,37 +38,20 @@ get_host_lvs() { + eval $(dmsetup splitname --nameprefixes --noheadings --rows "$dev" 2>/dev/null) + [[ ${DM_VG_NAME} ]] && [[ ${DM_LV_NAME} ]] || return 1 + if ! [[ ${_activated[${DM_VG_NAME}/${DM_LV_NAME}]} ]]; then +- printf "%s\n" "${DM_VG_NAME}/${DM_LV_NAME} " ++ printf " rd.lvm.lv=%s\n" "${DM_VG_NAME}/${DM_LV_NAME} " + _activated["${DM_VG_NAME}/${DM_LV_NAME}"]=1 + fi + done + } + + # called by dracut +-cmdline() { +- get_host_lvs | while read line; do +- printf " rd.lvm.lv=$line" +- done +-} +- +-# called by dracut + install() { +- local _i _needthin ++ local _i + + inst lvm + +- if [[ $hostonly ]]; then +- while read line; do +- [[ -n "$line" ]] || continue +- printf "%s" " rd.lvm.lv=$line" +- if ! [[ $_needthin ]]; then +- [[ "$(lvs --noheadings -o segtype ${line%%/*} 2>/dev/null)" == *thin* ]] && _needthin=1 +- fi +- done <<<$(get_host_lvs) >> "${initdir}/etc/cmdline.d/90lvm.conf" +- echo >> "${initdir}/etc/cmdline.d/90lvm.conf" +- else +- _needthin=1 +- fi ++ cmdline >> "${initdir}/etc/cmdline.d/90lvm.conf" ++ echo >> "${initdir}/etc/cmdline.d/90lvm.conf" + + inst_rules "$moddir/64-lvm.rules" + +@@ -103,9 +87,6 @@ install() { + + inst_libdir_file "libdevmapper-event-lvm*.so" + +- if [[ $_needthin ]]; then +- inst_multiple -o thin_dump thin_restore thin_check thin_repair +- fi +- ++ inst_multiple -o thin_dump thin_restore thin_check thin_repair + } + +-- +1.8.4.3 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0013-usrmount-always-install.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0013-usrmount-always-install.patch new file mode 100644 index 0000000000..55fd87c1b0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0013-usrmount-always-install.patch @@ -0,0 +1,31 @@ +From ffbe30d1e1e9fb09136bfc2d29a3cc65292b5690 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy +Date: Thu, 21 Nov 2013 20:33:38 +0400 +Subject: [PATCH 13/13] usrmount: always install + +/usr should be mounted by initramfs even if /sbin/init lives in / + +Conflicts: + modules.d/98usrmount/module-setup.sh +--- + modules.d/98usrmount/module-setup.sh | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/modules.d/98usrmount/module-setup.sh b/modules.d/98usrmount/module-setup.sh +index 1af789f..31a6229 100755 +--- a/modules.d/98usrmount/module-setup.sh ++++ b/modules.d/98usrmount/module-setup.sh +@@ -4,10 +4,7 @@ + + # called by dracut + check() { +- local _init + [[ $mount_needs ]] && return 1 +- _init=$(readlink -f /sbin/init) +- [[ "$init" == "${init##/usr}" ]] && return 255 + return 0 + } + +-- +1.8.4.4 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0014-udev-rules-add-eudev-rules.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0014-udev-rules-add-eudev-rules.patch new file mode 100644 index 0000000000..0b3fc39d2f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/034-0014-udev-rules-add-eudev-rules.patch @@ -0,0 +1,29 @@ +From 29f735ac0e54421d1518b8d0f730523ebb7e6d5a Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy +Date: Wed, 25 Dec 2013 14:00:26 +0400 +Subject: [PATCH] udev-rules: add eudev rules + +eudev configured with "--enable-modules --disable-libkmod" installs +80-drivers-modprobe.rules instead of 80-drivers.rules + +https://bugs.gentoo.org/show_bug.cgi?id=494188 +--- + modules.d/95udev-rules/module-setup.sh | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh +index 88c3da2..ebc4447 100755 +--- a/modules.d/95udev-rules/module-setup.sh ++++ b/modules.d/95udev-rules/module-setup.sh +@@ -39,6 +39,8 @@ install() { + prepare_udev_rules 59-persistent-storage.rules 61-persistent-storage.rules + # debian udev rules + inst_rules 91-permissions.rules ++ # eudev rules ++ inst_rules 80-drivers-modprobe.rules + + { + for i in cdrom tape dialout floppy; do +-- +1.8.3.2 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0001-NEWS-update-for-version-036.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0001-NEWS-update-for-version-036.patch new file mode 100644 index 0000000000..3da1cf0867 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0001-NEWS-update-for-version-036.patch @@ -0,0 +1,24 @@ +From 315bd22374c4cf8a472d9f59b783f4bc2e5aa646 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer +Date: Wed, 29 Jan 2014 08:37:43 +0100 +Subject: [PATCH 1/5] NEWS: update for version 036 + +--- + NEWS | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/NEWS b/NEWS +index 5b88600..ccf279f 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,3 +1,7 @@ ++dracut-036 ++========== ++- fixed skipcpio signature checking ++ + dracut-035 + ========== + - changed dracut tarball compression to xz +-- +1.8.5.5 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0002-dracut-functions.sh-support-for-altern.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0002-dracut-functions.sh-support-for-altern.patch new file mode 100644 index 0000000000..84ce0387eb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0002-dracut-functions.sh-support-for-altern.patch @@ -0,0 +1,41 @@ +From 232637ff5074b45913b0a358434779bd1317648e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Sun, 6 Jan 2013 13:35:01 +0100 +Subject: [PATCH 2/5] dracut-functions.sh: support for alternative udev dirs - + udevaltdirs + +It is required for Gentoo which moves udev from / to /usr and supports +both /lib/udev and /usr/lib/udev for compatibility with other packages. + +Credits go to Alexander Tsoy . + +Conflicts: + dracut-functions.sh +--- + dracut-functions.sh | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 7cfa097..86a69a8 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -873,6 +873,16 @@ inst_rules() { + inst_dir "$_target" + for _rule in "$@"; do + if [ "${_rule#/}" = "$_rule" ]; then ++ for r in ${udevaltdirs}; do ++ [[ "$r" = "${udevdir}" ]] && continue ++ if [[ -e $r/rules.d/$_rule ]]; then ++ _found="$r/rules.d/$_rule" ++ inst_rule_programs "$_found" ++ inst_rule_group_owner "$_found" ++ inst_rule_initqueue "$_found" ++ inst_simple "$_found" "${udevdir}/rules.d/${_found##*/}" ++ fi ++ done + for r in ${udevdir}/rules.d ${hostonly:+/etc/udev/rules.d}; do + if [[ -e $r/$_rule ]]; then + _found="$r/$_rule" +-- +1.8.5.5 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0003-gentoo.conf-let-udevdir-be-handled-by-.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0003-gentoo.conf-let-udevdir-be-handled-by-.patch new file mode 100644 index 0000000000..439e3f3538 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0003-gentoo.conf-let-udevdir-be-handled-by-.patch @@ -0,0 +1,30 @@ +From 95d74e267e6f61b877f4c5c7f126096bc289891c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Sun, 16 Dec 2012 20:02:48 +0100 +Subject: [PATCH 3/5] gentoo.conf: let udevdir= be handled by pkg-config and + use udevaltdirs + +To avoid need of rebuild after udev update/downgrade let udevdir= be set +dynamically with pkg-config. Use udevaltdirs to search for rules both +in old and new locations. +--- + dracut.conf.d/gentoo.conf.example | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/dracut.conf.d/gentoo.conf.example b/dracut.conf.d/gentoo.conf.example +index 26e7314..f9617f0 100644 +--- a/dracut.conf.d/gentoo.conf.example ++++ b/dracut.conf.d/gentoo.conf.example +@@ -1,7 +1,8 @@ + # /etc/dracut.conf.d/gentoo.conf + # dracut config file customized for Gentoo Base System release 2 + +-udevdir=/lib/udev ++udevdir= ++udevaltdirs="/lib/udev /usr/lib/udev" + ro_mnt=yes + + # +-- +1.8.5.5 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch new file mode 100644 index 0000000000..967563b73c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0004-Use-the-same-paths-in-dracut.sh-as-tho.patch @@ -0,0 +1,74 @@ +From de737d15dcb38beefa617387bf9de583f6d212de Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Wed, 2 Oct 2013 22:37:09 +0200 +Subject: [PATCH 4/5] Use the same paths in dracut.sh as those set with + configure script + +Makefile alters destination main dracut script and sets dracutbasedir to +the value of pkglibdir set in configure. +--- + Makefile | 3 +++ + dracut.sh | 9 ++++----- + 2 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index ceb7096..cab7755 100644 +--- a/Makefile ++++ b/Makefile +@@ -103,6 +103,9 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(pkglibdir)/modules.d + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut ++ sed -r \ ++ -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ ++ -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages + install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(bindir)/mkinitrd + install -m 0755 lsinitrd.sh $(DESTDIR)$(bindir)/lsinitrd +diff --git a/dracut.sh b/dracut.sh +index 9b715ab..9657230 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -26,10 +26,13 @@ + # store for logging + dracut_args=( "$@" ) + ++# base dirs ++pkglibdir=/usr/lib/dracut ++dracutbasedir="$pkglibdir" ++ + set -o pipefail + + usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -54,7 +57,6 @@ EOF + } + + long_usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -639,8 +641,6 @@ export DRACUT_LOG_LEVEL=warning + debug=yes + } + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut +- + # if we were not passed a config file, try the default one + if [[ ! -f $conffile ]]; then + if [[ $allowlocal ]]; then +@@ -759,7 +759,6 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) + [[ $use_fstab_l ]] && use_fstab=$use_fstab_l + [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l + [[ $lvmconf_l ]] && lvmconf=$lvmconf_l +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + [[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware" + [[ $tmpdir_l ]] && tmpdir="$tmpdir_l" + [[ $tmpdir ]] || tmpdir=/var/tmp +-- +1.8.5.5 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0005-Install-dracut-install-into-libexec-di.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0005-Install-dracut-install-into-libexec-di.patch new file mode 100644 index 0000000000..2a39fab802 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0005-Install-dracut-install-into-libexec-di.patch @@ -0,0 +1,81 @@ +From bf3d75a2ebf4ad80313d7ced8478f21d9a96f87b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Wed, 2 Oct 2013 22:40:43 +0200 +Subject: [PATCH 5/5] Install dracut-install into libexec dir instead of lib + dir + +dracut-install script is the only thing ABI specific atm. + +See https://bugs.gentoo.org/show_bug.cgi?id=485218 for details on the +problem. +--- + Makefile | 4 +++- + configure | 1 + + dracut-functions.sh | 4 ++++ + dracut.sh | 1 + + 4 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index cab7755..fd936f2 100644 +--- a/Makefile ++++ b/Makefile +@@ -104,6 +104,7 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut + sed -r \ ++ -e "s|^(libexecdir)=.*|\1=$(libexecdir)|" \ + -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ + -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages +@@ -147,7 +148,8 @@ endif + done \ + fi + if [ -f install/dracut-install ]; then \ +- install -m 0755 install/dracut-install $(DESTDIR)$(pkglibdir)/dracut-install; \ ++ mkdir -p $(DESTDIR)$(libexecdir); \ ++ install -m 0755 install/dracut-install $(DESTDIR)$(libexecdir)/dracut-install; \ + fi + if [ -f skipcpio/skipcpio ]; then \ + install -m 0755 skipcpio/skipcpio $(DESTDIR)$(pkglibdir)/skipcpio; \ +diff --git a/configure b/configure +index 19b5e1f..d2ffc2c 100755 +--- a/configure ++++ b/configure +@@ -61,6 +61,7 @@ sbindir ?= ${sbindir:-${prefix}/sbin} + mandir ?= ${mandir:-${prefix}/share/man} + enable_documentation ?= ${enable_documentation:-yes} + bindir ?= ${bindir:-${prefix}/bin} ++libexecdir ?= ${libexecdir:-${prefix}/libexec} + EOF + + { +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 86a69a8..e8ec335 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -695,6 +695,10 @@ if ! [[ $DRACUT_INSTALL ]]; then + DRACUT_INSTALL=$(find_binary dracut-install) + fi + ++if ! [[ $DRACUT_INSTALL ]] && [[ -x $libexecdir/dracut-install ]]; then ++ DRACUT_INSTALL=$libexecdir/dracut-install ++fi ++ + if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then + DRACUT_INSTALL=$dracutbasedir/dracut-install + fi +diff --git a/dracut.sh b/dracut.sh +index 9657230..08335d0 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -27,6 +27,7 @@ + dracut_args=( "$@" ) + + # base dirs ++libexecdir=/usr/libexec + pkglibdir=/usr/lib/dracut + dracutbasedir="$pkglibdir" + +-- +1.8.5.5 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0006-dracut.sh-Fix-variable-name-typo.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0006-dracut.sh-Fix-variable-name-typo.patch new file mode 100644 index 0000000000..c0b6301ddf --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0006-dracut.sh-Fix-variable-name-typo.patch @@ -0,0 +1,33 @@ +From 9e01e3d9c8f89b1ef98053a64bde9beed9714029 Mon Sep 17 00:00:00 2001 +From: Colin Guthrie +Date: Wed, 5 Feb 2014 10:06:51 +0000 +Subject: [PATCH 6/6] dracut.sh: Fix variable name typo. + +This caused the root_dev variable not to be set which in turn meant that +the root device was not whitelisted in 99base/module-setup.sh when injecting +compile-time devexists hooks in hostonly initrds. This ties the generated +initrd to the root fs device (typically the UUID) rather than relying solely +only the root= kernel command line. + +While it is hostonly, not hardcoding e.g. UUIDs is still desirable. Any +swap partition on the host device is still added however. +--- + dracut.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut.sh b/dracut.sh +index 08335d0..d693d58 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -1005,7 +1005,7 @@ if [[ $hostonly ]]; then + _bdev=$(readlink -f "/dev/block/$_dev") + [[ -b $_bdev ]] && _dev=$_bdev + push host_devs $_dev +- [[ "$_mp" == "/" ]] && root_dev="$_dev" ++ [[ "$mp" == "/" ]] && root_dev="$_dev" + push host_devs "$_dev" + done + +-- +1.8.5.5 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0007-Added-missing-quotes.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0007-Added-missing-quotes.patch new file mode 100644 index 0000000000..29aedefa68 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0007-Added-missing-quotes.patch @@ -0,0 +1,26 @@ +From 13294581f82c2e51754ba3dacd7ec304350244c0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Sun, 23 Feb 2014 17:43:57 +0100 +Subject: [PATCH 7/7] Added missing quotes + +See bug report at https://bugs.gentoo.org/show_bug.cgi?id=502064 +--- + dracut.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dracut.sh b/dracut.sh +index d693d58..5508050 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -554,7 +554,7 @@ done + # the old fashioned way + + while (($# > 0)); do +- if [ ${1%%=*} == "++include" ]; then ++ if [ "${1%%=*}" == "++include" ]; then + push include_src "$2" + push include_target "$3" + PARMS_TO_STORE+=" --include '$2' '$3'" +-- +1.9.0 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch new file mode 100644 index 0000000000..06ad1095a3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/036-0008-Add-legacy-flag-l-to-lz4-and-update-ma.patch @@ -0,0 +1,42 @@ +From 791ecb805237a28a038bb317b9894113654f080e Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy +Date: Wed, 26 Feb 2014 15:50:17 +0400 +Subject: [PATCH 8/8] Add legacy flag (-l) to lz4 and update magic number + +Linux kernel does not support the new default lz4 format. + +https://bugs.gentoo.org/show_bug.cgi?id=502102 +--- + dracut.sh | 2 +- + lsinitrd.sh | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/dracut.sh b/dracut.sh +index 5508050..91e05e3 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -782,7 +782,7 @@ case $compress in + xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";; + gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";; + lzo) compress="lzop -9";; +- lz4) compress="lz4 -9";; ++ lz4) compress="lz4 -l -9";; + esac + if [[ $_no_compress_l = "cat" ]]; then + compress="cat" +diff --git a/lsinitrd.sh b/lsinitrd.sh +index 2c58f84..8dc9032 100755 +--- a/lsinitrd.sh ++++ b/lsinitrd.sh +@@ -172,7 +172,7 @@ case $bin in + $'\x71\xc7'*|070701) + CAT="cat --" + ;; +- $'\x04\x22'*) ++ $'\x02\x21'*) + CAT="lz4 -d -c";; + *) + CAT="xzcat --"; +-- +1.9.0 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0001-dracut-functions.sh-support-for-altern.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0001-dracut-functions.sh-support-for-altern.patch new file mode 100644 index 0000000000..73e85a8089 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0001-dracut-functions.sh-support-for-altern.patch @@ -0,0 +1,41 @@ +From 9cdda4d50eddf8a14c57f986c6c4f86bc9619269 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Sun, 6 Jan 2013 13:35:01 +0100 +Subject: [PATCH 1/4] dracut-functions.sh: support for alternative udev dirs - + udevaltdirs + +It is required for Gentoo which moves udev from / to /usr and supports +both /lib/udev and /usr/lib/udev for compatibility with other packages. + +Credits go to Alexander Tsoy . + +Conflicts: + dracut-functions.sh +--- + dracut-functions.sh | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 391b549..6281fa0 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -918,6 +918,16 @@ inst_rules() { + inst_dir "$_target" + for _rule in "$@"; do + if [ "${_rule#/}" = "$_rule" ]; then ++ for r in ${udevaltdirs}; do ++ [[ "$r" = "${udevdir}" ]] && continue ++ if [[ -e $r/rules.d/$_rule ]]; then ++ _found="$r/rules.d/$_rule" ++ inst_rule_programs "$_found" ++ inst_rule_group_owner "$_found" ++ inst_rule_initqueue "$_found" ++ inst_simple "$_found" "${udevdir}/rules.d/${_found##*/}" ++ fi ++ done + for r in ${udevdir}/rules.d ${hostonly:+/etc/udev/rules.d}; do + if [[ -e $r/$_rule ]]; then + _found="$r/$_rule" +-- +1.9.0 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0002-gentoo.conf-let-udevdir-be-handled-by-.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0002-gentoo.conf-let-udevdir-be-handled-by-.patch new file mode 100644 index 0000000000..b6be275a83 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0002-gentoo.conf-let-udevdir-be-handled-by-.patch @@ -0,0 +1,30 @@ +From 48b6551c95897a89be2510b268b8d89bfd6dc851 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Sun, 16 Dec 2012 20:02:48 +0100 +Subject: [PATCH 2/4] gentoo.conf: let udevdir= be handled by pkg-config and + use udevaltdirs + +To avoid need of rebuild after udev update/downgrade let udevdir= be set +dynamically with pkg-config. Use udevaltdirs to search for rules both +in old and new locations. +--- + dracut.conf.d/gentoo.conf.example | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/dracut.conf.d/gentoo.conf.example b/dracut.conf.d/gentoo.conf.example +index 26e7314..f9617f0 100644 +--- a/dracut.conf.d/gentoo.conf.example ++++ b/dracut.conf.d/gentoo.conf.example +@@ -1,7 +1,8 @@ + # /etc/dracut.conf.d/gentoo.conf + # dracut config file customized for Gentoo Base System release 2 + +-udevdir=/lib/udev ++udevdir= ++udevaltdirs="/lib/udev /usr/lib/udev" + ro_mnt=yes + + # +-- +1.9.0 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch new file mode 100644 index 0000000000..2a877981f4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0003-Use-the-same-paths-in-dracut.sh-as-tho.patch @@ -0,0 +1,74 @@ +From e40f005daf74f6b6b62ea2e7fc352f097caf5f13 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Wed, 2 Oct 2013 22:37:09 +0200 +Subject: [PATCH 3/4] Use the same paths in dracut.sh as those set with + configure script + +Makefile alters destination main dracut script and sets dracutbasedir to +the value of pkglibdir set in configure. +--- + Makefile | 3 +++ + dracut.sh | 9 ++++----- + 2 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Makefile b/Makefile +index ceb7096..cab7755 100644 +--- a/Makefile ++++ b/Makefile +@@ -103,6 +103,9 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(pkglibdir)/modules.d + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut ++ sed -r \ ++ -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ ++ -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages + install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(bindir)/mkinitrd + install -m 0755 lsinitrd.sh $(DESTDIR)$(bindir)/lsinitrd +diff --git a/dracut.sh b/dracut.sh +index c1ef474..b1141de 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -26,10 +26,13 @@ + # store for logging + dracut_args=( "$@" ) + ++# base dirs ++pkglibdir=/usr/lib/dracut ++dracutbasedir="$pkglibdir" ++ + set -o pipefail + + usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -54,7 +57,6 @@ EOF + } + + long_usage() { +- [[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + if [[ -f $dracutbasedir/dracut-version.sh ]]; then + . $dracutbasedir/dracut-version.sh + fi +@@ -652,8 +654,6 @@ export DRACUT_LOG_LEVEL=warning + debug=yes + } + +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut +- + # if we were not passed a config file, try the default one + if [[ ! -f $conffile ]]; then + if [[ $allowlocal ]]; then +@@ -773,7 +773,6 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) + [[ $use_fstab_l ]] && use_fstab=$use_fstab_l + [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l + [[ $lvmconf_l ]] && lvmconf=$lvmconf_l +-[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut + [[ $fw_dir ]] || fw_dir="/lib/firmware/updates /lib/firmware" + [[ $tmpdir_l ]] && tmpdir="$tmpdir_l" + [[ $tmpdir ]] || tmpdir=/var/tmp +-- +1.9.0 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0004-Install-dracut-install-into-libexec-di.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0004-Install-dracut-install-into-libexec-di.patch new file mode 100644 index 0000000000..5789e9c094 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0004-Install-dracut-install-into-libexec-di.patch @@ -0,0 +1,81 @@ +From c379589cc5cdd0c4e9e559b9edde44410416d2fb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= +Date: Wed, 2 Oct 2013 22:40:43 +0200 +Subject: [PATCH 4/4] Install dracut-install into libexec dir instead of lib + dir + +dracut-install script is the only thing ABI specific atm. + +See https://bugs.gentoo.org/show_bug.cgi?id=485218 for details on the +problem. +--- + Makefile | 4 +++- + configure | 1 + + dracut-functions.sh | 4 ++++ + dracut.sh | 1 + + 4 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index cab7755..fd936f2 100644 +--- a/Makefile ++++ b/Makefile +@@ -104,6 +104,7 @@ install: dracut-version.sh + mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man7 $(DESTDIR)$(mandir)/man8 + install -m 0755 dracut.sh $(DESTDIR)$(bindir)/dracut + sed -r \ ++ -e "s|^(libexecdir)=.*|\1=$(libexecdir)|" \ + -e "s|^(pkglibdir)=.*|\1=$(pkglibdir)|" \ + -i $(DESTDIR)$(bindir)/dracut + install -m 0755 dracut-catimages.sh $(DESTDIR)$(bindir)/dracut-catimages +@@ -147,7 +148,8 @@ endif + done \ + fi + if [ -f install/dracut-install ]; then \ +- install -m 0755 install/dracut-install $(DESTDIR)$(pkglibdir)/dracut-install; \ ++ mkdir -p $(DESTDIR)$(libexecdir); \ ++ install -m 0755 install/dracut-install $(DESTDIR)$(libexecdir)/dracut-install; \ + fi + if [ -f skipcpio/skipcpio ]; then \ + install -m 0755 skipcpio/skipcpio $(DESTDIR)$(pkglibdir)/skipcpio; \ +diff --git a/configure b/configure +index 19b5e1f..d2ffc2c 100755 +--- a/configure ++++ b/configure +@@ -61,6 +61,7 @@ sbindir ?= ${sbindir:-${prefix}/sbin} + mandir ?= ${mandir:-${prefix}/share/man} + enable_documentation ?= ${enable_documentation:-yes} + bindir ?= ${bindir:-${prefix}/bin} ++libexecdir ?= ${libexecdir:-${prefix}/libexec} + EOF + + { +diff --git a/dracut-functions.sh b/dracut-functions.sh +index 6281fa0..e2b1a7a 100755 +--- a/dracut-functions.sh ++++ b/dracut-functions.sh +@@ -740,6 +740,10 @@ if ! [[ $DRACUT_INSTALL ]]; then + DRACUT_INSTALL=$(find_binary dracut-install) + fi + ++if ! [[ $DRACUT_INSTALL ]] && [[ -x $libexecdir/dracut-install ]]; then ++ DRACUT_INSTALL=$libexecdir/dracut-install ++fi ++ + if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then + DRACUT_INSTALL=$dracutbasedir/dracut-install + fi +diff --git a/dracut.sh b/dracut.sh +index b1141de..6cf80b4 100755 +--- a/dracut.sh ++++ b/dracut.sh +@@ -27,6 +27,7 @@ + dracut_args=( "$@" ) + + # base dirs ++libexecdir=/usr/libexec + pkglibdir=/usr/lib/dracut + dracutbasedir="$pkglibdir" + +-- +1.9.0 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0005-modsign-do-not-hardcode-path-to-keyctl.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0005-modsign-do-not-hardcode-path-to-keyctl.patch new file mode 100644 index 0000000000..78ce946839 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/037-0005-modsign-do-not-hardcode-path-to-keyctl.patch @@ -0,0 +1,26 @@ +From 99f913857dd38facd8f2af16a8b591fa6d7f2d45 Mon Sep 17 00:00:00 2001 +From: Alexander Tsoy +Date: Mon, 31 Mar 2014 17:56:13 +0400 +Subject: [PATCH 5/5] modsign: do not hardcode path to keyctl + +https://bugs.gentoo.org/show_bug.cgi?id=506094 +--- + modules.d/03modsign/module-setup.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/03modsign/module-setup.sh b/modules.d/03modsign/module-setup.sh +index 09285d3..cc0e241 100755 +--- a/modules.d/03modsign/module-setup.sh ++++ b/modules.d/03modsign/module-setup.sh +@@ -29,7 +29,7 @@ depends() { + # called by dracut + install() { + inst_dir /lib/modules/keys +- inst_binary /usr/bin/keyctl ++ inst_binary keyctl + + inst_hook pre-trigger 01 "$moddir/load-modsign-keys.sh" + +-- +1.9.3 + diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/metadata.xml new file mode 100644 index 0000000000..c117f3f30d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/metadata.xml @@ -0,0 +1,27 @@ + + + + + aidecoe@gentoo.org + Amadeusz Żołnowski + + + alexander@tsoy.me + Alexander Tsoy + + proxy-maintainers + + Module installing additional tools like strace, file + editor, ssh and more + Set of helper modules providing support for + device mapper. You need to enable this only if emerge says + so. + Set of helper modules providing networking support. You + need to enable this only if emerge says so. + + + Generic, modular initramfs generation tool that can be used across various + distributions. + + +