Files
main/kernel/drivers/module-linux-apfs-rw/actions.py
T
Bahar KURT 3697261ef6 Bump module-linux-apfs-rw
I should prepare a package that uses ro-by-default like the developer intended.
2025-03-31 21:45:57 +00:00

21 lines
597 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import kerneltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
KDIR = kerneltools.getKernelVersion()
CONFIGS = "-DCONFIG_APFS_RW_ALWAYS"
def build():
autotools.make("KERNEL_DIR=/lib/modules/%(kdir)s/build CONFIG=%(configs)s" % { 'kdir': KDIR, 'configs': CONFIGS })
def install():
pisitools.insinto("/lib/modules/%s/extra" % KDIR, "*.ko")
pisitools.dodoc("LICENSE", "README*")