NetBSD-Bugs archive

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

Re: install/50329: Wrong default server path in sysinst for FTP install



The following reply was made to PR install/50329; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: install/50329: Wrong default server path in sysinst for FTP install
Date: Mon, 12 Oct 2015 10:01:26 +0200

 The underlying issue is a lot of confusion which ABI is used by default
 on what ARM port.
 
 Since evbarm defaults to oabi (i.e. evbarm == evbarm-arm) the path used
 by sysinst here *could* be considered correct and as a fix the ftp setup
 be changed (by adding a symlink).
 
 However, the same problem then shows up with evbarm-earm.
 
 So sysinst encodes this information here:
 
 main.c: {"ftp prefix", "/" MACH "/binary/sets", set_dir_bin, sizeof set_dir_bin},
 
 and MACH comes from Makefile.inc:
 
 	-DMACH=\"${MACHINE}\"
 
 I suggest to create a new -DFTP_MACH and use it for both the ftp prefix as
 well as the pkg path default (currently also using MACH).
 
 Then default FTP_MACH to MACH if not overriden by the arch, and override it
 on arm depending on the ABI in use.
 
 Martin
 


Home | Main Index | Thread Index | Old Index