Skip to content

Commit

Permalink
feat: add arm64 loong64 kernel packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno-sole authored and deepin-ci-robot committed Mar 6, 2024
1 parent 536b584 commit 879ae10
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 8 deletions.
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
abiname=5.15.77
amd64_abiname=5.15.77
arm64_abiname=5.10.0
loong64_abiname=6.7.0
ARCH_BUILD :=$(shell uname -m)
all: build
build:
cat debian/control.in | sed -e 's/ABINAME/$(abiname)/g' > debian/control
ifeq ($(ARCH_BUILD), x86_64)
cat debian/control.in | sed -e 's/AMD64ABINAME/$(amd64_abiname)/g' > debian/control
else ifeq ($(ARCH_BUILD), aarch64)
cat debian/control.in | sed -e 's/ARM64ABINAME/$(arm64_abiname)/g' > debian/control
else ifeq ($(ARCH_BUILD), loongarch64)
cat debian/control.in | sed -e 's/LOONG64ABINAME/$(loong64_abiname)/g' > debian/control
endif
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
linux-deepin-latest (6.0.0) unstable; urgency=medium

* add arm64 loong64 kernel packages.

-- LiChengGang <[email protected]> Wed, 06 Mar 2024 11:36:52 +0800

linux-deepin-latest (5.15.77-0deepin) unstable; urgency=medium

* update v23 kernel 5.15.77
Expand Down
39 changes: 36 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Source: linux-deepin-latest
Section: metapackages
Priority: extra
Priority: standard
Maintainer: LinuxDeepin Project <[email protected]>
Build-Depends: debhelper (>=8.0.0)
Standards-Version: 3.9.3
Homepage: http://www.deepin.com

Package: linux-image-deepin-amd64
Architecture: amd64
Depends: linux-image-ABINAME-amd64-desktop
Depends: linux-image-AMD64ABINAME-amd64-desktop
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs
with AMD64, Intel 64 or VIA Nano processors.
Expand All @@ -18,8 +18,41 @@ Description: Linux for 64-bit PCs (meta-package)

Package: linux-headers-deepin-amd64
Architecture: amd64
Depends: linux-headers-ABINAME-amd64-desktop
Depends: linux-headers-AMD64ABINAME-amd64-desktop
Description: Header files for Linux amd64 configuration (meta-package)
This package depends on the architecture-specific header files for the
latest Linux kernel amd64 configuration.

Package: linux-image-deepin-arm64
Architecture: arm64
Depends: linux-image-ARM64ABINAME-arm64-desktop
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs
with AMD64, Intel 64 or VIA Nano processors.
.
This kernel also runs on a Xen hypervisor. It supports both privileged
(dom0) and unprivileged (domU) operation.

Package: linux-headers-deepin-arm64
Architecture: arm64
Depends: linux-headers-ARM64ABINAME-arm64-desktop
Description: Header files for Linux arm64 configuration (meta-package)
This package depends on the architecture-specific header files for the
latest Linux kernel amd64 configuration.

Package: linux-image-deepin-loong64
Architecture: loong64
Depends: linux-image-LOONG64ABINAME-loong64-desktop
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs
with AMD64, Intel 64 or VIA Nano processors.
.
This kernel also runs on a Xen hypervisor. It supports both privileged
(dom0) and unprivileged (domU) operation.

Package: linux-headers-deepin-loong64
Architecture: loong64
Depends: linux-headers-LOONG64ABINAME-loong64-desktop
Description: Header files for Linux loong64 configuration (meta-package)
This package depends on the architecture-specific header files for the
latest Linux kernel amd64 configuration.
37 changes: 35 additions & 2 deletions debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Homepage: http://www.deepin.com

Package: linux-image-deepin-amd64
Architecture: amd64
Depends: linux-image-ABINAME-amd64-desktop
Depends: linux-image-AMD64ABINAME-amd64-desktop
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs
with AMD64, Intel 64 or VIA Nano processors.
Expand All @@ -18,8 +18,41 @@ Description: Linux for 64-bit PCs (meta-package)

Package: linux-headers-deepin-amd64
Architecture: amd64
Depends: linux-headers-ABINAME-amd64-desktop
Depends: linux-headers-AMD64ABINAME-amd64-desktop
Description: Header files for Linux amd64 configuration (meta-package)
This package depends on the architecture-specific header files for the
latest Linux kernel amd64 configuration.

Package: linux-image-deepin-arm64
Architecture: arm64
Depends: linux-image-ARM64ABINAME-arm64-desktop
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs
with AMD64, Intel 64 or VIA Nano processors.
.
This kernel also runs on a Xen hypervisor. It supports both privileged
(dom0) and unprivileged (domU) operation.

Package: linux-headers-deepin-arm64
Architecture: arm64
Depends: linux-headers-ARM64ABINAME-arm64-desktop
Description: Header files for Linux arm64 configuration (meta-package)
This package depends on the architecture-specific header files for the
latest Linux kernel amd64 configuration.

Package: linux-image-deepin-loong64
Architecture: loong64
Depends: linux-image-LOONG64ABINAME-loong64-desktop
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs
with AMD64, Intel 64 or VIA Nano processors.
.
This kernel also runs on a Xen hypervisor. It supports both privileged
(dom0) and unprivileged (domU) operation.

Package: linux-headers-deepin-loong64
Architecture: loong64
Depends: linux-headers-LOONG64ABINAME-loong64-desktop
Description: Header files for Linux loong64 configuration (meta-package)
This package depends on the architecture-specific header files for the
latest Linux kernel amd64 configuration.
2 changes: 1 addition & 1 deletion debian/source/format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0 (quilt)
3.0 (native)

0 comments on commit 879ae10

Please sign in to comment.