On Thu, Sep 13, 2012 at 8:01 AM, Peter Barada
<address@hidden> wrote:
On 09/13/2012 10:48 AM, CB wrote:
> Hello!
>
> Today I ran into an odd problem.
> To avoid flashing my whole rootfs all over again on every try of my tool, I
> wanted to install the generated RPM on the target. I fixed the paths with --root
> and --prefix. Also the tmp-dir was set to point to the rootfs (ext2 partition on
> a SD card). But 'rpm' fails during unpacking with "no space left on device"
> despite 'df' shows 40MB of free space (rootfs is 100MB total).
> The rootfs image on the host machine is generated correctly containing my tool.
> So the RPM file seems to be correct.
> Any suggestions on how to track down the problem?
You could try to strace the rpm command on the target to see where it
opens files for writing. It may be that RPM needs some temp files - do
you have a small ramfs mounted on /tmp?
--
Peter Barada
address@hidden