Hi David,

> >That works nicely, but several new boot environments are created. I want
> >all the packages installed in one boot environment. Is that possible?
> 
> Unless I'm misunderstanding what you're trying to do, I would suggest
> manually creating the "first" BE, mounting it and then installing into
> the alternate root
> 
>       user@solaris:~$ sudo beadm create <new-BE>
>       user@solaris:~$ sudo beadm mount <new-BE> /mnt
>       user@solaris:~$ sudo pkg install -R /mnt <packages>
>       user@solaris:~$ sudo pkg install -R /mnt <more packages>
>       user@solaris:~$ sudo pkg install -R /mnt <even more packages>
>       user@solaris:~$ sudo bootadm update-archive -R /mnt
>       user@solaris:~$ sudo beadm umount <new-BE>
>       user@solaris:~$ sudo beadm activate <new-BE>

Yes, that seems to be exactly what I have been missing from the man
page. Lookint at the man page again, I was confused by the fact that -R
is not listed for 'install' subcommand. It's probably meant to be
'general' option for all pkg subcommands, but if you are looking for one
specific subcommand and not reading the man page as a book, you will
miss it ...

Thank you
-- 
        Vlad
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to