[OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bastian Bittorf
[platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa till now only jffs2 was possible and sysupgrade refuses to change fs-type, because of bad/invalid content in sysupgrade-file. manually overriding works, so i made this patch. upgrade tested

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Philipp Borgers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think we should also update the Makefile for the images. As far as I know the Makefile only creates an image for one of the rootfs types. I can provide a patch if you don't have the time to do so. Best Regards Philipp On 30.10.2013 08:24, Bastian

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bruno Randolf
On 10/30/2013 07:24 AM, Bastian Bittorf wrote: [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa till now only jffs2 was possible and sysupgrade refuses to change fs-type, because of bad/invalid content in sysupgrade-file. manually

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bastian Bittorf
* Philipp Borgers borg...@mi.fu-berlin.de [30.10.2013 10:12]: I think we should also update the Makefile for the images. As far as I know the Makefile only creates an image for one of the rootfs types. I can provide a patch if you don't have the time to do so. please do so, i'am lost while

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Philipp Borgers
On 30.10.2013 09:28, Bruno Randolf wrote: On 10/30/2013 07:24 AM, Bastian Bittorf wrote: [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa till now only jffs2 was possible and sysupgrade refuses to change fs-type, because of bad/invalid

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bastian Bittorf
* Philipp Borgers borg...@mi.fu-berlin.de [30.10.2013 14:57]: We can use the tar option --transform to rename the file system name inside the tar. I have a patch ready. I can test on the device tomorrow. this sounds like a GNU-extension and maybe breaks portability. bye, bastian