Skip to content

Commit 4aab6a8

Browse files
committed
Unify ppc64 and ppc64le
1 parent 219feab commit 4aab6a8

4 files changed

+9
-8
lines changed

modprobe.conf/modprobe.conf.ppc64

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# begin of ppc64 part for modprobe.conf
2+
3+
# catas recovery conflicts with eeh (bsc#456389)
4+
options ib_mthca catas_reset_disable=1
5+
6+
# end of ppc64 part for modprobe.conf

modprobe.conf/modprobe.conf.ppc64le

-6
This file was deleted.

modprobe.conf/modprobe.conf.ppc64le

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
modprobe.conf.ppc64

suse-module-tools.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ install -pm 644 50-kernel-uname_r.conf "%{buildroot}%{_unitdir}/systemd-sysctl.s
128128
# Not needed in SLE11, where sg is loaded via udev rule.
129129
install -d -m 755 "%{buildroot}%{modules_load_dir}"
130130
install -pm 644 sg.conf "%{buildroot}%{modules_load_dir}"
131-
%ifarch ppc64le
131+
%ifarch ppc64 ppc64le
132132
install -d -m 755 %{buildroot}/usr/lib/systemd/system-generators
133133
install -m 755 udev-trigger-generator %{buildroot}/usr/lib/systemd/system-generators
134134
%endif

udev-trigger-generator

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export PATH=/usr/bin
1313
export TMPDIR=/dev/shm
1414
trap 'echo $0: error in "$BASH_COMMAND" >&2' ERR
1515

16-
[[ $(uname -m) = ppc64le ]] || exit 0
16+
[[ $(uname -m) = ppc64le ]] || [[ $(uname -m) = ppc64 ]] || exit 0
1717
case $(systemd-detect-virt) in
1818
none|powervm) ;;
1919
*) exit 0;;

0 commit comments

Comments
 (0)