借助OpenSUSE的zypper源升级SLES12 的内核及相关软件
SLES12正式发行的内核版本号为3.12。
在SLES12中添加OpenSUSE 13.2的ypper源
vIP:~ # zypper ls
# | Alias | Name | Enabled | Refresh |
Type
--+-------------+-------------+---------+---------+-------
1 | SLES12_12-0 | SLES12 12-0 | No | Yes | yast2
2 | mariadb | MariaDB
| No | No | rpm-md
vIP:~ # zypper ar
http://download.opensuse.org/distribution/13.2/repo/oss/
main
Adding repository 'main'
..............................................................[done]
Repository 'main' successfully added
Enabled: Yes
Autorefresh: No
GPG check: Yes
URI:
http://download.opensuse.org/distribution/13.2/repo/oss/
vIP:~ # zypper ls
# | Alias | Name | Enabled | Refresh |
Type
--+-------------+-------------+---------+---------+-------
1 | SLES12_12-0 | SLES12 12-0 | No | Yes | yast2
2 | main | main | Yes | No | NONE
3 | mariadb | MariaDB
| No | No | rpm-md
vIP:~ # zypper ref
Retrieving repository 'main' metadata
.................................................[done]
Building repository 'main' cache
......................................................[done]
All repositories have been refreshed.
vIP:~ # zypper up
升级后内容已到3.16
IP:~ # uname -a
Linux vIP 3.16.6-2-default #1 SMP Mon Oct 20 13:47:22 UTC 2014
(feb42ea) x86_64 x86_64 x86_64 GNU/Linux