XserverSanityGnome-s10u11b10-x86--Done1

37 篇文章 0 订阅

Plan 629

Test-run 2748

TestCase  50569


 
For S10Update, S9Update, S8update builds:
===================================
1. Add patch
run 'patchadd $PATCH_ID' command to add new patches, as root,
2. reboot. Check /var/sadm/patch folder. There should be a folder named as the patch ID.
3. After testing the patches should be remove successfully, run 'patchrm $PATCH_ID' command as root. reboot. The patch folder under /var/sadm/patch should be removed.

Notes:1.How to confirm the IPS is the latest build?
 1)Take snv_142 for example:After rebooting, "mcs -p /usr/lib/libX11.so" should show "nv_142" in theversion line for the library itself:@(#)libX11 1.3.2 (72bac57e9c4b nv_142)
 2)Or you can confirm it by "pkg info X-incorporation",if you install build 144 then you can see a line such as "Branch 0.144" .



=============
--

 
$ bash
bash-3.2$ su root
Password:
# patchadd 148912-01
Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Cannot locate 148912-01 to install.
# reboot
============
$ bash
bash-3.2$ cd /var/sadm/patch
bash-3.2$ pwd
/var/sadm/patch
bash-3.2$ ls -al
total 10
drwxr-xr-x   5 root     root         512 Mar 19 15:49 .
drwxr-xr-x  14 root     sys          512 Mar 19 15:49 ..
-rw-r--r--   1 root     root           0 Mar  2 14:04 .mu_applied
drwxr-xr-x   2 root     root         512 Mar 19 15:49 119279-45
drwxr-xr-x   2 root     root         512 Mar 19 15:49 146663-01
drwxr-xr-x   2 root     root         512 Mar 19 15:33 148913-01
bash-3.2$ patchrm 148913-01
bash: patchrm: command not found
bash-3.2$ su
Password:
# patchrm 148913-01
Validating patches...

Loading patches installed on the system...

Done!

Checking patches that you specified for removal.

Done!

Approved patches will be removed in this order:

148913-01

Checking installed patches...

Executing prebackout script...
Backing out patch 148913-01...

Executing postbackout script...
Patch 148913-01 has been backed out.

# reboot
==================
$ bash
bash-3.2$ cd /var/sadm/patch
bash-3.2$ pwd
/var/sadm/patch
bash-3.2$ ls -al
total 8
drwxr-xr-x   4 root     root         512 Mar 20 16:15 .
drwxr-xr-x  14 root     sys          512 Mar 19 15:49 ..
-rw-r--r--   1 root     root           0 Mar  2 14:04 .mu_applied
drwxr-xr-x   2 root     root         512 Mar 19 15:49 119279-45
drwxr-xr-x   2 root     root         512 Mar 19 15:49 146663-01
bash-3.2$


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值