mirror of
https://github.com/t2linux/fedora.git
synced 2026-04-30 13:51:42 -07:00
Remove linux-apfs-rw
This commit is contained in:
@@ -41,8 +41,6 @@ jobs:
|
||||
rust-nonempty/*
|
||||
rust-rust-ini0.20/*
|
||||
t2fanrd/*
|
||||
linux-apfs-rw/*
|
||||
linux-apfs-rw-kmod/*
|
||||
t2linux-scripts/*
|
||||
t2linux-release/*
|
||||
dir_names: "true"
|
||||
|
||||
@@ -12,8 +12,6 @@ on:
|
||||
- "rust-nonempty/*"
|
||||
- "rust-rust-ini0.20/*"
|
||||
- "t2fanrd/*"
|
||||
- "linux-apfs-rw/*"
|
||||
- "linux-apfs-rw-kmod/*"
|
||||
- "t2linux-scripts/*"
|
||||
- "t2linux-release/*"
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
if [ "$1" == "all" ]; then
|
||||
packages=( "t2linux-config" "t2linux-audio" "kernel" "t2linux-repos" "rust-arraydeque" "rust-nonempty" "rust-rust-ini0.20" "t2fanrd" "linux-apfs-rw" "linux-apfs-rw-kmod" "t2linux-scripts" "t2linux-release" )
|
||||
packages=( "t2linux-config" "t2linux-audio" "kernel" "t2linux-repos" "rust-arraydeque" "rust-nonempty" "rust-rust-ini0.20" "t2fanrd" "t2linux-scripts" "t2linux-release" )
|
||||
else
|
||||
packages=( "$@" )
|
||||
fi
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global forgeurl https://github.com/linux-apfs/linux-apfs-rw
|
||||
Version: 0.3.9
|
||||
%forgemeta
|
||||
|
||||
%global buildforkernels akmod
|
||||
|
||||
%define kmod_name apfs
|
||||
%define src_name linux-apfs-rw
|
||||
|
||||
Name: %{src_name}-kmod
|
||||
Release: 1%{?dist}
|
||||
Summary: APFS module for linux, with experimental write support
|
||||
URL: %{forgeurl}
|
||||
Source: %{forgesource}
|
||||
License: GPL-2.0
|
||||
|
||||
BuildRequires: kmodtool
|
||||
|
||||
%description
|
||||
The Apple File System (APFS) is the copy-on-write filesystem currently used on
|
||||
all Apple devices. This module provides a degree of experimental support on Linux.
|
||||
|
||||
This module is the result of reverse engineering and testing has been limited.
|
||||
If you make use of the write support, expect data corruption. Encryption is not
|
||||
yet implemented even in read-only mode, and neither are fusion drives.
|
||||
|
||||
# kmodtool does its magic here
|
||||
%{expand:%(kmodtool --target %{_target_cpu} --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
|
||||
|
||||
%prep
|
||||
|
||||
# error out if there was something wrong with kmodtool
|
||||
%{?kmodtool_check}
|
||||
|
||||
# print kmodtool output for debugging purposes:
|
||||
kmodtool --target %{_target_cpu} --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
|
||||
|
||||
%forgeautosetup
|
||||
|
||||
./genver.sh
|
||||
|
||||
for kernel_version in %{?kernel_versions}; do
|
||||
cp -a $PWD %{_builddir}/_kmod_build_${kernel_version%%___*}
|
||||
done
|
||||
|
||||
%build
|
||||
|
||||
for kernel_version in %{?kernel_versions}; do
|
||||
make modules %{?_smp_mflags} \
|
||||
-C ${kernel_version##*___} \
|
||||
M=%{_builddir}/_kmod_build_${kernel_version%%___*}
|
||||
done
|
||||
|
||||
%install
|
||||
|
||||
for kernel_version in %{?kernel_versions}; do
|
||||
install -m 755 -D \
|
||||
%{_builddir}/_kmod_build_${kernel_version%%___*}/apfs.ko \
|
||||
%{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/apfs.ko
|
||||
done
|
||||
|
||||
%{?akmod_install}
|
||||
|
||||
%changelog
|
||||
@@ -1,38 +0,0 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global forgeurl https://github.com/linux-apfs/linux-apfs-rw
|
||||
Version: 0.3.9
|
||||
%forgemeta
|
||||
|
||||
Name: linux-apfs-rw
|
||||
Release: 1%{?dist}
|
||||
Summary: APFS module for linux, with experimental write support
|
||||
URL: %{forgeurl}
|
||||
Source: %{forgesource}
|
||||
License: GPL-2.0
|
||||
|
||||
Provides: %{name}-kmod-common = %{version}
|
||||
Requires: %{name}-kmod >= %{version}
|
||||
|
||||
%description
|
||||
The Apple File System (APFS) is the copy-on-write filesystem currently used on
|
||||
all Apple devices. This module provides a degree of experimental support on Linux.
|
||||
|
||||
This module is the result of reverse engineering and testing has been limited.
|
||||
If you make use of the write support, expect data corruption. Encryption is not
|
||||
yet implemented even in read-only mode, and neither are fusion drives.
|
||||
|
||||
%prep
|
||||
|
||||
%forgeautosetup
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
|
||||
%files
|
||||
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user