Jan,
That looks like it would work.
William

On 8/17/2011 1:38 PM, Jan Damborsky wrote:
Hi all,

I would appreciate review of one line change which is supposed to address

7079233 Deliver /var/sadm/system/logs as a symlink to /var/install/log

webrev:
https://cr.opensolaris.org/action/browse/caiman/dambi/cr-7079233/webrev/

Thank you,
Jan

tests done:

* built LiveCD and tested installation - installed system booted successfully -
install log file correctly landed in /var/log/install/ directory:

$ ls -l /var/sadm/system/logs
lrwxrwxrwx 1 root root 17 Aug 17 13:11 /var/sadm/system/logs -> ../../log/install
$ ls -l /var/sadm/system/logs/
total 40
-rw-r--r--   1 root     staff      19706 Aug 17 13:30 install_log
$ ls -l /var/log/install/
total 40
-rw-r--r--   1 root     staff      19706 Aug 17 13:30 install_log
$

* on 171, 'pkg update' run to install modified system/install:

# pkg set-publisher --non-sticky -O http://ipkg.cz.oracle.com solaris
# pkg set-publisher -p file:///net/tio/export/home/dambi/ws/cr-7079233/packages/i386/nightly-nd/repo.redist/ --search-before=solaris
pkg set-publisher:
  Added publisher(s): install-nightly
# pkg uninstall entire
     Packages to remove:  1
Create boot environment: No

PHASE                                        ACTIONS
Removal Phase                                  60/60

PHASE                                          ITEMS
Package State Update Phase                       1/1
Package Cache Update Phase                       1/1
Image State Update Phase                         2/2
# pkg update -v
            Packages to update:         8
     Estimated space available:  59.26 GB
Estimated space to be consumed: 150.29 MB
       Create boot environment:        No
            Services to change:         1
          Rebuild boot archive:        No

Changed packages:
solaris -> install-nightly
  consolidation/install/install-incorporation
0.5.11,5.11-0.171:20110801T123357Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063857Z
  install/installadm
0.5.11,5.11-0.171:20110801T123418Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063858Z
  system/install
0.5.11,5.11-0.171:20110801T123634Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063859Z
  system/install/auto-install
0.5.11,5.11-0.171:20110801T123456Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063858Z
  system/install/auto-install/auto-install-common
0.5.11,5.11-0.171:20110801T123444Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063858Z
  system/install/configuration
0.5.11,5.11-0.171:20110801T123501Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063858Z
  system/install/tests
0.5.11,5.11-0.171:20110801T123545Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063858Z
  system/library/install
0.5.11,5.11-0.171:20110801T123702Z -> 0.5.11,5.11-0.173.0.0.0.0.1394:20110817T063859Z
Services:
  restart_fmri:
    svc:/system/install/server:default
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  8/8     242/242      1.1/1.1

PHASE                                        ACTIONS
Removal Phase                                122/122
Install Phase                                  44/44
Update Phase                                 257/257

PHASE                                          ITEMS
Package State Update Phase                     16/16
Package Cache Update Phase                       8/8
Image State Update Phase                         2/2
The following unexpected or editable files and directories were
salvaged while executing the requested package operation; they
have been moved to the displayed location in the image:

var/sadm/system/logs -> /var/pkg/lost+found/var/sadm/system/logs-20110817T070028Z

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://download.oracle.com/docs/cd/E19963-01/
---------------------------------------------------------------------------

# ls -l /var/sadm/system/logs
lrwxrwxrwx 1 root root 17 Aug 17 07:00 /var/sadm/system/logs -> ../../log/install
 # ls -l /var/sadm/system/logs/
total 0
#

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to