From 8fab72fa21fa4150f4692ccdd8b42f596a82f211 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Fri, 14 Nov 2008 14:59:13 -0600 Subject: [PATCH] Only append unionfs_fuse stuff if UNIONFS is set --- ChangeLog | 3 +++ gen_initramfs.sh | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 28cf05c..ac7072d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Distributed under the GPL v2 + 14 Nov 2008; Andrew Gaffney gen_initramfs.sh: + Only append unionfs_fuse stuff if UNIONFS is set + 14 Nov 2008; Andrew Gaffney defaults/linuxrc, gen_cmdline.sh, gen_determineargs.sh, genkernel: Add --unionfs commandline option to enable building of unionfs-fuse Add diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 5cc03b5..8558ff9 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -505,12 +505,9 @@ create_initramfs() { append_data 'blkid' "${DISKLABEL}" - append_data 'unionfs_fuse' + append_data 'unionfs_fuse' "${UNIONFS}" - if isTrue "${SPLASH}" - then - append_data 'splash' "${SPLASH}" - fi + append_data 'splash' "${SPLASH}" if isTrue "${FIRMWARE}" && [ -n "${FIRMWARE_DIR}" ] then -- 2.26.2