NetBSD Problem Report #47812

From tsutsui@ceres.dti.ne.jp  Sat May 11 09:58:23 2013
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 1076A63E496
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 11 May 2013 09:58:22 +0000 (UTC)
Message-Id: <201305110958.r4B9wJ4x027443@mirage.localdomain>
Date: Sat, 11 May 2013 18:58:19 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: sysinst source sets fetch should be moved to post-inst config menu
X-Send-Pr-Version: 3.95

>Number:         47812
>Category:       install
>Synopsis:       sysinst source sets fetch should be moved to post-inst config menu
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat May 11 10:00:01 +0000 2013
>Last-Modified:  Sat May 11 16:25:02 +0000 2013
>Originator:     Izumi Tsutsui
>Release:        NetBSD 6.1_RC4
>Organization:
>Environment:
System: NetBSD/i386 6.1_RC4
Architecture: i386
Machine: i386 but affects all ports using sysinst
>Description:
This PR is an inquiry of change-request for sysinst (i.e. no patches yet).

Source sets fetch and installation support has been added no January 2012:
http://www.nerv.org/~ryo/netbsd/netbsd/?q=id:20120110T210248Z.e7b773e25cefde5f50668990b9ce1a7b93a89cfe

But source sets menu is shown during binary set installation and
usually install media doesn't contain source sets, so its settings
are a bit confusing, as filed in PR install/45972:
http://gnats.netbsd.org/45972

Now sysinst in 6.0 and later has "post-installation configuration menu"
support:
http://www.nerv.org/~ryo/netbsd/netbsd/?q=id:20120406T234854Z.30c07b08991e0a1073a649e35efa9d1bbb5779c2
and it also includes pkgsrc fetch support.
It is completely separated from NetBSD base set binary installation.

So it's much better to move the existing "source sets installation"
into a part of the post-installation configuration menu.

>How-To-Repeat:
Use sysinst, and try to install both source sets and pkgsrc sources.

>Fix:
Changes should be trivial:
 - Revert the original source fetch menu changes
 - Add source sets installation menu in post-inst config as pkgsrc

---

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/47812: sysinst source sets fetch should be moved to post-inst config menu
Date: Sat, 11 May 2013 18:22:41 +0200

 Not disagreeing with your point, but just adding some random comments:

 I would like to see sysinst mark the sets available on local medium specially,
 and allow different sources for different sets.

 That way you could do a full install from local sets and then continue getting
 the latest pkgsrc and a binary-matching source sets or, at your wish, a
 newer one via network.

 However, this requires quite a bit of reorganization at the code level.

 Moving secondary fetches to post-install time might be an option, but on the
 other hand a single "ask all questions now" phase early and basically 
 unattended installation later has its merits.


 Martin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.