-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlinux-manjaro.spec
40 lines (30 loc) · 1.1 KB
/
linux-manjaro.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# AArch64 multi-platform
# Contributor: Kevin Mihelich <[email protected]>
# Maintainer: Dan Johansen <[email protected]>
Packager: Bengt Fredh <[email protected]>
%define version 6.0.2
%define sourcerelease 3
%define release %{sourcerelease}%{?dist}
Summary: AArch64 multi-platform
Name: linux-manjaro
Version: %{version}
Release: %{release}
License: GPL2
URL: https://gitlab.manjaro.org/manjaro-arm/packages/core/linux.git
ExclusiveArch: aarch64
Source0: https://ftp.gwdg.de/pub/linux/manjaro/arm-stable/core/aarch64/linux-%{version}-%{sourcerelease}-aarch64.pkg.tar.zst
%global debug_package %{nil}
%description
Manjaro kernel patched for Pinebook Pro and more.
%prep
%setup -c -T
%build
%install
tar -xvpf $RPM_SOURCE_DIR/linux-%{version}-%{sourcerelease}-aarch64.pkg.tar.zst -C %{buildroot} --exclude .PKGINFO --exclude .INSTALL --exclude .MTREE --exclude .BUILDINFO --exclude usr/share --exclude etc/mkinitcpio.d
%files
/boot/*
/usr/lib/modules/*
%post
dracut -f --kernel-image /boot/Image /boot/initramfs-linux.img --kver %{version}-%{sourcerelease}-MANJARO-ARM 1> /dev/null 2>&1
%changelog
%autochangelog