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