diff options
Diffstat (limited to 'meta/classes/nslu2-ramdisk-image.bbclass')
-rw-r--r-- | meta/classes/nslu2-ramdisk-image.bbclass | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/classes/nslu2-ramdisk-image.bbclass b/meta/classes/nslu2-ramdisk-image.bbclass deleted file mode 100644 index 0b545854fd..0000000000 --- a/meta/classes/nslu2-ramdisk-image.bbclass +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | NSLU2_SLUGIMAGE_ARGS ?= "" | ||
2 | |||
3 | nslu2_pack_image () { | ||
4 | install -d ${DEPLOY_DIR_IMAGE}/slug | ||
5 | install -m 0644 ${STAGING_LIBDIR}/nslu2-binaries/RedBoot \ | ||
6 | ${STAGING_LIBDIR}/nslu2-binaries/Trailer \ | ||
7 | ${STAGING_LIBDIR}/nslu2-binaries/SysConf \ | ||
8 | ${DEPLOY_DIR_IMAGE}/slug/ | ||
9 | install -m 0644 ${DEPLOY_DIR_IMAGE}/zImage-${IMAGE_BASENAME} ${DEPLOY_DIR_IMAGE}/slug/vmlinuz | ||
10 | install -m 0644 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/slug/ramdisk.ext2.gz | ||
11 | cd ${DEPLOY_DIR_IMAGE}/slug | ||
12 | slugimage -p -b RedBoot -s SysConf -r Ramdisk:ramdisk.ext2.gz -t Trailer \ | ||
13 | -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ramdisk.img ${NSLU2_SLUGIMAGE_ARGS} | ||
14 | rm -rf ${DEPLOY_DIR_IMAGE}/slug | ||
15 | } | ||
16 | |||
17 | EXTRA_IMAGEDEPENDS += 'slugimage-native nslu2-linksys-firmware' | ||
18 | IMAGE_POSTPROCESS_COMMAND += "nslu2_pack_image; " | ||