From b2eb846ee12989add7a7ca8bbf45f293a3a7e56d Mon Sep 17 00:00:00 2001 From: Michaël Burtin Date: Tue, 22 Oct 2013 11:45:17 +0200 Subject: initramfs-framework: fix test that filter backup module files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test that filter backup module files (files starting with ~) was accidentally reversed in e6039e6e3b98d6ab91252a5012d76279b1fac6e8, this patch restore initial behavior. Signed-off-by: Michaël Burtin Signed-off-by: Richard Purdie --- meta/recipes-core/initrdscripts/initramfs-framework/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init index 20774aa5e9..95fa9fb1a0 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/init +++ b/meta/recipes-core/initrdscripts/initramfs-framework/init @@ -103,7 +103,7 @@ mkdir $ROOTFS_DIR # Load and run modules for m in $MODULES_DIR/*; do # Skip backup files - if [ "`echo $m | sed -e 's/\~$//'`" = "$m" ]; then + if [ "`echo $m | sed -e 's/\~$//'`" != "$m" ]; then continue fi -- cgit 1.2.3-korg