Hi,

to jumpstart our machines, we need to add the SUNWxcu4 package to the
miniroots. For x86 we use:

----------------
PARCH=i386
OS_RELEASE=Solaris_11
OS_SUBRELEASE=b79b
#...
DEST_PATH=/pool1/install/$PARCH/${OS_RELEASE}_${OS_SUBRELEASE}
OS_RELEASE=Solaris_11
OS_SUBRELEASE=b79b
SCRATCH=/export/scratch/$USER/i386
rm -rf $SCRATCH ; + mkdir -p $SCRATCH
/boot/solaris/bin/root_archive unpackmedia /net/install/$DEST_PATH $SCRATCH
pkgadd -R $SCRATCH -d /net/install/$DEST_PATH/$OS_RELEASE/Product SUNWxcu4

DST=/export/scratch/$USER/miniroot/${OS_RELEASE}_$OS_SUBRELEASE
rm -rf $DST
mkdir -p $DST/${OS_RELEASE}
mkdir -p $DST/boot/grub
/boot/solaris/bin/root_archive packmedia $DST $SCRATCH
#...
----------------

This works for S10u3 and u4 and u* miniroots. However on S11 nv_* 
for nv_b7Nb miniroots root_archive seems to have some problems.

On b55b for b79b I get:
find: stat() error openwin/bin/mkfontdir: No such file or directory
find: stat() error openwin/lib/installalias: No such file or directory
find: stat() error openwin/server/lib/libfont.so.1: No such file or directory
find: stat() error openwin/server/lib/libtypesclr.so.0: No such file or 
directory

[The result is, that all font packages are installed partially,
only (i.e. missing fonts.dir, and thus no X ...)]

On b70b for b79b I get:
cp: cannot access /export/scratch/jel/i386/platform/i86pc/kernel/amd64/unix
cp: cannot access /export/scratch/jel/i386/platform/i86xpv/kernel/amd64/unix
ln: cannot create ./unix: File exists
ln: cannot create ./unix: File exists

[The created miniroot actually works and I haven't found any side
effects 'til now, but who knows ... ]


So, wouldn't it be better to provide a working root_archive cmd on the
install CD/iso image instead of relying on the installed "bogus" version ?


Regards,
jel.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768

Reply via email to