[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg --root=/mnt -i image-1.3.64-0.deb



Erick Branderhorst writes ("dpkg --root=/mnt -i image-1.3.64-0.deb"):
...
> This went pretty well untill the postinst script had to be done. It didn't
> work at all. It is full of absolute references to "/" instead of or more
> relative reference to "/mnt" in my case. Is the --root option directory
> passed to the postinst scripts? If so what is it 's name? If so I can
> file an enourmous amount of bugreports because nearly all post pre inst rm
> scripts have to rewriteen.???????????!!!!!!!!!!!
> 
> Perhaps we shouldn't do this before the release but it needs attention.

Which version of dpkg are you using ?  Recent versions (should) do a
chroot before running maintainer scripts ...

If you can reproduce a case where the most recent dpkg doesn't please
report it as a bug.

Thanks,
Ian.



Reply to: