On Mon, Aug 22, 2011 at 10:43:04AM +0200, Jan Weitzel wrote:
> If you use migrate to go to a new ptxdist version, collections are
> untouched. This can result in problems
this needs to be conditional. Check with
if [ -e "${PTXDIST_COLLECTIONCONFIG}" ]; then
[...]
Regards,
Michael
> Signed-off-by: Jan Weitzel <[email protected]>
> ---
> bin/ptxdist | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/bin/ptxdist b/bin/ptxdist
> index 80bce35..e4e5dd7 100755
> --- a/bin/ptxdist
> +++ b/bin/ptxdist
> @@ -1696,7 +1696,7 @@ do_migrate()
> local PTX_FORCE=true
>
> local part
> - for part in ptx platform; do
> + for part in ptx platform collection; do
> do_config oldconfig "${part}" || return
> done
> }
> --
> 1.7.0.4
>
>
> --
> ptxdist mailing list
> [email protected]
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
[email protected]