From: Andrew Gaffney Date: Fri, 14 Nov 2008 20:59:13 +0000 (-0600) Subject: Only append unionfs_fuse stuff if UNIONFS is set X-Git-Tag: v3.4.10.902~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8fab72fa21fa4150f4692ccdd8b42f596a82f211;p=genkernel.git Only append unionfs_fuse stuff if UNIONFS is set --- 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