From owner-freebsd-stable@FreeBSD.ORG Wed Apr 22 11:28:24 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82F94714; Wed, 22 Apr 2015 11:28:24 +0000 (UTC) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3CCB31393; Wed, 22 Apr 2015 11:28:24 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1YkspK-0004sc-7Y; Wed, 22 Apr 2015 14:28:22 +0300 Date: Wed, 22 Apr 2015 14:28:22 +0300 From: Slawa Olhovchenkov To: Glen Barber Cc: freebsd-stable@freebsd.org Subject: Re: bsdinstall support for multiple kernels Message-ID: <20150422112822.GT1394@zxy.spb.ru> References: <20150422111334.GS1394@zxy.spb.ru> <20150422111844.GA31769@hub.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150422111844.GA31769@hub.FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 11:28:24 -0000 On Wed, Apr 22, 2015 at 11:18:44AM +0000, Glen Barber wrote: > On Wed, Apr 22, 2015 at 02:13:34PM +0300, Slawa Olhovchenkov wrote: > > How to enable bsdinstall support for multiple kernels? > > I am do release with KERNEL="GENERIC VSTREAM" > > On install media I see: > > total 361273 > > -rw-r--r-- 1 root wheel 812 Apr 22 13:03 MANIFEST > > -rw-r--r-- 1 root wheel 65350060 Apr 22 13:03 base.txz > > -rw-r--r-- 1 root wheel 1429196 Apr 22 13:03 doc.txz > > -rw-r--r-- 1 root wheel 884900 Apr 22 13:03 games.txz > > -rw-r--r-- 1 root wheel 78546640 Apr 22 13:03 kernel.VSTREAM.txz > > -rw-r--r-- 1 root wheel 89654176 Apr 22 13:03 kernel.txz > > -rw-r--r-- 1 root wheel 16838288 Apr 22 13:03 lib32.txz > > -rw-r--r-- 1 root wheel 117241492 Apr 22 13:03 src.txz > > > > In MANIFEST: > > > > # cat /media/usr/freebsd-dist/MANIFEST > > base.txz 37829caef728f80374a15a92e129f0b3957e08884f5322686000a6b97da9699d 19559 base "Base system (MANDATORY)" on > > doc.txz dbb99b5b673bb7290f283ecc8bc5868cecb693a2e231fdbad039b6d7ad872f57 121 doc "Additional documentation" off > > games.txz 7eb01b2f857d5c4d075362cc564a522ce1ab60bde21b984015387d767d2b0398 53 games "Games (fortune, etc.)" on > > kernel.VSTREAM.txz 18023a9b347cefa6e89104ce4e92c014d4cd9b676fc0346b5914ca850fbeaf8a 1542 kernel.VSTREAM "Kernel (MANDATORY).VSTREAM" > > kernel.txz f791b8b18eedeecf8bd70ef840fefb439cd50652fbfcdfc0f242ae9c16c172ea 1542 kernel "Kernel (MANDATORY)" on > > lib32.txz 0228f00df8a78feb5e24d7c10c26c72ba29d9f9f8b036e04030782103bf1b3a7 685 lib32 "32-bit compatibility libraries" on > > src.txz 15c4bcfed094a30e41016fcdf27f103216857d96ca7af9e6288f1ded78b1b363 68212 src "System source code" off > > > > bsdinstall don't ask about kernel.VSTREAM and don't install kernel.VSTREAM. > > > > What I miss? > > Currently, the installer only installs GENERIC. > > I have fixes for this in a projects branch, but it's not ready to merge > back to head just yet. (^/projects/release-install-debug if you're > interested.) I think also exist bug in scripts/make-manifest.sh: # sh /usr/src/release/scripts/make-manifest.sh *txz base.txz 37829caef728f80374a15a92e129f0b3957e08884f5322686000a6b97da9699d 19559 base "Base system (MANDATORY)" on doc.txz dbb99b5b673bb7290f283ecc8bc5868cecb693a2e231fdbad039b6d7ad872f57 121 doc "Additional documentation" off games.txz 7eb01b2f857d5c4d075362cc564a522ce1ab60bde21b984015387d767d2b0398 53 games "Games (fortune, etc.)" on eval: ${kernel....}: Bad substitution ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ kernel.VSTREAM.txz 18023a9b347cefa6e89104ce4e92c014d4cd9b676fc0346b5914ca850fbeaf8a 1542 kernel.VSTREAM "Kernel (MANDATORY).VSTREAM" kernel.txz f791b8b18eedeecf8bd70ef840fefb439cd50652fbfcdfc0f242ae9c16c172ea 1542 kernel "Kernel (MANDATORY)" on lib32.txz 0228f00df8a78feb5e24d7c10c26c72ba29d9f9f8b036e04030782103bf1b3a7 685 lib32 "32-bit compatibility libraries" on src.txz 15c4bcfed094a30e41016fcdf27f103216857d96ca7af9e6288f1ded78b1b363 68212 src "System source code" off