aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-framework
diff options
context:
space:
mode:
authorMichaël Burtin <michael.burtin@innotis.org>2013-10-22 11:45:17 +0200
committerRobert Yang <liezhi.yang@windriver.com>2013-12-10 21:12:20 -0500
commit00ff958fec53e55cc475c1b31fb9813d97872ceb (patch)
tree78a7c3f2d09982d3b22e136e3e4a9f67d22e10a7 /meta/recipes-core/initrdscripts/initramfs-framework
parent8d661f578276c70e1671edfc810aa4dad97de970 (diff)
downloadopenembedded-core-00ff958fec53e55cc475c1b31fb9813d97872ceb.tar.gz
initramfs-framework: fix test that filter backup module files
Test that filter backup module files (files starting with ~) was accidentally reversed in e6039e6e3b98d6ab91252a5012d76279b1fac6e8, this patch restore initial behavior. (From OE-Core master rev: b2eb846ee12989add7a7ca8bbf45f293a3a7e56d) Signed-off-by: Michaël Burtin <michael.burtin@innotis.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-framework')
-rwxr-xr-xmeta/recipes-core/initrdscripts/initramfs-framework/init2
1 files changed, 1 insertions, 1 deletions
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