dracut: update to 020.
This commit is contained in:
parent
0fabc5e212
commit
d0aa731ad4
3 changed files with 4 additions and 51 deletions
1
srcpkgs/dracut/dracut.rshlibs
Normal file
1
srcpkgs/dracut/dracut.rshlibs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
libc.so.6
|
|
@ -1,47 +0,0 @@
|
||||||
From 2cf4f4fb747803ff31d53507bc047232c4ef99ea Mon Sep 17 00:00:00 2001
|
|
||||||
From: Juan RP <xtraeme@gmail.com>
|
|
||||||
Date: Wed, 6 Jun 2012 14:19:59 +0200
|
|
||||||
Subject: [PATCH 01/18] Avoid annonying warnings when pkg-config is not
|
|
||||||
installed.
|
|
||||||
|
|
||||||
---
|
|
||||||
dracut-functions.sh | 2 +-
|
|
||||||
modules.d/95udev-rules/module-setup.sh | 4 ++--
|
|
||||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
||||||
index f788878..4180f03 100755
|
|
||||||
--- dracut-functions.sh
|
|
||||||
+++ dracut-functions.sh
|
|
||||||
@@ -531,7 +531,7 @@ inst_symlink() {
|
|
||||||
ln -sfn $(convert_abs_rel "${_target}" "${_realsrc}") "$initdir/$_target"
|
|
||||||
}
|
|
||||||
|
|
||||||
-udevdir=$(pkg-config udev --variable=udevdir)
|
|
||||||
+udevdir=$(pkg-config udev --variable=udevdir 2>/dev/null)
|
|
||||||
if ! [[ -d "$udevdir" ]]; then
|
|
||||||
[[ -d /lib/udev ]] && udevdir=/lib/udev
|
|
||||||
[[ -d /usr/lib/udev ]] && udevdir=/usr/lib/udev
|
|
||||||
diff --git a/modules.d/95udev-rules/module-setup.sh b/modules.d/95udev-rules/module-setup.sh
|
|
||||||
index e8c1c04..ff47021 100755
|
|
||||||
--- modules.d/95udev-rules/module-setup.sh
|
|
||||||
+++ modules.d/95udev-rules/module-setup.sh
|
|
||||||
@@ -5,13 +5,13 @@
|
|
||||||
install() {
|
|
||||||
local _i
|
|
||||||
|
|
||||||
- systemdutildir=$(pkg-config systemd --variable=systemdutildir)
|
|
||||||
+ systemdutildir=$(pkg-config systemd --variable=systemdutildir 2>/dev/null)
|
|
||||||
if ! [[ -d "$systemdutildir" ]]; then
|
|
||||||
[[ -d /lib/systemd ]] && systemdutildir=/lib/systemd
|
|
||||||
[[ -d /usr/lib/systemd ]] && systemdutildir=/usr/lib/systemd
|
|
||||||
fi
|
|
||||||
|
|
||||||
- udevdir=$(pkg-config udev --variable=udevdir)
|
|
||||||
+ udevdir=$(pkg-config udev --variable=udevdir 2>/dev/null)
|
|
||||||
if ! [[ -d "$udevdir" ]]; then
|
|
||||||
[[ -d /lib/udev ]] && udevdir=/lib/udev
|
|
||||||
[[ -d /usr/lib/udev ]] && udevdir=/usr/lib/udev
|
|
||||||
--
|
|
||||||
1.7.10.4
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'dracut'
|
# Template file for 'dracut'
|
||||||
pkgname=dracut
|
pkgname=dracut
|
||||||
version=019
|
version=020
|
||||||
revision=2
|
revision=1
|
||||||
noarch=yes
|
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"
|
make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"
|
||||||
make_install_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"
|
make_install_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"
|
||||||
|
@ -16,7 +15,7 @@ short_desc="A new initramfs infrastructure"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
|
||||||
checksum=5e151519c9cd7aaf81bf7749a3ed6b23724b8591b1cf034add3454697a286fe1
|
checksum=b1a4573031bbbefb827880a6a9815aadecc22412a233200ed93e322047db1edc
|
||||||
long_desc="
|
long_desc="
|
||||||
Unlike existing initramfs, this is an attempt at having as little as possible
|
Unlike existing initramfs, this is an attempt at having as little as possible
|
||||||
hard-coded into the initramfs as possible. The initramfs has (basically) one
|
hard-coded into the initramfs as possible. The initramfs has (basically) one
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue