Remove linux-apfs-rw

This commit is contained in:
sharpenedblade
2025-04-16 15:29:41 -07:00
parent 60c50e3e61
commit e89ed6f7d0
5 changed files with 1 additions and 109 deletions
-2
View File
@@ -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"
-2
View File
@@ -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
View File
@@ -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
-38
View File
@@ -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