Merge pull request #1282 from friberk/master
lvm2, mkinitcpio, man-pages rebuild
This commit is contained in:
@@ -9,111 +9,38 @@ from pisi.actionsapi import autotools
|
|||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
|
|
||||||
def builddiet():
|
|
||||||
pisitools.flags.add("-fno-lto")
|
|
||||||
shelltools.export("LIBS","-lpthread -luuid")
|
|
||||||
#dietCC = "diet %s %s %s -Os -static" % (get.CC(), get.CFLAGS(), get.LDFLAGS())
|
|
||||||
dietCC = "%s %s %s -Os -static" % (get.CC(), get.CFLAGS(), get.LDFLAGS())
|
|
||||||
shelltools.export("CC", dietCC)
|
|
||||||
|
|
||||||
autotools.make("distclean")
|
|
||||||
|
|
||||||
autotools.autoreconf("-fi")
|
|
||||||
autotools.configure('--with-thin-check= \
|
|
||||||
--with-thin-dump= \
|
|
||||||
--with-thin-repair= \
|
|
||||||
--with-thin-restore= \
|
|
||||||
--with-cache-check= \
|
|
||||||
--with-cache-dump= \
|
|
||||||
--with-cache-repair= \
|
|
||||||
--with-cache-restore= \
|
|
||||||
ac_cv_lib_dl_dlopen=no \
|
|
||||||
--with-staticdir="/sbin" \
|
|
||||||
--enable-debug \
|
|
||||||
--with-optimisation=\"%s -Os\" \
|
|
||||||
--enable-static_link \
|
|
||||||
--with-lvm1=internal \
|
|
||||||
--disable-readline \
|
|
||||||
--disable-nls \
|
|
||||||
--disable-selinux \
|
|
||||||
--with-confdir=/etc \
|
|
||||||
--enable-applib \
|
|
||||||
--enable-cmdlib \
|
|
||||||
--enable-pkgconfig \
|
|
||||||
--enable-udev_rules \
|
|
||||||
--with-systemdsystemunitdir=no \
|
|
||||||
--enable-udev_sync' % get.CFLAGS())
|
|
||||||
|
|
||||||
#pisitools.dosed("lib/misc/configure.h","rpl_malloc","malloc")
|
|
||||||
#pisitools.dosed("lib/misc/configure.h","rpl_realloc","realloc")
|
|
||||||
|
|
||||||
autotools.make("-j1 -C include")
|
|
||||||
autotools.make("-j1 -C lib LIB_SHARED= VERSIONED_SHLIB=")
|
|
||||||
autotools.make("-j1 -C libdm LIB_SHARED= VERSIONED_SHLIB=")
|
|
||||||
autotools.make("-j1 -C libdaemon LIB_SHARED= VERSIONED_SHLIB=")
|
|
||||||
autotools.make("-j1 -C tools dmsetup.static lvm.static DIETLIBC_LIBS=\"-lcompat\"")
|
|
||||||
|
|
||||||
pisitools.insinto("/usr/lib/dietlibc/lib-i386", "libdm/ioctl/libdevmapper.a")
|
|
||||||
pisitools.insinto("/sbin/", "tools/lvm.static")
|
|
||||||
pisitools.insinto("/sbin/", "tools/dmsetup.static")
|
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
# Breaks linking when sandbox is disabled
|
shelltools.export("CONFIG_SHELL", "/bin/bash")
|
||||||
shelltools.export("CLDFLAGS", "%s -lpthread" %get.LDFLAGS())
|
autotools.configure("--with-usrlibdir=/usr/lib \
|
||||||
|
--with-usrsbindir=%s \
|
||||||
shelltools.export("LIB_PTHREAD", "-lpthread")
|
--with-confdir=/etc \
|
||||||
pisitools.dosed("conf/example.conf.in", "use_lvmetad = 0", "use_lvmetad = 1")
|
--with-udevdir=/lib/udev/rules.d \
|
||||||
|
|
||||||
#shelltools.system(""" sed -i -e "1iAR = $(tc-getAR)" -e "s:CC ?= @CC@:CC = $(tc-getCC):" make.tmpl.in || die """)
|
|
||||||
shelltools.system(""" sed -i -e '/FLAG/s:-O2::' configure || die """)
|
|
||||||
shelltools.system(""" sed -i -e '/FLAG/s:-O2::' configure.ac || die """)
|
|
||||||
|
|
||||||
autotools.autoreconf("-fi")
|
|
||||||
autotools.configure("--with-thin-check= \
|
|
||||||
--with-thin-dump= \
|
|
||||||
--with-thin-repair= \
|
|
||||||
--with-thin-restore= \
|
|
||||||
--with-cache-check= \
|
|
||||||
--with-cache-dump= \
|
|
||||||
--with-cache-repair= \
|
|
||||||
--with-cache-restore= \
|
|
||||||
--enable-lvm1_fallback \
|
|
||||||
--with-default-pid-dir=/run \
|
--with-default-pid-dir=/run \
|
||||||
--with-default-run-dir=/run/lvm \
|
--with-default-run-dir=/run/lvm \
|
||||||
--with-default-locking-dir=/run/lock/lvm \
|
--with-default-locking-dir=/run/lock/lvm \
|
||||||
--with-dmeventd-path=/sbin/dmeventd \
|
|
||||||
--enable-fsadm \
|
|
||||||
--with-pool=internal \
|
|
||||||
--with-user= \
|
|
||||||
--with-group= \
|
|
||||||
--with-usrlibdir=/usr/lib \
|
|
||||||
--with-usrsbindir=%s \
|
|
||||||
--with-udevdir=/lib/udev/rules.d \
|
|
||||||
--with-device-uid=0 \
|
--with-device-uid=0 \
|
||||||
--with-device-gid=6 \
|
--with-device-gid=6 \
|
||||||
--with-device-mode=0660 \
|
--with-device-mode=0660 \
|
||||||
--enable-dmeventd \
|
--with-cache=internal \
|
||||||
--enable-udev_rules \
|
|
||||||
--enable-udev_sync \
|
|
||||||
--with-snapshots=internal \
|
--with-snapshots=internal \
|
||||||
--with-mirrors=internal \
|
--with-mirrors=internal \
|
||||||
|
--with-thin=internal \
|
||||||
--with-interface=ioctl \
|
--with-interface=ioctl \
|
||||||
--enable-static_link=no \
|
--enable-udev_rules \
|
||||||
--disable-readline \
|
--enable-udev_sync \
|
||||||
--disable-realtime \
|
|
||||||
--disable-selinux \
|
--disable-selinux \
|
||||||
--with-confdir=/etc \
|
--enable-readline \
|
||||||
|
--enable-fsadm \
|
||||||
--enable-applib \
|
--enable-applib \
|
||||||
--enable-cmdlib \
|
--enable-cmdlib \
|
||||||
--enable-pkgconfig " % get.sbinDIR())
|
--enable-pkgconfig \
|
||||||
|
--enable-dmeventd \
|
||||||
|
--enable-lvmetad \
|
||||||
|
--enable-lvmpolld" % get.sbinDIR())
|
||||||
|
|
||||||
# pisitools.dosed("make.tmpl","-lm","")
|
# pisitools.dosed("make.tmpl","-lm","")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make("-C include")
|
|
||||||
#autotools.make("-C libdm")
|
|
||||||
#autotools.make("-C lib")
|
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
@@ -121,9 +48,11 @@ def install():
|
|||||||
|
|
||||||
for dir in ["archive", "backup", "cache"]:
|
for dir in ["archive", "backup", "cache"]:
|
||||||
pisitools.dodir("/etc/lvm/%s" % dir)
|
pisitools.dodir("/etc/lvm/%s" % dir)
|
||||||
shelltools.chmod(get.installDIR() + "/etc/lvm/%s" % dir, 0700)
|
shelltools.chmod(get.installDIR() + "/etc/lvm/%s" % dir, 0755)
|
||||||
|
shelltools.chown(get.installDIR() + "/etc/lvm/%s" % dir, uid = 'root', gid = 'root')
|
||||||
|
|
||||||
|
shelltools.system("sed -i 's,use_lvmetad = 1,use_lvmetad = 1,' %s/etc/lvm/lvm.conf" % get.installDIR())
|
||||||
|
|
||||||
#pisitools.move("/sbin/lvmconf","scripts/lvmconf.sh")
|
#pisitools.move("/sbin/lvmconf","scripts/lvmconf.sh")
|
||||||
|
|
||||||
builddiet()
|
pisitools.dodoc("COPYING", "COPYING.LIB", "README", "VERSION", "WHATS_NEW") # "VERSION_DM", "WHATS_NEW_DM"
|
||||||
pisitools.dodoc("COPYING", "COPYING.LIB", "README", "VERSION", "VERSION_DM", "WHATS_NEW", "WHATS_NEW_DM")
|
|
||||||
|
|||||||
@@ -3,4 +3,14 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||||
os.system("/sbin/mudur_tmpfiles.py /usr/lib/tmpfiles.d/lvm2.conf")
|
if os.path.exists("/etc/lvm/lvm.conf"):
|
||||||
|
with open("/etc/lvm/lvm.conf", 'r') as file:
|
||||||
|
fileContent = file.readlines()
|
||||||
|
for lineIndex in range(len(fileContent)):
|
||||||
|
if ('use_lvmetad =' in fileContent[lineIndex]):
|
||||||
|
fileContent[lineIndex] = ' use_lvmetad = 1\n'
|
||||||
|
with open("/etc/lvm/lvm.conf", 'w') as tableFile:
|
||||||
|
tableFile.writelines(fileContent)
|
||||||
|
break
|
||||||
|
|
||||||
|
os.system("/sbin/mudur_tmpfiles.py /usr/lib/tmpfiles.d/lvm2.conf")
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
--- ./tools/lvmcmdline.c
|
||||||
|
+++ ./tools/lvmcmdline.c
|
||||||
|
@@ -1252,7 +1252,7 @@
|
||||||
|
int err = is_valid_fd(STDERR_FILENO);
|
||||||
|
|
||||||
|
if (!is_valid_fd(STDIN_FILENO) &&
|
||||||
|
- !(stdin = fopen(_PATH_DEVNULL, "r"))) {
|
||||||
|
+ !freopen(_PATH_DEVNULL, "r", stdin)) {
|
||||||
|
if (err)
|
||||||
|
perror("stdin stream open");
|
||||||
|
else
|
||||||
|
@@ -1262,7 +1262,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!is_valid_fd(STDOUT_FILENO) &&
|
||||||
|
- !(stdout = fopen(_PATH_DEVNULL, "w"))) {
|
||||||
|
+ !freopen(_PATH_DEVNULL, "w", stdout)) {
|
||||||
|
if (err)
|
||||||
|
perror("stdout stream open");
|
||||||
|
/* else no stdout */
|
||||||
|
@@ -1270,7 +1270,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!is_valid_fd(STDERR_FILENO) &&
|
||||||
|
- !(stderr = fopen(_PATH_DEVNULL, "w"))) {
|
||||||
|
+ !freopen(_PATH_DEVNULL, "w", stderr)) {
|
||||||
|
printf("stderr stream open: %s\n",
|
||||||
|
strerror(errno));
|
||||||
|
return 0;
|
||||||
|
--- ./lib/commands/toolcontext.c
|
||||||
|
+++ ./lib/commands/toolcontext.c
|
||||||
|
@@ -1869,7 +1869,7 @@
|
||||||
|
/* FIXME Make this configurable? */
|
||||||
|
reset_lvm_errno(1);
|
||||||
|
|
||||||
|
-#ifndef VALGRIND_POOL
|
||||||
|
+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
|
||||||
|
/* Set in/out stream buffering before glibc */
|
||||||
|
if (set_buffering
|
||||||
|
#ifdef SYS_gettid
|
||||||
|
@@ -2274,7 +2274,7 @@
|
||||||
|
|
||||||
|
if (cmd->pending_delete_mem)
|
||||||
|
dm_pool_destroy(cmd->pending_delete_mem);
|
||||||
|
-#ifndef VALGRIND_POOL
|
||||||
|
+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
|
||||||
|
if (cmd->linebuffer) {
|
||||||
|
/* Reset stream buffering to defaults */
|
||||||
|
if (is_valid_fd(STDIN_FILENO) &&
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
--- ./lib/config/defaults.h.orig 2017-04-27 18:16:05.879936377 +0200
|
||||||
|
+++ ./lib/config/defaults.h 2017-04-27 18:16:35.141849047 +0200
|
||||||
|
@@ -55,7 +55,11 @@
|
||||||
|
#define DEFAULT_LVMLOCKD_LOCK_RETRIES 3
|
||||||
|
#define DEFAULT_LVMETAD_UPDATE_WAIT_TIME 10
|
||||||
|
#define DEFAULT_PRIORITISE_WRITE_LOCKS 1
|
||||||
|
+#ifdef __GLIBC__
|
||||||
|
#define DEFAULT_USE_MLOCKALL 0
|
||||||
|
+#else
|
||||||
|
+#define DEFAULT_USE_MLOCKALL 1
|
||||||
|
+#endif
|
||||||
|
#define DEFAULT_METADATA_READ_ONLY 0
|
||||||
|
#define DEFAULT_LVDISPLAY_SHOWS_FULL_DEVICE_PATH 0
|
||||||
|
#define DEFAULT_UNKNOWN_DEVICE_NAME "[unknown]"
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
--- a/lib/mm/memlock.c
|
||||||
|
+++ b/lib/mm/memlock.c
|
||||||
|
@@ -159,7 +159,7 @@ static void _touch_memory(void *mem, siz
|
||||||
|
|
||||||
|
static void _allocate_memory(void)
|
||||||
|
{
|
||||||
|
-#ifndef VALGRIND_POOL
|
||||||
|
+#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
|
||||||
|
void *stack_mem;
|
||||||
|
struct rlimit limit;
|
||||||
|
int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks;
|
||||||
|
--- a/libdaemon/server/daemon-server.c
|
||||||
|
+++ b/libdaemon/server/daemon-server.c
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
#include "daemon-server.h"
|
||||||
|
#include "daemon-log.h"
|
||||||
|
|
||||||
|
+#include <fcntl.h>
|
||||||
|
#include <dlfcn.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <pthread.h>
|
||||||
@@ -16,18 +16,18 @@
|
|||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>libutil-linux-devel</Dependency>
|
<Dependency>libutil-linux-devel</Dependency>
|
||||||
<Dependency>eudev-devel</Dependency>
|
<Dependency>eudev-devel</Dependency>
|
||||||
<Dependency>autoconf-archive</Dependency>
|
|
||||||
<Dependency>libaio-devel</Dependency>
|
<Dependency>libaio-devel</Dependency>
|
||||||
<!-- <Dependency>thin-provisioning-tools</Dependency> -->
|
<Dependency>readline-devel</Dependency>
|
||||||
|
<Dependency>thin-provisioning-tools</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!--<Patch level="1">lvm2-2.02.63-always-make-static-libdm.patch</Patch>
|
<!--Patch level="1">lvm2-2.02.63-always-make-static-libdm.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.92-dynamic-static-ldflags.patch</Patch>
|
<Patch level="1">lvm2-2.02.92-dynamic-static-ldflags.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.105-pthread-pkgconfig.patch</Patch>
|
<Patch level="1">lvm2-2.02.105-pthread-pkgconfig.patch</Patch>
|
||||||
<Patch>lvm2-2.02.106-static-pkgconfig-libs.patch</Patch>-->
|
<Patch>lvm2-2.02.106-static-pkgconfig-libs.patch</Patch>
|
||||||
<!-- <Patch level="1">lvm2-2.03.05-pthread-pkgconfig.patch</Patch> -->
|
<Patch level="1">lvm2-2.03.05-pthread-pkgconfig.patch</Patch>
|
||||||
<!-- <Patch level="1">lvm2-2.03.05-dynamic-static-ldflags.patch</Patch> -->
|
<Patch level="1">lvm2-2.03.05-dynamic-static-ldflags.patch</Patch>
|
||||||
<!-- <Patch level="1">lvm2-2.03.05-dmeventd-no-idle-exit.patch</Patch> -->
|
<Patch level="1">lvm2-2.03.05-dmeventd-no-idle-exit.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.178-static-pkgconfig-libs.patch</Patch>
|
<Patch level="1">lvm2-2.02.178-static-pkgconfig-libs.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.56-lvm2create_initrd.patch</Patch>
|
<Patch level="1">lvm2-2.02.56-lvm2create_initrd.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.67-createinitrd.patch</Patch>
|
<Patch level="1">lvm2-2.02.67-createinitrd.patch</Patch>
|
||||||
@@ -35,8 +35,10 @@
|
|||||||
<Patch level="1">lvm2-2.02.171-static-libm.patch</Patch>
|
<Patch level="1">lvm2-2.02.171-static-libm.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.166-HPPA-no-O_DIRECT.patch</Patch>
|
<Patch level="1">lvm2-2.02.166-HPPA-no-O_DIRECT.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.184-mksh_build.patch</Patch>
|
<Patch level="1">lvm2-2.02.184-mksh_build.patch</Patch>
|
||||||
|
<Patch level="1">lvm2-2.02.186-udev_remove_unsupported_option.patch</Patch-->
|
||||||
<Patch level="1">lvm2-2.02.186-udev_remove_unsupported_option.patch</Patch>
|
<Patch level="1">fix-stdio-usage.patch</Patch>
|
||||||
|
<Patch level="1">mlockall-default-config.patch</Patch>
|
||||||
|
<Patch level="1">portability.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -55,8 +57,8 @@
|
|||||||
<Path fileType="data">/lib/udev/rules.d/10-dm.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/10-dm.rules</Path>
|
||||||
<Path fileType="data">/lib/udev/rules.d/13-dm-disk.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/13-dm-disk.rules</Path>
|
||||||
<Path fileType="data">/lib/udev/rules.d/95-dm-notify.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/95-dm-notify.rules</Path>
|
||||||
<Path fileType="doc">/usr/share/doc/VERSION_DM</Path>
|
<!--Path fileType="doc">/usr/share/doc/lvm2/VERSION_DM</Path>
|
||||||
<Path fileType="doc">/usr/share/doc/WHATS_NEW_DM</Path>
|
<Path fileType="doc">/usr/share/doc/lvm2/WHATS_NEW_DM</Path-->
|
||||||
<Path fileType="man">/usr/share/man/man8/dmsetup.8</Path>
|
<Path fileType="man">/usr/share/man/man8/dmsetup.8</Path>
|
||||||
<Path fileType="man">/usr/share/man/man8/dmstats.8</Path>
|
<Path fileType="man">/usr/share/man/man8/dmstats.8</Path>
|
||||||
</Files>
|
</Files>
|
||||||
@@ -67,7 +69,7 @@
|
|||||||
<Summary>Development libraries and headers for device-mapper</Summary>
|
<Summary>Development libraries and headers for device-mapper</Summary>
|
||||||
<Description>Device-mapper-devel contains files needed to develop applications that use the device-mapper libraries.</Description>
|
<Description>Device-mapper-devel contains files needed to develop applications that use the device-mapper libraries.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current" >device-mapper</Dependency>
|
<Dependency release="current">device-mapper</Dependency>
|
||||||
<Dependency>eudev-devel</Dependency>
|
<Dependency>eudev-devel</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -81,13 +83,12 @@
|
|||||||
<Summary>Device-mapper event daemon</Summary>
|
<Summary>Device-mapper event daemon</Summary>
|
||||||
<Description>This package contains the dmeventd daemon for monitoring the state of device-mapper devices.</Description>
|
<Description>This package contains the dmeventd daemon for monitoring the state of device-mapper devices.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current" >device-mapper</Dependency>
|
<Dependency release="current">device-mapper</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/sbin/dmeventd</Path>
|
<Path fileType="executable">/usr/sbin/dmeventd</Path>
|
||||||
<Path fileType="library">/usr/lib/libdevmapper-event.a</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event.a</Path>
|
||||||
<Path fileType="library">/usr/lib/libdevmapper-event.so*</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event.so*</Path>
|
||||||
|
|
||||||
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2vdo.so</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2vdo.so</Path>
|
||||||
<Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2vdo.so</Path>
|
<Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2vdo.so</Path>
|
||||||
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2thin.so</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2thin.so</Path>
|
||||||
@@ -101,7 +102,7 @@
|
|||||||
<Summary>Development libraries and headers for the device-mapper event daemon</Summary>
|
<Summary>Development libraries and headers for the device-mapper event daemon</Summary>
|
||||||
<Description>This contains contains files needed to develop applications that use the device-mapper event library.</Description>
|
<Description>This contains contains files needed to develop applications that use the device-mapper event library.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current" >device-mapper-event</Dependency>
|
<Dependency release="current">device-mapper-event</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include/libdevmapper-event.h</Path>
|
<Path fileType="header">/usr/include/libdevmapper-event.h</Path>
|
||||||
@@ -116,11 +117,13 @@
|
|||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current">device-mapper</Dependency>
|
<Dependency release="current">device-mapper</Dependency>
|
||||||
<Dependency release="current">device-mapper-event</Dependency>
|
<Dependency release="current">device-mapper-event</Dependency>
|
||||||
<Dependency>libutil-linux</Dependency>
|
<Dependency>libaio</Dependency>
|
||||||
<Dependency>eudev</Dependency>
|
<Dependency>eudev</Dependency>
|
||||||
|
<Dependency>libutil-linux</Dependency>
|
||||||
|
<Dependency>readline</Dependency>
|
||||||
|
<Dependency>thin-provisioning-tools</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/sbin/lvmconf</Path>
|
|
||||||
<Path fileType="executable">/usr/sbin/blkdeactivate</Path>
|
<Path fileType="executable">/usr/sbin/blkdeactivate</Path>
|
||||||
<Path fileType="executable">/usr/sbin/fsadm</Path>
|
<Path fileType="executable">/usr/sbin/fsadm</Path>
|
||||||
<Path fileType="executable">/usr/sbin/lv*</Path>
|
<Path fileType="executable">/usr/sbin/lv*</Path>
|
||||||
@@ -135,14 +138,20 @@
|
|||||||
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2snapshot.so</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2snapshot.so</Path>
|
||||||
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2raid.so</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2raid.so</Path>
|
||||||
<Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so</Path>
|
<Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so</Path>
|
||||||
<Path fileType="config">/etc/lvm</Path>
|
<Path fileType="config">/etc/lvm/lvm.conf</Path>
|
||||||
|
<Path fileType="config">/etc/lvm/lvmlocal.conf</Path>
|
||||||
<Path fileType="data">/etc/lvm/archive</Path>
|
<Path fileType="data">/etc/lvm/archive</Path>
|
||||||
<Path fileType="data">/etc/lvm/backup</Path>
|
<Path fileType="data">/etc/lvm/backup</Path>
|
||||||
<Path fileType="data">/etc/lvm/cache</Path>
|
<Path fileType="data">/etc/lvm/cache</Path>
|
||||||
<Path fileType="data">/var/lock/lvm</Path>
|
<Path fileType="data">/etc/lvm/profile</Path>
|
||||||
<Path fileType="data">/lib/udev/rules.d/11-dm-lvm.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/11-dm-lvm.rules</Path>
|
||||||
|
<Path fileType="data">/lib/udev/rules.d/69-dm-lvm-metad.rules</Path>
|
||||||
<Path fileType="data">/usr/lib/tmpfiles.d/lvm2.conf</Path>
|
<Path fileType="data">/usr/lib/tmpfiles.d/lvm2.conf</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc/lvm2/COPYING</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/COPYING.LIB</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/README</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/VERSION</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/WHATS_NEW</Path>
|
||||||
<Path fileType="man">/usr/share/man/man5/lvm.conf.5</Path>
|
<Path fileType="man">/usr/share/man/man5/lvm.conf.5</Path>
|
||||||
<Path fileType="man">/usr/share/man/man7</Path>
|
<Path fileType="man">/usr/share/man/man7</Path>
|
||||||
<Path fileType="man">/usr/share/man/man8/fsadm.8</Path>
|
<Path fileType="man">/usr/share/man/man8/fsadm.8</Path>
|
||||||
@@ -164,10 +173,10 @@
|
|||||||
<Summary>Development libraries and headers</Summary>
|
<Summary>Development libraries and headers</Summary>
|
||||||
<Description>This package contains files needed to develop applications that use the lvm2 libraries.</Description>
|
<Description>This package contains files needed to develop applications that use the lvm2 libraries.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libutil-linux-devel</Dependency>
|
|
||||||
<Dependency release="current">lvm2</Dependency>
|
<Dependency release="current">lvm2</Dependency>
|
||||||
<Dependency release="current">device-mapper-devel</Dependency>
|
<Dependency release="current">device-mapper-devel</Dependency>
|
||||||
<Dependency release="current">device-mapper-event-devel</Dependency>
|
<Dependency release="current">device-mapper-event-devel</Dependency>
|
||||||
|
<Dependency>libutil-linux-devel</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include/lvm2cmd.h</Path>
|
<Path fileType="header">/usr/include/lvm2cmd.h</Path>
|
||||||
@@ -176,36 +185,14 @@
|
|||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>dietlibc-libdevmapper</Name>
|
|
||||||
<Summary>Static devmapper library built with dietlibc</Summary>
|
|
||||||
<Description>device mapper contains ioctl library and utilities for use with logical volume management (LVM2) built with dietlibc</Description>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="library">/usr/lib/dietlibc/lib-i386/libdevmapper.a</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>device-mapper-static</Name>
|
|
||||||
<Summary>Staticaly linked Device-mapper library and utility</Summary>
|
|
||||||
<Description>device mapper contains statically linked libraries and utility for initramfs.</Description>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="executable">/sbin/dmsetup.static</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>lvm2-static</Name>
|
|
||||||
<Summary>Staticaly linked Logical Volume Management utilities</Summary>
|
|
||||||
<Description>Number of utilities for creating, checking, and repairing logical volumes - statically linked for initramfs.</Description>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="executable">/sbin/lvm.static</Path>
|
|
||||||
<Path fileType="library">/usr/lib/liblvm2app.a</Path>
|
|
||||||
<Path fileType="library">/usr/lib/liblvm2cmd.a</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="8">
|
||||||
|
<Date>2021-09-14</Date>
|
||||||
|
<Version>2.02.186</Version>
|
||||||
|
<Comment>Rebuild.</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="7">
|
<Update release="7">
|
||||||
<Date>2020-12-09</Date>
|
<Date>2020-12-09</Date>
|
||||||
<Version>2.02.186</Version>
|
<Version>2.02.186</Version>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ def install():
|
|||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
pisitools.removeDir("/usr/lib/kernel")
|
pisitools.removeDir("/usr/lib/kernel")
|
||||||
pisitools.removeDir("/usr/lib/tmpfiles.d")
|
pisitools.removeDir("/etc/mkinitcpio.d")
|
||||||
pisitools.remove("/usr/lib/initcpio/install/sd-*")
|
pisitools.remove("/usr/lib/initcpio/install/sd-*")
|
||||||
pisitools.removeDir("/usr/share/libalpm")
|
pisitools.removeDir("/usr/share/libalpm")
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
|
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||||
|
os.system("/sbin/mudur_tmpfiles.py /usr/lib/tmpfiles.d/mkinitcpio.conf")
|
||||||
+48
-15
@@ -4,14 +4,7 @@
|
|||||||
|
|
||||||
# Udev rules for LVM.
|
# Udev rules for LVM.
|
||||||
#
|
#
|
||||||
# Scan all block devices having a PV label for LVM metadata.
|
# This rule requires blkid to be called on block devices before so only devices
|
||||||
# Store this information in LVMetaD (the LVM metadata daemon) and maintain LVM
|
|
||||||
# metadata state for improved performance by avoiding further scans while
|
|
||||||
# running subsequent LVM commands or while using lvm2app library.
|
|
||||||
# Also, notify LVMetaD about any relevant block device removal.
|
|
||||||
#
|
|
||||||
# This rule is essential for having the information in LVMetaD up-to-date.
|
|
||||||
# It also requires blkid to be called on block devices before so only devices
|
|
||||||
# used as LVM PVs are processed (ID_FS_TYPE="LVM2_member" or "LVM1_member").
|
# used as LVM PVs are processed (ID_FS_TYPE="LVM2_member" or "LVM1_member").
|
||||||
|
|
||||||
SUBSYSTEM!="block", GOTO="lvm_end"
|
SUBSYSTEM!="block", GOTO="lvm_end"
|
||||||
@@ -19,8 +12,7 @@ SUBSYSTEM!="block", GOTO="lvm_end"
|
|||||||
|
|
||||||
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="lvm_end"
|
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="lvm_end"
|
||||||
|
|
||||||
# If the PV label got lost, inform lvmetad immediately.
|
# Detect removed PV label by comparing previous ID_FS_TYPE value with current one.
|
||||||
# Detect the lost PV label by comparing previous ID_FS_TYPE value with current one.
|
|
||||||
ENV{.ID_FS_TYPE_NEW}="$env{ID_FS_TYPE}"
|
ENV{.ID_FS_TYPE_NEW}="$env{ID_FS_TYPE}"
|
||||||
IMPORT{db}="ID_FS_TYPE"
|
IMPORT{db}="ID_FS_TYPE"
|
||||||
ENV{ID_FS_TYPE}=="LVM2_member|LVM1_member", ENV{.ID_FS_TYPE_NEW}!="LVM2_member|LVM1_member", ENV{LVM_PV_GONE}="1"
|
ENV{ID_FS_TYPE}=="LVM2_member|LVM1_member", ENV{.ID_FS_TYPE_NEW}!="LVM2_member|LVM1_member", ENV{LVM_PV_GONE}="1"
|
||||||
@@ -31,7 +23,6 @@ ENV{LVM_PV_GONE}=="1", GOTO="lvm_scan"
|
|||||||
ENV{ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_end"
|
ENV{ID_FS_TYPE}!="LVM2_member|LVM1_member", GOTO="lvm_end"
|
||||||
ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO="lvm_end"
|
ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO="lvm_end"
|
||||||
|
|
||||||
# Inform lvmetad about any PV that is gone.
|
|
||||||
ACTION=="remove", GOTO="lvm_scan"
|
ACTION=="remove", GOTO="lvm_scan"
|
||||||
|
|
||||||
# Create /dev/disk/by-id/lvm-pv-uuid-<PV_UUID> symlink for each PV
|
# Create /dev/disk/by-id/lvm-pv-uuid-<PV_UUID> symlink for each PV
|
||||||
@@ -68,26 +59,68 @@ ACTION=="change", ENV{LVM_LOOP_PV_ACTIVATED}!="1", TEST=="loop/backing_file", EN
|
|||||||
ENV{LVM_LOOP_PV_ACTIVATED}!="1", ENV{SYSTEMD_READY}="0"
|
ENV{LVM_LOOP_PV_ACTIVATED}!="1", ENV{SYSTEMD_READY}="0"
|
||||||
GOTO="lvm_end"
|
GOTO="lvm_end"
|
||||||
|
|
||||||
# If the PV is not a special device listed above, scan only after device addition (ADD event)
|
# If the PV is not a special device listed above, scan only if necessary.
|
||||||
|
# For "systemd_background" mode, systemd takes care of this by activating
|
||||||
|
# the lvm2-pvscan@.service only once.
|
||||||
LABEL="next"
|
LABEL="next"
|
||||||
ACTION!="add", GOTO="lvm_end"
|
ACTION!="add", GOTO="lvm_end"
|
||||||
|
|
||||||
LABEL="lvm_scan"
|
LABEL="lvm_scan"
|
||||||
|
|
||||||
# The table below summarises the situations in which we reach the LABEL="lvm_scan".
|
ENV{SYSTEMD_READY}="1"
|
||||||
|
|
||||||
|
# The method for invoking pvscan is selected at build time with the option
|
||||||
|
# --(enable|disable)-udev-systemd-background-jobs to "configure".
|
||||||
|
# On modern distributions with recent systemd, it's "systemd_background";
|
||||||
|
# on others, "direct_pvscan".
|
||||||
|
GOTO="direct_pvscan"
|
||||||
|
|
||||||
|
LABEL="systemd_background"
|
||||||
|
|
||||||
|
# The table below summarises the situations in which we reach the LABEL="lvm_scan"
|
||||||
|
# in the "systemd_background" case.
|
||||||
# Marked by X, X* means only if the special dev is properly set up.
|
# Marked by X, X* means only if the special dev is properly set up.
|
||||||
# The artificial ADD is supported for coldplugging. We avoid running the pvscan
|
# The artificial ADD is supported for coldplugging. We avoid running the pvscan
|
||||||
# on artificial CHANGE so there's no unexpected autoactivation when WATCH rule fires.
|
# on artificial CHANGE so there's no unexpected autoactivation when WATCH rule fires.
|
||||||
# N.B. MD and loop never actually reaches lvm_scan on REMOVE as the PV label is gone
|
# N.B. MD and loop never actually reaches lvm_scan on REMOVE as the PV label is gone
|
||||||
# within a CHANGE event (these are caught by the "LVM_PV_GONE" rule at the beginning).
|
# within a CHANGE event (these are caught by the "LVM_PV_GONE" rule at the beginning).
|
||||||
#
|
#
|
||||||
|
# In this case, we simply set up the dependency between the device and the pvscan
|
||||||
|
# job using SYSTEMD_ALIAS (which sets up a simplified device identifier that
|
||||||
|
# allows using "BindsTo" in the sytemd unit file) and SYSTEMD_WANTS (which tells
|
||||||
|
# systemd to start the pvscan job once the device is ready).
|
||||||
|
# We need to set these variables for both "add" and "change" events, otherwise
|
||||||
|
# systemd may loose information about the device/unit dependencies.
|
||||||
|
#
|
||||||
|
# | real ADD | real CHANGE | artificial ADD | artificial CHANGE | REMOVE
|
||||||
|
# =============================================================================
|
||||||
|
# DM | | X | X* | | X
|
||||||
|
# MD | | X | X* | |
|
||||||
|
# loop | | X | X* | |
|
||||||
|
# other | X | X | X | | X
|
||||||
|
ACTION!="remove", ENV{LVM_PV_GONE}=="1", RUN+="/usr/bin/systemd-run /usr/sbin/lvm pvscan --cache $major:$minor", GOTO="lvm_end"
|
||||||
|
ENV{SYSTEMD_ALIAS}="/dev/block/$major:$minor"
|
||||||
|
ENV{SYSTEMD_WANTS}+="lvm2-pvscan@$major:$minor.service"
|
||||||
|
GOTO="lvm_end"
|
||||||
|
|
||||||
|
# FIXME: this mode is not used and should be removed.
|
||||||
|
LABEL="direct_pvscan"
|
||||||
|
|
||||||
|
# The table below summarises the situations in which we reach the LABEL="lvm_scan"
|
||||||
|
# for the "direct_pvscan" case.
|
||||||
|
# Marked by X, X* means only if the special dev is properly set up.
|
||||||
|
# The artificial ADD is supported for coldplugging. We avoid running the pvscan
|
||||||
|
# on artificial CHANGE so there's no unexpected autoactivation when WATCH rule fires.
|
||||||
|
#
|
||||||
|
# In this case, we need to make sure that pvscan is not invoked spuriously, therefore
|
||||||
|
# we invoke it only for "add" events for "other" devices.
|
||||||
|
#
|
||||||
# | real ADD | real CHANGE | artificial ADD | artificial CHANGE | REMOVE
|
# | real ADD | real CHANGE | artificial ADD | artificial CHANGE | REMOVE
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# DM | | X | X* | | X
|
# DM | | X | X* | | X
|
||||||
# MD | | X | X* | |
|
# MD | | X | X* | |
|
||||||
# loop | | X | X* | |
|
# loop | | X | X* | |
|
||||||
# other | X | | X | | X
|
# other | X | | X | | X
|
||||||
ENV{SYSTEMD_READY}="1"
|
RUN+="/usr/sbin/lvm pvscan --background --cache --activate ay --major $major --minor $minor", ENV{LVM_SCANNED}="1"
|
||||||
RUN+="/usr/bin/lvm pvscan --background --cache --activate ay --major $major --minor $minor", ENV{LVM_SCANNED}="1"
|
|
||||||
|
|
||||||
LABEL="lvm_end"
|
LABEL="lvm_end"
|
||||||
@@ -11,7 +11,6 @@ build() {
|
|||||||
|
|
||||||
# binaries from lvm2
|
# binaries from lvm2
|
||||||
add_binary "lvm"
|
add_binary "lvm"
|
||||||
add_binary "lvmetad"
|
|
||||||
|
|
||||||
# beinaries from device-mapper
|
# beinaries from device-mapper
|
||||||
add_binary "dmsetup"
|
add_binary "dmsetup"
|
||||||
@@ -23,15 +22,14 @@ build() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# udev rules and lvm configuration
|
# udev rules and lvm configuration
|
||||||
add_file "/usr/lib/udev/rules.d/10-dm.rules"
|
add_file "/lib/udev/rules.d/10-dm.rules"
|
||||||
add_file "/usr/lib/udev/rules.d/11-dm-lvm.rules"
|
add_file "/lib/udev/rules.d/11-dm-lvm.rules"
|
||||||
add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
|
add_file "/lib/udev/rules.d/13-dm-disk.rules"
|
||||||
add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
|
add_file "/lib/udev/rules.d/95-dm-notify.rules"
|
||||||
add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
|
add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/lib/udev/rules.d/11-dm-initramfs.rules"
|
||||||
add_file "/usr/lib/initcpio/udev/69-dm-lvm-metad.rules" "/usr/lib/udev/rules.d/69-dm-lvm-metad.rules"
|
add_file "/usr/lib/initcpio/udev/69-dm-lvm-metad.rules" "/lib/udev/rules.d/69-dm-lvm-metad.rules"
|
||||||
add_file "/etc/lvm/lvm.conf"
|
add_file "/etc/lvm/lvm.conf"
|
||||||
|
sed -i '/^\smonitoring =/s/1/0/' "${BUILDROOT}/etc/lvm/lvm.conf"
|
||||||
add_runscript
|
|
||||||
}
|
}
|
||||||
|
|
||||||
help() {
|
help() {
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
# vim:set ft=sh
|
||||||
|
# MODULES
|
||||||
|
# The following modules are loaded before any boot hooks are
|
||||||
|
# run. Advanced users may wish to specify all system modules
|
||||||
|
# in this array. For instance:
|
||||||
|
# MODULES=(piix ide_disk reiserfs)
|
||||||
|
MODULES=()
|
||||||
|
|
||||||
|
# BINARIES
|
||||||
|
# This setting includes any additional binaries a given user may
|
||||||
|
# wish into the CPIO image. This is run last, so it may be used to
|
||||||
|
# override the actual binaries included by a given hook
|
||||||
|
# BINARIES are dependency parsed, so you may safely ignore libraries
|
||||||
|
BINARIES=()
|
||||||
|
|
||||||
|
# FILES
|
||||||
|
# This setting is similar to BINARIES above, however, files are added
|
||||||
|
# as-is and are not parsed in any way. This is useful for config files.
|
||||||
|
FILES=()
|
||||||
|
|
||||||
|
# HOOKS
|
||||||
|
# This is the most important setting in this file. The HOOKS control the
|
||||||
|
# modules and scripts added to the image, and what happens at boot time.
|
||||||
|
# Order is important, and it is recommended that you do not change the
|
||||||
|
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
|
||||||
|
# help on a given hook.
|
||||||
|
# 'base' is _required_ unless you know precisely what you are doing.
|
||||||
|
# 'udev' is _required_ in order to automatically load modules
|
||||||
|
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
|
||||||
|
# Examples:
|
||||||
|
## This setup specifies all modules in the MODULES setting above.
|
||||||
|
## No raid, lvm2, or encrypted root is needed.
|
||||||
|
# HOOKS=(base)
|
||||||
|
#
|
||||||
|
## This setup will autodetect all modules for your system and should
|
||||||
|
## work as a sane default
|
||||||
|
# HOOKS=(base udev autodetect block filesystems)
|
||||||
|
#
|
||||||
|
## This setup will generate a 'full' image which supports most systems.
|
||||||
|
## No autodetection is done.
|
||||||
|
# HOOKS=(base udev block filesystems)
|
||||||
|
#
|
||||||
|
## This setup assembles a pata mdadm array with an encrypted root FS.
|
||||||
|
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
|
||||||
|
# HOOKS=(base udev block mdadm encrypt filesystems)
|
||||||
|
#
|
||||||
|
## This setup loads an lvm2 volume group on a usb device.
|
||||||
|
# HOOKS=(base udev block lvm2 filesystems)
|
||||||
|
#
|
||||||
|
## NOTE: If you have /usr on a separate partition, you MUST include the
|
||||||
|
# usr, fsck and shutdown hooks.
|
||||||
|
HOOKS=(base udev autodetect modconf block lvm2 filesystems keyboard resume fsck)
|
||||||
|
|
||||||
|
# COMPRESSION
|
||||||
|
# Use this to compress the initramfs image. By default, gzip compression
|
||||||
|
# is used. Use 'cat' to create an uncompressed image.
|
||||||
|
#COMPRESSION="zstd"
|
||||||
|
#COMPRESSION="gzip"
|
||||||
|
#COMPRESSION="bzip2"
|
||||||
|
#COMPRESSION="lzma"
|
||||||
|
#COMPRESSION="xz"
|
||||||
|
#COMPRESSION="lzop"
|
||||||
|
#COMPRESSION="lz4"
|
||||||
|
|
||||||
|
# COMPRESSION_OPTIONS
|
||||||
|
# Additional options for the compressor
|
||||||
|
#COMPRESSION_OPTIONS=()
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/init_functions b/init_functions
|
||||||
|
index 8ad10c7..e8a88d8 100644
|
||||||
|
--- a/init_functions
|
||||||
|
+++ b/init_functions
|
||||||
|
@@ -477,6 +477,7 @@ mount_setup() {
|
||||||
|
mount -t proc proc /proc -o nosuid,noexec,nodev
|
||||||
|
mount -t sysfs sys /sys -o nosuid,noexec,nodev
|
||||||
|
mount -t devtmpfs dev /dev -o mode=0755,nosuid
|
||||||
|
+ mkdir -m 0755 /dev/pts && mount -t devpts -o gid=5,mode=620 devpts /dev/pts
|
||||||
|
mount -t tmpfs run /run -o nosuid,nodev,mode=0755
|
||||||
|
mkdir -m755 /run/initramfs
|
||||||
|
|
||||||
|
--
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">nosystemd.patch</Patch>
|
<Patch level="1">nosystemd.patch</Patch>
|
||||||
<Patch level="1">gzip-default.patch</Patch>
|
<Patch level="1">gzip-default.patch</Patch>
|
||||||
|
<Patch level="1">mount-dev-pts.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -26,6 +27,7 @@
|
|||||||
<Name>mkinitcpio</Name>
|
<Name>mkinitcpio</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>busybox-mkinitcpio</Dependency>
|
<Dependency>busybox-mkinitcpio</Dependency>
|
||||||
|
<Dependency>lvm2</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Conflicts>
|
<Conflicts>
|
||||||
<Package>mkinitramfs</Package>
|
<Package>mkinitramfs</Package>
|
||||||
@@ -34,9 +36,9 @@
|
|||||||
<Files>
|
<Files>
|
||||||
<Path fileType="data">/etc/initcpio</Path>
|
<Path fileType="data">/etc/initcpio</Path>
|
||||||
<Path fileType="config">/etc/mkinitcpio.conf</Path>
|
<Path fileType="config">/etc/mkinitcpio.conf</Path>
|
||||||
<Path fileType="config">/etc/mkinitcpio.d</Path>
|
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib/initcpio</Path>
|
<Path fileType="library">/usr/lib/initcpio</Path>
|
||||||
|
<Path fileType="data">/usr/lib/tmpfiles.d/mkinitcpio.conf</Path>
|
||||||
<Path fileType="data">/usr/share/bash-completion</Path>
|
<Path fileType="data">/usr/share/bash-completion</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
@@ -57,15 +59,24 @@
|
|||||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/install/zfs">zfs_install</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/install/zfs">zfs_install</AdditionalFile>
|
||||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/hooks/live">live_hook</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/hooks/live">live_hook</AdditionalFile>
|
||||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/install/live">live_install</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/install/live">live_install</AdditionalFile>
|
||||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/udev/10-dm-initramfs.rules">10-dm-initramfs.rules</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/udev/11-dm-initramfs.rules">11-dm-initramfs.rules</AdditionalFile>
|
||||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/udev/70-dm-lvm-metad.rules">70-dm-lvm-metad.rules</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="/usr/lib/initcpio/udev/69-dm-lvm-metad.rules">69-dm-lvm-metad.rules</AdditionalFile>
|
||||||
|
<AdditionalFile owner="root" permission="0644" target="/etc/mkinitcpio.conf">mkinitcpio.conf</AdditionalFile>
|
||||||
</AdditionalFiles>
|
</AdditionalFiles>
|
||||||
<Provides>
|
<Provides>
|
||||||
|
<COMAR script="package.py">System.Package</COMAR>
|
||||||
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||||
</Provides>
|
</Provides>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="11">
|
||||||
|
<Date>2021-09-13</Date>
|
||||||
|
<Version>30</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="10">
|
<Update release="10">
|
||||||
<Date>2021-09-13</Date>
|
<Date>2021-09-13</Date>
|
||||||
<Version>30</Version>
|
<Version>30</Version>
|
||||||
|
|||||||
+174
-71
@@ -266,18 +266,14 @@
|
|||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>libutil-linux-devel</Dependency>
|
<Dependency>libutil-linux-devel</Dependency>
|
||||||
<Dependency>eudev-devel</Dependency>
|
<Dependency>eudev-devel</Dependency>
|
||||||
<Dependency>autoconf-archive</Dependency>
|
|
||||||
<Dependency>libaio-devel</Dependency>
|
<Dependency>libaio-devel</Dependency>
|
||||||
|
<Dependency>readline-devel</Dependency>
|
||||||
|
<Dependency>thin-provisioning-tools</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">lvm2-2.02.178-static-pkgconfig-libs.patch</Patch>
|
<Patch level="1">fix-stdio-usage.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.56-lvm2create_initrd.patch</Patch>
|
<Patch level="1">mlockall-default-config.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.67-createinitrd.patch</Patch>
|
<Patch level="1">portability.patch</Patch>
|
||||||
<Patch level="1">lvm2-2.02.99-locale-muck.patch</Patch>
|
|
||||||
<Patch level="1">lvm2-2.02.171-static-libm.patch</Patch>
|
|
||||||
<Patch level="1">lvm2-2.02.166-HPPA-no-O_DIRECT.patch</Patch>
|
|
||||||
<Patch level="1">lvm2-2.02.184-mksh_build.patch</Patch>
|
|
||||||
<Patch level="1">lvm2-2.02.186-udev_remove_unsupported_option.patch</Patch>
|
|
||||||
</Patches>
|
</Patches>
|
||||||
<SourceURI>hardware/disk/lvm2/pspec.xml</SourceURI>
|
<SourceURI>hardware/disk/lvm2/pspec.xml</SourceURI>
|
||||||
</Source>
|
</Source>
|
||||||
@@ -298,8 +294,6 @@
|
|||||||
<Path fileType="data">/lib/udev/rules.d/10-dm.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/10-dm.rules</Path>
|
||||||
<Path fileType="data">/lib/udev/rules.d/13-dm-disk.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/13-dm-disk.rules</Path>
|
||||||
<Path fileType="data">/lib/udev/rules.d/95-dm-notify.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/95-dm-notify.rules</Path>
|
||||||
<Path fileType="doc">/usr/share/doc/VERSION_DM</Path>
|
|
||||||
<Path fileType="doc">/usr/share/doc/WHATS_NEW_DM</Path>
|
|
||||||
<Path fileType="man">/usr/share/man/man8/dmsetup.8</Path>
|
<Path fileType="man">/usr/share/man/man8/dmsetup.8</Path>
|
||||||
<Path fileType="man">/usr/share/man/man8/dmstats.8</Path>
|
<Path fileType="man">/usr/share/man/man8/dmstats.8</Path>
|
||||||
</Files>
|
</Files>
|
||||||
@@ -310,7 +304,7 @@
|
|||||||
<Summary xml:lang="tr">device-mapper için geliştirme dosyaları</Summary>
|
<Summary xml:lang="tr">device-mapper için geliştirme dosyaları</Summary>
|
||||||
<Description xml:lang="en">Device-mapper-devel contains files needed to develop applications that use the device-mapper libraries.</Description>
|
<Description xml:lang="en">Device-mapper-devel contains files needed to develop applications that use the device-mapper libraries.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="7">device-mapper</Dependency>
|
<Dependency release="8">device-mapper</Dependency>
|
||||||
<Dependency>eudev-devel</Dependency>
|
<Dependency>eudev-devel</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -324,7 +318,7 @@
|
|||||||
<Summary xml:lang="tr">Device mapper durum servisi</Summary>
|
<Summary xml:lang="tr">Device mapper durum servisi</Summary>
|
||||||
<Description xml:lang="en">This package contains the dmeventd daemon for monitoring the state of device-mapper devices.</Description>
|
<Description xml:lang="en">This package contains the dmeventd daemon for monitoring the state of device-mapper devices.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="7">device-mapper</Dependency>
|
<Dependency release="8">device-mapper</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/sbin/dmeventd</Path>
|
<Path fileType="executable">/usr/sbin/dmeventd</Path>
|
||||||
@@ -343,7 +337,7 @@
|
|||||||
<Summary xml:lang="tr">device-mapper-event için geliştirme dosyaları</Summary>
|
<Summary xml:lang="tr">device-mapper-event için geliştirme dosyaları</Summary>
|
||||||
<Description xml:lang="en">This contains contains files needed to develop applications that use the device-mapper event library.</Description>
|
<Description xml:lang="en">This contains contains files needed to develop applications that use the device-mapper event library.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="7">device-mapper-event</Dependency>
|
<Dependency release="8">device-mapper-event</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include/libdevmapper-event.h</Path>
|
<Path fileType="header">/usr/include/libdevmapper-event.h</Path>
|
||||||
@@ -355,13 +349,15 @@
|
|||||||
<Summary xml:lang="en">Userland logical volume management tools</Summary>
|
<Summary xml:lang="en">Userland logical volume management tools</Summary>
|
||||||
<Description xml:lang="en">LVM2 includes all of the support for handling read/write operations on physical volumes,creating volume groups from one or more physical volumes and creating one or more logical volumes in volume groups.</Description>
|
<Description xml:lang="en">LVM2 includes all of the support for handling read/write operations on physical volumes,creating volume groups from one or more physical volumes and creating one or more logical volumes in volume groups.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="7">device-mapper</Dependency>
|
<Dependency release="8">device-mapper</Dependency>
|
||||||
<Dependency release="7">device-mapper-event</Dependency>
|
<Dependency release="8">device-mapper-event</Dependency>
|
||||||
<Dependency>libutil-linux</Dependency>
|
<Dependency>libaio</Dependency>
|
||||||
<Dependency>eudev</Dependency>
|
<Dependency>eudev</Dependency>
|
||||||
|
<Dependency>libutil-linux</Dependency>
|
||||||
|
<Dependency>readline</Dependency>
|
||||||
|
<Dependency>thin-provisioning-tools</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/sbin/lvmconf</Path>
|
|
||||||
<Path fileType="executable">/usr/sbin/blkdeactivate</Path>
|
<Path fileType="executable">/usr/sbin/blkdeactivate</Path>
|
||||||
<Path fileType="executable">/usr/sbin/fsadm</Path>
|
<Path fileType="executable">/usr/sbin/fsadm</Path>
|
||||||
<Path fileType="executable">/usr/sbin/lv*</Path>
|
<Path fileType="executable">/usr/sbin/lv*</Path>
|
||||||
@@ -376,14 +372,20 @@
|
|||||||
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2snapshot.so</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2snapshot.so</Path>
|
||||||
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2raid.so</Path>
|
<Path fileType="library">/usr/lib/libdevmapper-event-lvm2raid.so</Path>
|
||||||
<Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so</Path>
|
<Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so</Path>
|
||||||
<Path fileType="config">/etc/lvm</Path>
|
<Path fileType="config">/etc/lvm/lvm.conf</Path>
|
||||||
|
<Path fileType="config">/etc/lvm/lvmlocal.conf</Path>
|
||||||
<Path fileType="data">/etc/lvm/archive</Path>
|
<Path fileType="data">/etc/lvm/archive</Path>
|
||||||
<Path fileType="data">/etc/lvm/backup</Path>
|
<Path fileType="data">/etc/lvm/backup</Path>
|
||||||
<Path fileType="data">/etc/lvm/cache</Path>
|
<Path fileType="data">/etc/lvm/cache</Path>
|
||||||
<Path fileType="data">/var/lock/lvm</Path>
|
<Path fileType="data">/etc/lvm/profile</Path>
|
||||||
<Path fileType="data">/lib/udev/rules.d/11-dm-lvm.rules</Path>
|
<Path fileType="data">/lib/udev/rules.d/11-dm-lvm.rules</Path>
|
||||||
|
<Path fileType="data">/lib/udev/rules.d/69-dm-lvm-metad.rules</Path>
|
||||||
<Path fileType="data">/usr/lib/tmpfiles.d/lvm2.conf</Path>
|
<Path fileType="data">/usr/lib/tmpfiles.d/lvm2.conf</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc/lvm2/COPYING</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/COPYING.LIB</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/README</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/VERSION</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/lvm2/WHATS_NEW</Path>
|
||||||
<Path fileType="man">/usr/share/man/man5/lvm.conf.5</Path>
|
<Path fileType="man">/usr/share/man/man5/lvm.conf.5</Path>
|
||||||
<Path fileType="man">/usr/share/man/man7</Path>
|
<Path fileType="man">/usr/share/man/man7</Path>
|
||||||
<Path fileType="man">/usr/share/man/man8/fsadm.8</Path>
|
<Path fileType="man">/usr/share/man/man8/fsadm.8</Path>
|
||||||
@@ -405,10 +407,10 @@
|
|||||||
<Summary xml:lang="tr">lvm2 için geliştirme dosyaları</Summary>
|
<Summary xml:lang="tr">lvm2 için geliştirme dosyaları</Summary>
|
||||||
<Description xml:lang="en">This package contains files needed to develop applications that use the lvm2 libraries.</Description>
|
<Description xml:lang="en">This package contains files needed to develop applications that use the lvm2 libraries.</Description>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="8">lvm2</Dependency>
|
||||||
|
<Dependency release="8">device-mapper-devel</Dependency>
|
||||||
|
<Dependency release="8">device-mapper-event-devel</Dependency>
|
||||||
<Dependency>libutil-linux-devel</Dependency>
|
<Dependency>libutil-linux-devel</Dependency>
|
||||||
<Dependency release="7">lvm2</Dependency>
|
|
||||||
<Dependency release="7">device-mapper-devel</Dependency>
|
|
||||||
<Dependency release="7">device-mapper-event-devel</Dependency>
|
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include/lvm2cmd.h</Path>
|
<Path fileType="header">/usr/include/lvm2cmd.h</Path>
|
||||||
@@ -416,39 +418,14 @@
|
|||||||
<Path fileType="data">/usr/lib/pkgconfig/lvm2app.pc</Path>
|
<Path fileType="data">/usr/lib/pkgconfig/lvm2app.pc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
<Package>
|
|
||||||
<Name>dietlibc-libdevmapper</Name>
|
|
||||||
<Summary xml:lang="en">Static devmapper library built with dietlibc</Summary>
|
|
||||||
<Summary xml:lang="tr">Statik bağlanmış device-mapper kütüphanesi</Summary>
|
|
||||||
<Description xml:lang="en">device mapper contains ioctl library and utilities for use with logical volume management (LVM2) built with dietlibc</Description>
|
|
||||||
<Description xml:lang="tr">Dietlibc kütüphanesiyle statik derlenmiş device-mapper kütüphanesidir.</Description>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="library">/usr/lib/dietlibc/lib-i386/libdevmapper.a</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
<Package>
|
|
||||||
<Name>device-mapper-static</Name>
|
|
||||||
<Summary xml:lang="en">Staticaly linked Device-mapper library and utility</Summary>
|
|
||||||
<Summary xml:lang="tr">Static bağlanmış device-mapper kütüphanesi ve aracı</Summary>
|
|
||||||
<Description xml:lang="en">device mapper contains statically linked libraries and utility for initramfs.</Description>
|
|
||||||
<Description xml:lang="tr">İnitramfs içinde kullanılan mantıksal hacim yönetimi için gerekli statik bağlanmış araçlardır.</Description>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="executable">/sbin/dmsetup.static</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
<Package>
|
|
||||||
<Name>lvm2-static</Name>
|
|
||||||
<Summary xml:lang="en">Staticaly linked Logical Volume Management utilities</Summary>
|
|
||||||
<Summary xml:lang="tr">Statik bağlanmış LVM araçları</Summary>
|
|
||||||
<Description xml:lang="en">Number of utilities for creating, checking, and repairing logical volumes - statically linked for initramfs.</Description>
|
|
||||||
<Description xml:lang="tr">İnitramfs içinde kullanılan statik bağlanmış mantıksal hacim yönetimi aracıdır.</Description>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="executable">/sbin/lvm.static</Path>
|
|
||||||
<Path fileType="library">/usr/lib/liblvm2app.a</Path>
|
|
||||||
<Path fileType="library">/usr/lib/liblvm2cmd.a</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="8">
|
||||||
|
<Date>2021-09-14</Date>
|
||||||
|
<Version>2.02.186</Version>
|
||||||
|
<Comment>Rebuild.</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="7">
|
<Update release="7">
|
||||||
<Date>2020-12-09</Date>
|
<Date>2020-12-09</Date>
|
||||||
<Version>2.02.186</Version>
|
<Version>2.02.186</Version>
|
||||||
@@ -4598,6 +4575,8 @@
|
|||||||
<Archive type="targz" sha1sum="247385149150087f20fb0eff65231029f611a15b" name="initrd-1.1.4.tar.gz">https://gitlab.com/sulinos/devel/initrd/-/archive/1.1.4/initrd-1.1.4.tar.gz</Archive>
|
<Archive type="targz" sha1sum="247385149150087f20fb0eff65231029f611a15b" name="initrd-1.1.4.tar.gz">https://gitlab.com/sulinos/devel/initrd/-/archive/1.1.4/initrd-1.1.4.tar.gz</Archive>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">0001-Adapted-to-Pisi-Linux.patch</Patch>
|
<Patch level="1">0001-Adapted-to-Pisi-Linux.patch</Patch>
|
||||||
|
<Patch level="1">0002-Made-initrd-follow-the-quite-boot-parameter.patch</Patch>
|
||||||
|
<Patch level="1">0003-Improvements-for-continuous-live-boot.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
<SourceURI>kernel/tools/initrd/pspec.xml</SourceURI>
|
<SourceURI>kernel/tools/initrd/pspec.xml</SourceURI>
|
||||||
</Source>
|
</Source>
|
||||||
@@ -4610,8 +4589,50 @@
|
|||||||
<Path fileType="executable">/bin/update-initrd</Path>
|
<Path fileType="executable">/bin/update-initrd</Path>
|
||||||
<Path fileType="library">/lib/initrd</Path>
|
<Path fileType="library">/lib/initrd</Path>
|
||||||
</Files>
|
</Files>
|
||||||
|
<Conflicts>
|
||||||
|
<Package>mkinitramfs</Package>
|
||||||
|
<Package>mkinitcpio</Package>
|
||||||
|
</Conflicts>
|
||||||
|
<Provides>
|
||||||
|
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||||
|
</Provides>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="6">
|
||||||
|
<Date>2020-09-11</Date>
|
||||||
|
<Version>1.1.4</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="5">
|
||||||
|
<Date>2020-09-09</Date>
|
||||||
|
<Version>1.1.4</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="4">
|
||||||
|
<Date>2020-09-08</Date>
|
||||||
|
<Version>1.1.4</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2020-09-08</Date>
|
||||||
|
<Version>1.1.4</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2020-09-06</Date>
|
||||||
|
<Version>1.1.4</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="1">
|
<Update release="1">
|
||||||
<Date>2020-09-06</Date>
|
<Date>2020-09-06</Date>
|
||||||
<Version>1.1.4</Version>
|
<Version>1.1.4</Version>
|
||||||
@@ -4624,53 +4645,89 @@
|
|||||||
<SpecFile>
|
<SpecFile>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>mkinitcpio</Name>
|
<Name>mkinitcpio</Name>
|
||||||
<Homepage>https://projects.archlinux.org/mkinitcpio.git/</Homepage>
|
<Homepage>https://github.com/archlinux/mkinitcpio</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>Pisi Linux Admins</Name>
|
<Name>Pisi Linux Admins</Name>
|
||||||
<Email>admin@pisilinux.org</Email>
|
<Email>admin@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>GPL</License>
|
<License>GPLv2</License>
|
||||||
<PartOf>kernel.tools</PartOf>
|
<PartOf>kernel.tools</PartOf>
|
||||||
<Summary xml:lang="en">Modular initramfs image creation utility</Summary>
|
<Summary xml:lang="en">Modular initramfs image creation utility</Summary>
|
||||||
<Summary xml:lang="tr">İnitramfs oluşturmak için araç</Summary>
|
<Summary xml:lang="tr">İnitramfs oluşturmak için araç</Summary>
|
||||||
<Description xml:lang="en">mkinitcpio is a generic, modular, cross-distribution initramfs generation tool.</Description>
|
<Description xml:lang="en">mkinitcpio is a generic, modular, cross-distribution initramfs generation tool.</Description>
|
||||||
<Description xml:lang="tr">Mkinitcpio çapraz platform initramfs oluşturmak için kullanılan bir araçtır.</Description>
|
<Description xml:lang="tr">Mkinitcpio çapraz platform initramfs oluşturmak için kullanılan bir araçtır.</Description>
|
||||||
<Archive type="targz" sha1sum="678efaad52901aeb66f84e99f2ea86b24d2eea22" name="19.1.tar.gz">https://github.com/bferturk/mkinitcpio/archive/19.1.tar.gz</Archive>
|
<Archive type="targz" sha1sum="a1c8794c29b1da0811b5038dbcdb4a0b5d1e05cd" name="v30.tar.gz">https://github.com/archlinux/mkinitcpio/archive/refs/tags/v30.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>libkmod-devel</Dependency>
|
|
||||||
<Dependency>kmod</Dependency>
|
|
||||||
<Dependency>asciidoc</Dependency>
|
<Dependency>asciidoc</Dependency>
|
||||||
<Dependency>libxslt-devel</Dependency>
|
<Dependency>libxslt-devel</Dependency>
|
||||||
<Dependency>man-pages</Dependency>
|
|
||||||
<Dependency>man-db</Dependency>
|
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">nosystemd.patch</Patch>
|
||||||
|
<Patch level="1">gzip-default.patch</Patch>
|
||||||
|
<Patch level="1">mount-dev-pts.patch</Patch>
|
||||||
|
</Patches>
|
||||||
<SourceURI>kernel/tools/mkinitcpio/pspec.xml</SourceURI>
|
<SourceURI>kernel/tools/mkinitcpio/pspec.xml</SourceURI>
|
||||||
</Source>
|
</Source>
|
||||||
<Package>
|
<Package>
|
||||||
<Name>mkinitcpio</Name>
|
<Name>mkinitcpio</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>xz</Dependency>
|
|
||||||
<Dependency>bzip2</Dependency>
|
|
||||||
<Dependency>libarchive</Dependency>
|
|
||||||
<Dependency>kmod</Dependency>
|
|
||||||
<Dependency>libkmod</Dependency>
|
|
||||||
<Dependency>busybox-mkinitcpio</Dependency>
|
<Dependency>busybox-mkinitcpio</Dependency>
|
||||||
|
<Dependency>lvm2</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
|
<Path fileType="data">/etc/initcpio</Path>
|
||||||
|
<Path fileType="config">/etc/mkinitcpio.conf</Path>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib/initcpio</Path>
|
||||||
<Path fileType="data">/usr/share</Path>
|
<Path fileType="data">/usr/lib/tmpfiles.d/mkinitcpio.conf</Path>
|
||||||
|
<Path fileType="data">/usr/share/bash-completion</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
<Path fileType="data">/etc</Path>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
|
<Path fileType="data">/usr/share/mkinitcpio</Path>
|
||||||
|
<Path fileType="data">/usr/share/zsh</Path>
|
||||||
</Files>
|
</Files>
|
||||||
<Conflicts>
|
<Conflicts>
|
||||||
<Package>mkinitramfs</Package>
|
<Package>mkinitramfs</Package>
|
||||||
|
<Package>initrd</Package>
|
||||||
</Conflicts>
|
</Conflicts>
|
||||||
<Provides>
|
<Provides>
|
||||||
|
<COMAR script="package.py">System.Package</COMAR>
|
||||||
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||||
</Provides>
|
</Provides>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/hooks/udev" permission="0644" owner="root">udev_hook</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/install/udev" permission="0644" owner="root">udev_install</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/hooks/lvm2" permission="0644" owner="root">lvm2_hook</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/install/lvm2" permission="0644" owner="root">lvm2_install</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/hooks/encrypt" permission="0644" owner="root">encrypt_hook</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/install/encrypt" permission="0644" owner="root">encrypt_install</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/hooks/mdadm" permission="0644" owner="root">mdadm_hook</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/install/mdadm" permission="0644" owner="root">mdadm_install</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/install/mdadm_udev" permission="0644" owner="root">mdadm_udev_install</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/hooks/zfs" permission="0644" owner="root">zfs_hook</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/install/zfs" permission="0644" owner="root">zfs_install</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/hooks/live" permission="0644" owner="root">live_hook</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/install/live" permission="0644" owner="root">live_install</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/udev/11-dm-initramfs.rules" permission="0644" owner="root">11-dm-initramfs.rules</AdditionalFile>
|
||||||
|
<AdditionalFile target="/usr/lib/initcpio/udev/69-dm-lvm-metad.rules" permission="0644" owner="root">69-dm-lvm-metad.rules</AdditionalFile>
|
||||||
|
<AdditionalFile target="/etc/mkinitcpio.conf" permission="0644" owner="root">mkinitcpio.conf</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="11">
|
||||||
|
<Date>2021-09-13</Date>
|
||||||
|
<Version>30</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="10">
|
||||||
|
<Date>2021-09-13</Date>
|
||||||
|
<Version>30</Version>
|
||||||
|
<Comment>Version bump</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="9">
|
<Update release="9">
|
||||||
<Date>2021-06-09</Date>
|
<Date>2021-06-09</Date>
|
||||||
<Version>19.1</Version>
|
<Version>19.1</Version>
|
||||||
@@ -4787,6 +4844,13 @@
|
|||||||
</AdditionalFiles>
|
</AdditionalFiles>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="9">
|
||||||
|
<Date>2020-09-11</Date>
|
||||||
|
<Version>1.0.7</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="8">
|
<Update release="8">
|
||||||
<Date>2020-01-18</Date>
|
<Date>2020-01-18</Date>
|
||||||
<Version>1.0.7</Version>
|
<Version>1.0.7</Version>
|
||||||
@@ -7132,6 +7196,20 @@
|
|||||||
</AdditionalFiles>
|
</AdditionalFiles>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="16">
|
||||||
|
<Date>2021-09-07</Date>
|
||||||
|
<Version>3.10.1</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="15">
|
||||||
|
<Date>2021-09-07</Date>
|
||||||
|
<Version>3.10.1</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="14">
|
<Update release="14">
|
||||||
<Date>2021-06-09</Date>
|
<Date>2021-06-09</Date>
|
||||||
<Version>3.10.1</Version>
|
<Version>3.10.1</Version>
|
||||||
@@ -17647,6 +17725,13 @@
|
|||||||
</AdditionalFiles>
|
</AdditionalFiles>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="11">
|
||||||
|
<Date>2021-09-14</Date>
|
||||||
|
<Version>5.13</Version>
|
||||||
|
<Comment>Rebuild.</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="10">
|
<Update release="10">
|
||||||
<Date>2021-08-31</Date>
|
<Date>2021-08-31</Date>
|
||||||
<Version>5.13</Version>
|
<Version>5.13</Version>
|
||||||
@@ -21720,6 +21805,13 @@
|
|||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="12">
|
||||||
|
<Date>2021-09-10</Date>
|
||||||
|
<Version>4.8.1</Version>
|
||||||
|
<Comment>Rebuild.</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="11">
|
<Update release="11">
|
||||||
<Date>2021-06-03</Date>
|
<Date>2021-06-03</Date>
|
||||||
<Version>4.8.1</Version>
|
<Version>4.8.1</Version>
|
||||||
@@ -24251,11 +24343,22 @@
|
|||||||
</Source>
|
</Source>
|
||||||
<Package>
|
<Package>
|
||||||
<Name>busybox-mkinitcpio</Name>
|
<Name>busybox-mkinitcpio</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>glibc</Dependency>
|
||||||
|
<Dependency>libxcrypt</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/lib/initcpio/busybox</Path>
|
<Path fileType="executable">/usr/lib/initcpio/busybox</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="9">
|
||||||
|
<Date>2021-09-13</Date>
|
||||||
|
<Version>1.33.0</Version>
|
||||||
|
<Comment>Rebuild.</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="8">
|
<Update release="8">
|
||||||
<Date>2021-06-09</Date>
|
<Date>2021-06-09</Date>
|
||||||
<Version>1.33.0</Version>
|
<Version>1.33.0</Version>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
f18aea79a4bd6320ef09b3ee2841610984c26e31
|
82154dca62f43b57781e24fc3524965d962e73b1
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
96a99ec712565093ec5af207da0c6e960dd2a78c
|
624abee54e52d8c4441a1d3d97e1552a345536f7
|
||||||
@@ -40,4 +40,7 @@ def install():
|
|||||||
#pisitools.remove("/usr/share/man/man7/*-keyring.7")
|
#pisitools.remove("/usr/share/man/man7/*-keyring.7")
|
||||||
#pisitools.remove("/usr/share/man/man7/keyrings.7")
|
#pisitools.remove("/usr/share/man/man7/keyrings.7")
|
||||||
|
|
||||||
|
# Comes from libxcrypt
|
||||||
|
pisitools.remove("/usr/share/man/man3/crypt*.3")
|
||||||
|
|
||||||
pisitools.dodoc("man-pages-*.Announce", "README")
|
pisitools.dodoc("man-pages-*.Announce", "README")
|
||||||
|
|||||||
@@ -32,6 +32,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="11">
|
||||||
|
<Date>2021-09-14</Date>
|
||||||
|
<Version>5.13</Version>
|
||||||
|
<Comment>Rebuild.</Comment>
|
||||||
|
<Name>Berk Çakar</Name>
|
||||||
|
<Email>berk2238@hotmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="10">
|
<Update release="10">
|
||||||
<Date>2021-08-31</Date>
|
<Date>2021-08-31</Date>
|
||||||
<Version>5.13</Version>
|
<Version>5.13</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user