Skip to content

Commit 6a6082b

Browse files
pzakhadelphix-release-admin
authored andcommitted
DLPX-67514 [Backport of Issue DLPX-67499 to 6.0.0.0] Use the HWE kernel for the generic platform on Ubuntu 18.04
1 parent b129385 commit 6a6082b

File tree

6 files changed

+172
-5
lines changed

6 files changed

+172
-5
lines changed

configure.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ if [[ -z "$PLATFORM" ]]; then
3333
exit 1
3434
fi
3535

36-
sed "s/@@KVERS@@/$KVERS/g; s/@@PLATFORM@@/$PLATFORM/g" \
37-
debian/control.in >debian/control
36+
sed "s/@@KVERS@@/$KVERS/g" "debian/control.$PLATFORM.in" >debian/control

debian/control.in renamed to debian/control.aws.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Standards-Version: 4.1.2
2929
# particular kernel version should not be included here.
3030
#
3131
Package: delphix-kernel-@@KVERS@@
32-
Provides: delphix-kernel-@@PLATFORM@@, delphix-kernel
32+
Provides: delphix-kernel-aws, delphix-kernel
3333
Architecture: any
34-
Depends: linux-@@PLATFORM@@,
35-
linux-tools-@@PLATFORM@@,
34+
Depends: linux-aws,
35+
linux-tools-aws,
3636
zfs-modules-@@KVERS@@,
3737
zfs-headers-@@KVERS@@,
3838
linux-image-@@KVERS@@,

debian/control.azure.in

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#
2+
# Copyright 2018 Delphix
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
Source: delphix-kernel
18+
Section: metapackages
19+
Priority: optional
20+
Maintainer: Delphix Engineering <[email protected]>
21+
Build-Depends: debhelper (>= 10), devscripts
22+
Standards-Version: 4.1.2
23+
24+
#
25+
# The following meta-package consolidates all the kernel packages required
26+
# by the Delphix Appliance for a given platform. Note that delphix-kernel
27+
# only has dependencies on kernel modules and tools that are built for a
28+
# specific version of the kernel. Any tools that are not specific to a
29+
# particular kernel version should not be included here.
30+
#
31+
Package: delphix-kernel-@@KVERS@@
32+
Provides: delphix-kernel-azure, delphix-kernel
33+
Architecture: any
34+
Depends: linux-azure,
35+
linux-tools-azure,
36+
zfs-modules-@@KVERS@@,
37+
zfs-headers-@@KVERS@@,
38+
linux-image-@@KVERS@@,
39+
connstat-module-@@KVERS@@
40+
Description: Kernel packages consolidation for the Delphix Appliance.
41+
This package consolidates all the version-specific kernel modules and tools
42+
required by the Delphix Appliance for a given platform.

debian/control.gcp.in

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#
2+
# Copyright 2018 Delphix
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
Source: delphix-kernel
18+
Section: metapackages
19+
Priority: optional
20+
Maintainer: Delphix Engineering <[email protected]>
21+
Build-Depends: debhelper (>= 10), devscripts
22+
Standards-Version: 4.1.2
23+
24+
#
25+
# The following meta-package consolidates all the kernel packages required
26+
# by the Delphix Appliance for a given platform. Note that delphix-kernel
27+
# only has dependencies on kernel modules and tools that are built for a
28+
# specific version of the kernel. Any tools that are not specific to a
29+
# particular kernel version should not be included here.
30+
#
31+
Package: delphix-kernel-@@KVERS@@
32+
Provides: delphix-kernel-gcp, delphix-kernel
33+
Architecture: any
34+
Depends: linux-gcp,
35+
linux-tools-gcp,
36+
zfs-modules-@@KVERS@@,
37+
zfs-headers-@@KVERS@@,
38+
linux-image-@@KVERS@@,
39+
connstat-module-@@KVERS@@
40+
Description: Kernel packages consolidation for the Delphix Appliance.
41+
This package consolidates all the version-specific kernel modules and tools
42+
required by the Delphix Appliance for a given platform.

debian/control.generic.in

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#
2+
# Copyright 2018 Delphix
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
Source: delphix-kernel
18+
Section: metapackages
19+
Priority: optional
20+
Maintainer: Delphix Engineering <[email protected]>
21+
Build-Depends: debhelper (>= 10), devscripts
22+
Standards-Version: 4.1.2
23+
24+
#
25+
# The following meta-package consolidates all the kernel packages required
26+
# by the Delphix Appliance for a given platform. Note that delphix-kernel
27+
# only has dependencies on kernel modules and tools that are built for a
28+
# specific version of the kernel. Any tools that are not specific to a
29+
# particular kernel version should not be included here.
30+
#
31+
Package: delphix-kernel-@@KVERS@@
32+
Provides: delphix-kernel-generic, delphix-kernel
33+
Architecture: any
34+
Depends: linux-generic-hwe-18.04,
35+
linux-tools-generic-hwe-18.04,
36+
zfs-modules-@@KVERS@@,
37+
zfs-headers-@@KVERS@@,
38+
linux-image-@@KVERS@@,
39+
connstat-module-@@KVERS@@
40+
Description: Kernel packages consolidation for the Delphix Appliance.
41+
This package consolidates all the version-specific kernel modules and tools
42+
required by the Delphix Appliance for a given platform.

debian/control.kvm.in

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#
2+
# Copyright 2018 Delphix
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
Source: delphix-kernel
18+
Section: metapackages
19+
Priority: optional
20+
Maintainer: Delphix Engineering <[email protected]>
21+
Build-Depends: debhelper (>= 10), devscripts
22+
Standards-Version: 4.1.2
23+
24+
#
25+
# The following meta-package consolidates all the kernel packages required
26+
# by the Delphix Appliance for a given platform. Note that delphix-kernel
27+
# only has dependencies on kernel modules and tools that are built for a
28+
# specific version of the kernel. Any tools that are not specific to a
29+
# particular kernel version should not be included here.
30+
#
31+
Package: delphix-kernel-@@KVERS@@
32+
Provides: delphix-kernel-kvm, delphix-kernel
33+
Architecture: any
34+
Depends: linux-kvm,
35+
linux-tools-kvm,
36+
zfs-modules-@@KVERS@@,
37+
zfs-headers-@@KVERS@@,
38+
linux-image-@@KVERS@@,
39+
connstat-module-@@KVERS@@
40+
Description: Kernel packages consolidation for the Delphix Appliance.
41+
This package consolidates all the version-specific kernel modules and tools
42+
required by the Delphix Appliance for a given platform.

0 commit comments

Comments
 (0)