From 638295752dcf1b23f24bc55d1323ded1e4677947 Mon Sep 17 00:00:00 2001 From: bayramkarahan Date: Sun, 21 May 2023 22:09:51 +0300 Subject: [PATCH] udisk depent --- app/admin/chrpath/ympbuild | 35 ++++++++++ dev/libs/inih/ympbuild | 31 +++++++++ dev/libs/iniparser/ympbuild | 39 +++++++++++ dev/libs/libatasmart/ympbuild | 32 +++++++++ dev/libs/libtraceevent/ympbuild | 32 +++++++++ dev/python/py3-sphinx/ympbuild | 32 +++++++++ net/libs/libtrace/ympbuild | 33 ++++++++++ net/libs/libtracefs/ympbuild | 33 ++++++++++ net/libs/wandio/ympbuild | 32 +++++++++ sys/apps/gptfdisk/popt-1.19-follow-up.patch | 37 +++++++++++ sys/apps/gptfdisk/popt-1.19.patch | 37 +++++++++++ sys/apps/gptfdisk/util-linux-2.38.patch | 22 +++++++ sys/apps/gptfdisk/ympbuild | 57 ++++++++++++++++ sys/apps/keyutils/ympbuild | 33 ++++++++++ sys/block/ndctl/ympbuild | 33 ++++++++++ sys/fs/btrfs-progs/btrfs-progs.install | 15 +++++ sys/fs/btrfs-progs/btrfs-scrub@.service | 10 +++ sys/fs/btrfs-progs/btrfs-scrub@.timer | 11 ++++ sys/fs/btrfs-progs/initcpio-hook-btrfs | 7 ++ sys/fs/btrfs-progs/initcpio-install-btrfs | 17 +++++ sys/fs/btrfs-progs/ympbuild | 72 +++++++++++++++++++++ sys/fs/dosfstools/ympbuild | 33 ++++++++++ sys/fs/xfsprogs/ympbuild | 41 ++++++++++++ sys/libs/liburcu/ympbuild | 32 +++++++++ 24 files changed, 756 insertions(+) create mode 100644 app/admin/chrpath/ympbuild create mode 100644 dev/libs/inih/ympbuild create mode 100644 dev/libs/iniparser/ympbuild create mode 100644 dev/libs/libatasmart/ympbuild create mode 100644 dev/libs/libtraceevent/ympbuild create mode 100644 dev/python/py3-sphinx/ympbuild create mode 100644 net/libs/libtrace/ympbuild create mode 100644 net/libs/libtracefs/ympbuild create mode 100644 net/libs/wandio/ympbuild create mode 100644 sys/apps/gptfdisk/popt-1.19-follow-up.patch create mode 100644 sys/apps/gptfdisk/popt-1.19.patch create mode 100644 sys/apps/gptfdisk/util-linux-2.38.patch create mode 100644 sys/apps/gptfdisk/ympbuild create mode 100644 sys/apps/keyutils/ympbuild create mode 100644 sys/block/ndctl/ympbuild create mode 100644 sys/fs/btrfs-progs/btrfs-progs.install create mode 100644 sys/fs/btrfs-progs/btrfs-scrub@.service create mode 100644 sys/fs/btrfs-progs/btrfs-scrub@.timer create mode 100644 sys/fs/btrfs-progs/initcpio-hook-btrfs create mode 100644 sys/fs/btrfs-progs/initcpio-install-btrfs create mode 100644 sys/fs/btrfs-progs/ympbuild create mode 100644 sys/fs/dosfstools/ympbuild create mode 100644 sys/fs/xfsprogs/ympbuild create mode 100644 sys/libs/liburcu/ympbuild diff --git a/app/admin/chrpath/ympbuild b/app/admin/chrpath/ympbuild new file mode 100644 index 00000000..e6bf65c5 --- /dev/null +++ b/app/admin/chrpath/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='chrpath' +release='1' +version='0.16' +url='https://directory.fsf.org/wiki/Chrpath' +description='Chrpath can modify the rpath and runpath of ELF executables' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://deb.debian.org/debian/pool/main/c/chrpath/chrpath_$version.orig.tar.gz") +depends=() +makedepends=() +md5sums=('2bf8d1d1ee345fc8a7915576f5649982') +group=(app.admin) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + + #./configure --prefix=/usr \ + #--libdir=/usr/lib64/ + echo "" + ./configure --prefix=/usr --mandir=/usr/share/man +} + +build(){ + make $jobs +} + +package(){ +make DESTDIR="${DESTDIR}" docdir=/usr/share/doc/chrpath install + +} + diff --git a/dev/libs/inih/ympbuild b/dev/libs/inih/ympbuild new file mode 100644 index 00000000..724f634e --- /dev/null +++ b/dev/libs/inih/ympbuild @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +name='inih' +release='1' +version='56' +url='https://github.com/benhoyt/inih' +description='inih (INI not invented here) simple .INI file parser' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://github.com/benhoyt/inih/archive/refs/tags/r$version.tar.gz") +depends=() +makedepends=() +md5sums=('e27e394554d9f339b728035a5766d8f3') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-r$version +setup(){ + meson setup build --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + ninja -C build +} + +package(){ + ninja -C build install +} + diff --git a/dev/libs/iniparser/ympbuild b/dev/libs/iniparser/ympbuild new file mode 100644 index 00000000..11a1c812 --- /dev/null +++ b/dev/libs/iniparser/ympbuild @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +name='iniparser' +release='1' +version='4.1' +url='https://github.com/ndevilla/iniparser' +description='A free stand-alone ini file parsing library' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://github.com/ndevilla/iniparser/archive/refs/tags/v$version.tar.gz") +depends=(chrpath) +makedepends=() +md5sums=('e43b722c71b399ab17c329c04dbdf1d7') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + + #./configure --prefix=/usr \ + #--libdir=/usr/lib64/ + echo "" +} + +build(){ + make $jobs +} + +package(){ +install -Dm0644 src/iniparser.h "${DESTDIR}"/usr/include/iniparser.h + install -Dm0644 src/dictionary.h "${DESTDIR}"/usr/include/dictionary.h + install -Dm0644 libiniparser.so.1 "$DESTDIR"/usr/lib/libiniparser.so.1 + install -Dm0644 LICENSE "${DESTDIR}"/usr/share/licenses/iniparser/LICENSE + ln -sf libiniparser.so.1 "${DESTDIR}"/usr/lib/libiniparser.so + chrpath -d "${DESTDIR}"/usr/lib/libiniparser.so + +} + diff --git a/dev/libs/libatasmart/ympbuild b/dev/libs/libatasmart/ympbuild new file mode 100644 index 00000000..ce2408b0 --- /dev/null +++ b/dev/libs/libatasmart/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='libatasmart' +release='1' +version='0.19-5' +url='https://salsa.debian.org/utopia-team/libatasmart' +description='A small and lightweight parser library for ATA S.M.A.R.T. hard disks' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://salsa.debian.org/utopia-team/libatasmart/-/archive/debian/$version/libatasmart-debian-$version.tar.gz") +depends=() +makedepends=() +md5sums=('24e9a399360e5d204c0eb4286dfcbc87') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-debian-$version +setup(){ + ./autogen.sh + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/dev/libs/libtraceevent/ympbuild b/dev/libs/libtraceevent/ympbuild new file mode 100644 index 00000000..35a715de --- /dev/null +++ b/dev/libs/libtraceevent/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='libtraceevent' +release='1' +version='1.7.2' +url='https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/' +description='Linux kernel trace event library' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-$version.tar.gz") +depends=() +makedepends=() +md5sums=('5a8cd771ab709e7a7eb793555c7e570f') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + #./configure --prefix=/usr \ + #--libdir=/usr/lib64/ + echo "" +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/dev/python/py3-sphinx/ympbuild b/dev/python/py3-sphinx/ympbuild new file mode 100644 index 00000000..8e898e64 --- /dev/null +++ b/dev/python/py3-sphinx/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='py3-sphinx' +release='1' +version='7.0.1' +url='https://www.sphinx-doc.org/' +description='Python documentation generator' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$version.tar.gz") +depends=(python) +makedepends=() +md5sums=('9b5357daa219d036f1220e44bf1c9512') +group=(dev.python) +uses=() +arch=('x86_64') + +echo "adres: $pkgdir" + + cd Sphinx-$version + +build() { + #python --skip-dependency-check --no-isolation + echo "build" +} + + +package() { + #python3 -m installer -d "$pkgdir" dist/sphinx-*.whl + pip install . +} + diff --git a/net/libs/libtrace/ympbuild b/net/libs/libtrace/ympbuild new file mode 100644 index 00000000..70916815 --- /dev/null +++ b/net/libs/libtrace/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='libtrace' +release='1' +version='4.0.21-1' +url='https://github.com/LibtraceTeam/libtrace' +description='A library and tools for trace processing' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://github.com/LibtraceTeam/libtrace/archive/refs/tags/$version.tar.gz") +depends=(wandio libpcap) +makedepends=() +md5sums=('b72ca1ccf9962caefe7913b3e3afaed2') +group=(net.libs) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ + echo "" +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/net/libs/libtracefs/ympbuild b/net/libs/libtracefs/ympbuild new file mode 100644 index 00000000..fe34d48e --- /dev/null +++ b/net/libs/libtracefs/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='libtracefs' +release='1' +version='1.6.4' +url='https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/' +description='Linux kernel trace file system library' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-$version.tar.gz") +depends=() +makedepends=() +md5sums=('eca92add29926d718bcdc8184358ab18') +group=(net.libs) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + + #./configure --prefix=/usr \ + #--libdir=/usr/lib64/ + echo "" +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/net/libs/wandio/ympbuild b/net/libs/wandio/ympbuild new file mode 100644 index 00000000..58ef3156 --- /dev/null +++ b/net/libs/wandio/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='wandio' +release='1' +version='4.2.4-1' +url='https://github.com/LibtraceTeam/wandio' +description='C library for simple and efficient file IO' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://github.com/LibtraceTeam/wandio/archive/refs/tags/$version.tar.gz") +depends=() +makedepends=() +md5sums=('6bacc4fe69eff6ffd747ba2b4d237edb') +group=(net.libs) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/sys/apps/gptfdisk/popt-1.19-follow-up.patch b/sys/apps/gptfdisk/popt-1.19-follow-up.patch new file mode 100644 index 00000000..3cee7cc3 --- /dev/null +++ b/sys/apps/gptfdisk/popt-1.19-follow-up.patch @@ -0,0 +1,37 @@ +From f5de3401b974ce103ffd93af8f9d43505a04aaf9 Mon Sep 17 00:00:00 2001 +From: Damian Kurek +Date: Thu, 7 Jul 2022 03:39:16 +0000 +Subject: [PATCH] Fix NULL dereference when duplicating string argument + +poptGetArg can return NULL if there are no additional arguments, which +makes strdup dereference NULL on strlen +--- + gptcl.cc | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/gptcl.cc b/gptcl.cc +index 0d578eb..ab95239 100644 +--- a/gptcl.cc ++++ b/gptcl.cc +@@ -155,10 +155,11 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) { + } // while + + // Assume first non-option argument is the device filename.... +- device = strdup((char*) poptGetArg(poptCon)); +- poptResetContext(poptCon); ++ device = (char*) poptGetArg(poptCon); + + if (device != NULL) { ++ device = strdup(device); ++ poptResetContext(poptCon); + JustLooking(); // reset as necessary + BeQuiet(); // Tell called functions to be less verbose & interactive + if (LoadPartitions((string) device)) { +@@ -498,6 +499,7 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) { + cerr << "Error encountered; not saving changes.\n"; + retval = 4; + } // if ++ free(device); + } // if (device != NULL) + poptFreeContext(poptCon); + return retval; diff --git a/sys/apps/gptfdisk/popt-1.19.patch b/sys/apps/gptfdisk/popt-1.19.patch new file mode 100644 index 00000000..39468d35 --- /dev/null +++ b/sys/apps/gptfdisk/popt-1.19.patch @@ -0,0 +1,37 @@ +From 5d5e76d369a412bfb3d2cebb5fc0a7509cef878d Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Fri, 15 Apr 2022 18:10:14 -0400 +Subject: [PATCH] Fix failure & crash of sgdisk when compiled with latest popt + (commit 740; presumably eventually release 1.19) + +--- + gptcl.cc | 2 +- + support.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gptcl.cc b/gptcl.cc +index 34c9421..0d578eb 100644 +--- a/gptcl.cc ++++ b/gptcl.cc +@@ -155,7 +155,7 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) { + } // while + + // Assume first non-option argument is the device filename.... +- device = (char*) poptGetArg(poptCon); ++ device = strdup((char*) poptGetArg(poptCon)); + poptResetContext(poptCon); + + if (device != NULL) { +diff --git a/support.h b/support.h +index 8ba9ad1..f91f1bc 100644 +--- a/support.h ++++ b/support.h +@@ -8,7 +8,7 @@ + #include + #include + +-#define GPTFDISK_VERSION "1.0.9" ++#define GPTFDISK_VERSION "1.0.9.1" + + #if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__) + // Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64 diff --git a/sys/apps/gptfdisk/util-linux-2.38.patch b/sys/apps/gptfdisk/util-linux-2.38.patch new file mode 100644 index 00000000..1d4fbbda --- /dev/null +++ b/sys/apps/gptfdisk/util-linux-2.38.patch @@ -0,0 +1,22 @@ +From 6a8416cbd12d55f882bb751993b94f72d338d96f Mon Sep 17 00:00:00 2001 +From: Rod Smith +Date: Sat, 16 Apr 2022 09:32:04 -0400 +Subject: [PATCH] Updated guid.cc to deal with minor change in libuuid + +--- + guid.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/guid.cc b/guid.cc +index 1e73ab7..d3e4fd5 100644 +--- a/guid.cc ++++ b/guid.cc +@@ -141,7 +141,7 @@ void GUIDData::Zero(void) { + void GUIDData::Randomize(void) { + int i, uuidGenerated = 0; + +-#ifdef _UUID_UUID_H ++#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H) + uuid_generate(uuidData); + ReverseBytes(&uuidData[0], 4); + ReverseBytes(&uuidData[4], 2); diff --git a/sys/apps/gptfdisk/ympbuild b/sys/apps/gptfdisk/ympbuild new file mode 100644 index 00000000..ecbd732a --- /dev/null +++ b/sys/apps/gptfdisk/ympbuild @@ -0,0 +1,57 @@ +#!/usr/bin/env bash +name='gptfdisk' +release='1' +version='1.0.9' +url='https://www.rodsbooks.com/gdisk/' +description='GPT partition table manipulator for Linux' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://www.rodsbooks.com/gdisk/gptfdisk-$version.tar.gz" + "popt-1.19.patch" + "popt-1.19-follow-up.patch" + "util-linux-2.38.patch" +) +depends=(popt) +makedepends=() +md5sums=('01c11ecfa454096543562e3068530e01' +'SKIP' +'SKIP' +'SKIP' +) +group=(sys.apps) +uses=() +arch=('x86_64') + +cd $name-$version +prepare() { + patch -Np1 -i ../popt-1.19.patch + patch -Np1 -i ../util-linux-2.38.patch + # https://sourceforge.net/p/gptfdisk/code/merge-requests/28/ + patch -Np1 -i ../popt-1.19-follow-up.patch + # https://sourceforge.net/p/gptfdisk/discussion/939590/thread/bc29ca06f8/ + sed -i '/^#include /s:ncursesw/::' gptcurses.cc +} + + +setup(){ + #./autogen.sh + #./configure --prefix=/usr \ + #--libdir=/usr/lib64/ + echo "" +} + +build(){ + make $jobs +} + +package(){ + # make install $jobs + #install -d "$pkgdir"/usr/{bin,share/{doc/gdisk,man/man8}} + #install -t "$DESTDIR/usr/bin" {,c,s}gdisk fixparts + #install -m644 -t "$pkgdir/usr/share/man/man8" {{,c,s}gdisk,fixparts}.8 + #install -m644 -t "$pkgdir/usr/share/doc/gdisk" README NEWS + echo "" + +} + diff --git a/sys/apps/keyutils/ympbuild b/sys/apps/keyutils/ympbuild new file mode 100644 index 00000000..ba1a204b --- /dev/null +++ b/sys/apps/keyutils/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='keyutils' +release='1' +version='1.6.3' +url='https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git' +description='Linux Key Management Utilities' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-$version.tar.gz") +depends=() +makedepends=() +md5sums=('6b70b2b381c1b6d9adfaf66d5d3e7c00') +group=(sys.apps) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + + #./configure --prefix=/usr \ + #--libdir=/usr/lib64/ + echo "" +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/sys/block/ndctl/ympbuild b/sys/block/ndctl/ympbuild new file mode 100644 index 00000000..bca647c5 --- /dev/null +++ b/sys/block/ndctl/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='ndctl' +release='1' +version='77' +url='https://github.com/pmem/ndctl' +description='Helper tools and libraries for managing non-volatile memory on Linux' +email='bayramk@gmail.com' +maintainer='bk' +license=('GPLv3') +source=("https://github.com/pmem/ndctl/archive/refs/tags/v$version.tar.gz") +depends=(json-c kmod libtraceevent libtracefs keyutils iniparser) +makedepends=() +md5sums=('22adf45411cfbd111f4cd05f5c1012f5') +group=(sys.block) +uses=() +arch=('x86_64') + +cd $name-$version +setup(){ + meson setup build --prefix=/usr \ + --libdir=/usr/lib64/ \ + -Ddocs=disabled \ + -Dtest=disabled +} + +build(){ + ninja -C build +} + +package(){ + ninja -C build install +} + diff --git a/sys/fs/btrfs-progs/btrfs-progs.install b/sys/fs/btrfs-progs/btrfs-progs.install new file mode 100644 index 00000000..1e75f025 --- /dev/null +++ b/sys/fs/btrfs-progs/btrfs-progs.install @@ -0,0 +1,15 @@ +#!/bin/sh + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + if (( "$(vercmp "$2" 0.19.20121005)" < 0 )); then + echo 'btrfs multi-device support now relies on linux 3.6 or later' + elif (( "$(vercmp "$2" 4.3.1-2)" < 0 )); then + echo 'btrfs-scrub@.timer instance names must not be prefix by dash anymore' + echo 'use btrfs-scrub@-.timer to scrub / monthly' + echo ' btrfs-scrub@home.timer to scrub /home monthly.' + fi +} + +# vim:set ts=2 sw=2 et: diff --git a/sys/fs/btrfs-progs/btrfs-scrub@.service b/sys/fs/btrfs-progs/btrfs-scrub@.service new file mode 100644 index 00000000..ac2e16d3 --- /dev/null +++ b/sys/fs/btrfs-progs/btrfs-scrub@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Btrfs scrub on %f +ConditionPathIsMountPoint=%f +RequiresMountsFor=%f + +[Service] +Nice=19 +IOSchedulingClass=idle +KillSignal=SIGINT +ExecStart=/usr/bin/btrfs scrub start -B %f diff --git a/sys/fs/btrfs-progs/btrfs-scrub@.timer b/sys/fs/btrfs-progs/btrfs-scrub@.timer new file mode 100644 index 00000000..7ee54a5f --- /dev/null +++ b/sys/fs/btrfs-progs/btrfs-scrub@.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Monthly Btrfs scrub on %f + +[Timer] +OnCalendar=monthly +AccuracySec=1d +RandomizedDelaySec=1w +Persistent=true + +[Install] +WantedBy=timers.target diff --git a/sys/fs/btrfs-progs/initcpio-hook-btrfs b/sys/fs/btrfs-progs/initcpio-hook-btrfs new file mode 100644 index 00000000..7965d0a8 --- /dev/null +++ b/sys/fs/btrfs-progs/initcpio-hook-btrfs @@ -0,0 +1,7 @@ +#!/usr/bin/ash + +run_hook() { + btrfs device scan +} + +# vim: set ft=sh ts=4 sw=4 et: diff --git a/sys/fs/btrfs-progs/initcpio-install-btrfs b/sys/fs/btrfs-progs/initcpio-install-btrfs new file mode 100644 index 00000000..f7b0285b --- /dev/null +++ b/sys/fs/btrfs-progs/initcpio-install-btrfs @@ -0,0 +1,17 @@ +#!/bin/bash + +build() { + add_module btrfs + add_binary btrfs + add_binary btrfsck + add_runscript +} + +help() { + cat <