From 8446edec574484d2c44d4042cec877dad5bf9529 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 3 Jul 2012 09:28:51 +0200 Subject: [PATCH] dracut: add a patch to really fix --hostonly. --- .../dracut/patches/dracut-disable-lazy-resolv.patch | 13 +++++++++++++ srcpkgs/dracut/template | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/dracut/patches/dracut-disable-lazy-resolv.patch diff --git a/srcpkgs/dracut/patches/dracut-disable-lazy-resolv.patch b/srcpkgs/dracut/patches/dracut-disable-lazy-resolv.patch new file mode 100644 index 00000000000..4f862c93e9c --- /dev/null +++ b/srcpkgs/dracut/patches/dracut-disable-lazy-resolv.patch @@ -0,0 +1,13 @@ +Disable lazy resolve until it's fixed. + +--- dracut.sh.orig 2012-07-03 09:17:28.247527741 +0200 ++++ dracut.sh 2012-07-03 09:17:35.503350163 +0200 +@@ -481,7 +481,7 @@ readonly initdir=$(mktemp --tmpdir="$TMP + } + + export DRACUT_KERNEL_LAZY="1" +-export DRACUT_RESOLVE_LAZY="1" ++#export DRACUT_RESOLVE_LAZY="1" + + if [[ -f $dracutbasedir/dracut-functions.sh ]]; then + . $dracutbasedir/dracut-functions.sh diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index 1d7fddb9506..1928986ce90 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -1,7 +1,7 @@ # Template file for 'dracut' pkgname=dracut version=020 -revision=3 +revision=4 build_style=gnu-makefile make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system" make_install_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"