summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMichaël Burtin <michael.burtin@innotis.org>2013-10-22 11:45:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-23 07:14:01 +0100
commitb2eb846ee12989add7a7ca8bbf45f293a3a7e56d (patch)
tree436a572009c677f9a6bddbb7f90099d710b5d970 /meta
parent4bf11cd7d7301da664c098c8a0ae9c0294a6f423 (diff)
downloadopenembedded-core-b2eb846ee12989add7a7ca8bbf45f293a3a7e56d.tar.gz
openembedded-core-b2eb846ee12989add7a7ca8bbf45f293a3a7e56d.tar.bz2
openembedded-core-b2eb846ee12989add7a7ca8bbf45f293a3a7e56d.zip
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. Signed-off-by: Michaël Burtin <michael.burtin@innotis.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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