slugos-image: Fixed missing change to SLUGOS_FLASH_IMAGE
authorRod Whitby <rod@whitby.id.au>
Tue, 26 Dec 2006 04:13:25 +0000 (04:13 +0000)
committerRod Whitby <rod@whitby.id.au>
Tue, 26 Dec 2006 04:13:25 +0000 (04:13 +0000)
packages/images/slugos-image.bb

index df8a4d6..0e03400 100644 (file)
@@ -112,7 +112,7 @@ python () {
 # it is a bad idea to produce flash images without a valid RedBoot - that allows
 # an innocent user upgrade attempt to instantly brick the NSLU2.
 PACK_IMAGE += "${@['', 'slugos_pack_image;'][bb.data.getVar('SLUGOS_FLASH_IMAGE', d, 1) == '1']}"
-PACK_IMAGE_DEPENDS += "${@['', 'slugimage-native nslu2-linksys-firmware apex ixp4xx-npe'][bb.data.getVar('SLUGOS_FLASH_IMAGE', d, 1) == 'nslu2']}"
+PACK_IMAGE_DEPENDS += "${@['', 'slugimage-native nslu2-linksys-firmware apex ixp4xx-npe'][bb.data.getVar('SLUGOS_FLASH_IMAGE', d, 1) == '1']}"
 
 NSLU2_SLUGIMAGE_ARGS ?= ""