mkinitcpio add repo
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
autotools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import os
|
||||||
|
import piksemel
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
|
||||||
|
def generateinitrd(filepath):
|
||||||
|
doc = piksemel.parse(filepath)
|
||||||
|
for item in doc.tags("File"):
|
||||||
|
path = item.getTagData("Path")
|
||||||
|
if path.startswith("lib/modules/"):
|
||||||
|
kver = path.split("/")[2]
|
||||||
|
subprocess.call(["/usr/bin/mkinitcpio","-k","%s"% kver ,"-c","/etc/mkinitcpio.conf","-g","/boot/initramfs-%s"% kver,"-S","autodetect"])
|
||||||
|
return
|
||||||
|
|
||||||
|
def setupPackage(metapath, filepath):
|
||||||
|
generateinitrd(filepath)
|
||||||
|
|
||||||
|
def cleanupPackage(metapath, filepath):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def postCleanupPackage(metapath, filepath):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>mkinitcpio</Name>
|
||||||
|
<Homepage>https://dracut.wiki.kernel.org/index.php/Main_Page</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Pisi Linux Admins</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv3</License>
|
||||||
|
<Summary>Initramfs generation tool</Summary>
|
||||||
|
<Description>Dracut is a generic, modular, cross-distribution initramfs generation tool.</Description>
|
||||||
|
<Archive sha1sum="40cd47f81adb23186aa685b92bfb42b804e86894" type="targz">https://github.com/bferturk/mkinitcpio/archive/v19pisi.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>libkmod-devel</Dependency>
|
||||||
|
<Dependency>kmod</Dependency>
|
||||||
|
<Dependency>asciidoc</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>mkinitcpio</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>xz</Dependency>
|
||||||
|
<Dependency>bzip2</Dependency>
|
||||||
|
<Dependency>libarchive</Dependency>
|
||||||
|
<Dependency>kmod</Dependency>
|
||||||
|
<Dependency>libkmod</Dependency>
|
||||||
|
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
<Path fileType="data">/etc</Path>
|
||||||
|
</Files>
|
||||||
|
<Provides>
|
||||||
|
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
|
||||||
|
</Provides>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2016-04-23</Date>
|
||||||
|
<Version>19</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Stefan Gronewold (groni)</Name>
|
||||||
|
<Email>groni@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>bluefish</Name>
|
||||||
|
<Summary xml:lang="tr">İnitramfs oluşturmak için araç</Summary>
|
||||||
|
<Description xml:lang="tr">Dracut çapraz platform initrams oluşturmak için kullanılan bir araçtır.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
+9246
-9129
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
26d61f4dc07614cda90f3a0397e1caab7e34c5fc
|
705ecbf3fa475867a66cd16be33f00ec76b4c533
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
948de7a15da5ba9d13a31a18f5b12b93ffded332
|
4dfa752555d30ced3de9c222a19b913d5f96e1dd
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
|
||||||
|
def build():
|
||||||
|
autotools.make()
|
||||||
|
|
||||||
|
|
||||||
|
def install():
|
||||||
|
pisitools.insinto("/usr/lib/initcpio", "busybox")
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
|||||||
|
diff -ur abusybox-1.20.2/include/libbb.h busybox-1.20.2/include/libbb.h
|
||||||
|
--- abusybox-1.20.2/include/libbb.h 2012-07-02 17:08:25.000000000 +0300
|
||||||
|
+++ busybox-1.20.2/include/libbb.h 2012-09-16 14:41:52.391970119 +0300
|
||||||
|
@@ -44,6 +44,7 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
+#include <sys/resource.h>
|
||||||
|
#ifndef major
|
||||||
|
# include <sys/sysmacros.h>
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
|
||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>busybox-mkinitcpio</Name>
|
||||||
|
<Homepage>http://www.busybox.net</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv2</License>
|
||||||
|
<IsA>app:console</IsA>
|
||||||
|
<Summary>Statically linked binary providing simplified versions of system commands</Summary>
|
||||||
|
<Description>busybox is a single binary which includes versions of a large number of system commands, including a shell.</Description>
|
||||||
|
<Archive sha1sum="157d14d24748b4505b1a418535688706a2b81680" type="tarbz2">http://busybox.net/downloads/busybox-1.24.1.tar.bz2</Archive>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile target=".config">config</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">fix-include.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>busybox-mkinitcpio</Name>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/lib/initcpio/busybox</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2016-04-23</Date>
|
||||||
|
<Version>1.24.1</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Ertuğrul Erata</Name>
|
||||||
|
<Email>ertugrulerata@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>busybox</Name>
|
||||||
|
<Summary xml:lang="tr">Statik bağlanmış sistem komutları bütünü</Summary>
|
||||||
|
<Description xml:lang="tr">busybox, kabuk da dahil olmak üzere çeşitli sistem komutlarını içeren tek bir çalıştırılabilir dosyadır.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user