in the squazma script file in squazma-tools you would probably need to change OR add this code to detect the squashfs location specific for a dreambox image instead of a dbox image.
Code:
if [ "`dd if=$SRCF bs=1 skip=1179648 count=4`" = "sqsh" ]; then
echo "$SRCF : found SQUASHFS partition"
DSTF=$SRCF.squazma
echo "$DSTF : stripping flfs(0<0x120000) partition"
dd if=$SRCF of=$DSTF bs=512 skip=2304
./unsquazma $DSTF
rm -f $DSTF
fi
[EDIT]
done a quick test with the above script mod using the dw3.0 image and it finds the squashfs partition in the dreambox image ok but will not extract the image contents for editing as it gives a filesystem version miss match.
Code:
dev@ukcvs:~/tuxbox/dream/squazma-tools$ ./squazma dm500.img
+-----------------------------------------------------------------------+
| SQUAZMA-TOOLS by LraiZer - (tuxbox squashfs-lzma image modding tools) |
+-----------------------------------------------------------------------+
| SYNTAX: ./squazma [ -c | squashfs-lzma image file ] |
| |
| ./squazma -c |
| creates squashfs-lzma root partition image from squashfs-root folder. |
| |
| ./squazma root-mtd1.img |
| extracts the squashfs-lmza root partition from a root partition file. |
| |
| ./squazma neutrino-squashfs-img2x |
| extracts the squashfs-lzma root partition from a complete image file. |
| auto stripping of flfs(0<0x20000) partition from squashfs-lzma image, |
| before extracting squashfs-lzma root partition from standard images. |
+-----------------------------------------------------------------------+
4+0 records in
4+0 records out
4 bytes (4 B) copied, 0.000161307 s, 24.8 kB/s
4+0 records in
4+0 records out
4 bytes (4 B) copied, 0.000207855 s, 19.2 kB/s
4+0 records in
4+0 records out
4 bytes (4 B) copied, 9.7648e-05 s, 41.0 kB/s
dm500.img : found SQUASHFS partition
dm500.img.squazma : stripping flfs(0<0x120000) partition
13568+0 records in
13568+0 records out
6946816 bytes (6.9 MB) copied, 0.24253 s, 28.6 MB/s
Reading endian SQUASHFS filesystem on dm500.img.squazma
Major/Minor mismatch, filesystem on dm500.img.squazma is (2:1)
I only support Squashfs 3.0 filesystems! Later releases will support older Squashfs filesystems
dev@ukcvs:~/tuxbox/dream/squazma-tools$