diff --git a/system/base/component.xml b/system/base/component.xml
new file mode 100644
index 0000000000..f190047625
--- /dev/null
+++ b/system/base/component.xml
@@ -0,0 +1,3 @@
+
+ system.base
+
diff --git a/system/base/udev/actions.py b/system/base/udev/actions.py
new file mode 100644
index 0000000000..e188082fdc
--- /dev/null
+++ b/system/base/udev/actions.py
@@ -0,0 +1,157 @@
+#!/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 get
+from pisi.actionsapi import libtools
+from pisi.actionsapi import autotools
+from pisi.actionsapi import pisitools
+from pisi.actionsapi import shelltools
+
+suffix = "32" if get.buildTYPE() == "emul32" else ""
+
+def setup():
+ pisitools.flags.add("-fno-lto")
+ #shelltools.echo("docs/gtk-doc.make", "EXTRA_DIST=")
+ autotools.autoreconf("-fi")
+ libtools.libtoolize("--force")
+
+ options = " ac_cv_header_sys_capability_h=yes \
+ --bindir=/sbin%s \
+ --sbindir=/sbin%s \
+ --docdir=/usr/share/doc/udev \
+ --libdir=/usr/lib%s \
+ --libexecdir=/lib%s/udev \
+ --with-firmware-path=/lib%s/firmware/updates:/lib%s/firmware \
+ --with-html-dir=/usr/share/doc/udev/html \
+ --with-rootlibdir=/lib%s \
+ --with-rootprefix= \
+ --without-python \
+ --disable-xz \
+ --disable-nls \
+ --disable-pam \
+ --disable-dbus \
+ --disable-audit \
+ --disable-gcrypt \
+ --disable-gnutls \
+ --disable-logind \
+ --disable-polkit \
+ --disable-seccomp \
+ --disable-selinux \
+ --disable-qrencode \
+ --disable-readahead \
+ --disable-microhttpd \
+ --disable-myhostname \
+ --disable-quotacheck \
+ --disable-python-devel \
+ --disable-libcryptsetup \
+ --enable-gudev \
+ --enable-split-usr \
+ " % ((suffix, )*7)
+
+ options += "\
+ --disable-acl \
+ --disable-kmod \
+ --disable-static \
+ --disable-manpages \
+ --disable-gtk-doc \
+ --disable-introspection \
+ " if get.buildTYPE() == "emul32" else \
+ "\
+ --enable-acl \
+ --enable-kmod \
+ --enable-static \
+ --enable-introspection \
+ "
+
+ shelltools.system("sed -i -e '/--enable-static is not supported by systemd/s:as_fn_error:echo:' configure")
+ autotools.configure(options)
+
+def build():
+ shelltools.echo("Makefile.extra", "BUILT_SOURCES: $(BUILT_SOURCES)")
+ pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
+ autotools.make("-f Makefile -f Makefile.extra")
+
+ targets = " \
+ libudev.la \
+ libgudev-1.0.la \
+ systemd-udevd \
+ udevadm \
+ ata_id \
+ cdrom_id \
+ collect \
+ scsi_id \
+ v4l_id \
+ accelerometer \
+ mtd_probe \
+ "
+
+ autotools.make(targets)
+
+ autotools.make("-C docs/libudev")
+ autotools.make("-C docs/gudev")
+
+#~ def check():
+ #~ autotools.make("check")
+#~
+
+def install():
+ targets = " install-libLTLIBRARIES \
+ install-includeHEADERS \
+ install-libgudev_includeHEADERS \
+ install-rootbinPROGRAMS \
+ install-rootlibexecPROGRAMS \
+ install-udevlibexecPROGRAMS \
+ install-dist_udevconfDATA \
+ install-dist_udevrulesDATA \
+ install-girDATA \
+ install-pkgconfiglibDATA \
+ install-sharepkgconfigDATA \
+ install-typelibsDATA \
+ install-dist_docDATA \
+ libudev-install-hook \
+ install-directories-hook \
+ install-dist_bashcompletionDATA \
+ install-dist_networkDATA \
+ rootlibexec_PROGRAMS='systemd-udevd' \
+ rootbin_PROGRAMS='udevadm' \
+ lib_LTLIBRARIES='libudev.la \
+ libgudev-1.0.la' \
+ pkgconfiglib_DATA='src/libudev/libudev.pc \
+ src/gudev/gudev-1.0.pc' \
+ dist_bashcompletion_DATA='shell-completion/bash/udevadm' \
+ dist_network_DATA='network/99-default.link' \
+ pkginclude_HEADERS='src/libudev/libudev.h' \
+ "
+
+ autotools.make("-j1 DESTDIR=%s%s %s" % (get.installDIR(), suffix, targets))
+ if get.buildTYPE() == "emul32":
+ shelltools.move("%s%s/lib%s" % (get.installDIR(), suffix, suffix), "%s/lib%s" % (get.installDIR(), suffix))
+ shelltools.move("%s%s/usr/lib%s" % (get.installDIR(), suffix, suffix), "%s/usr/lib%s" % (get.installDIR(), suffix))
+ for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()):
+ pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32", "usr")
+ #shelltools.unlinkDir("%s%s" % (get.installDIR(), suffix))
+ return
+ # Create needed directories
+ #for d in ("", "net", "pts", "shm", "hugepages"):
+ #pisitools.dodir("/lib/udev/devices/%s" % d)
+
+ # Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools
+ pisitools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id")
+
+ # Create /sbin/systemd-udevd -> /sbin/udevd sysmlink, we need it for MUDUR, do not touch this sysmlink.
+ pisitools.dosym("/sbin/systemd-udevd", "/sbin/udevd")
+ pisitools.dosym("/lib/systemd/systemd-udevd", "/sbin/systemd-udevd")
+ # Mudur needs this symlink as well
+ pisitools.dosym("/bin/udevadm", "/sbin/udevadm")
+
+ # Create /etc/udev/rules.d for backward compatibility
+ pisitools.dodir("/etc/udev/rules.d")
+
+ pisitools.dodir("/run/udev")
+ pisitools.dodoc("README", "TODO")
+
+ # Add man files
+ pisitools.doman("man/systemd.link.5", "man/udev.7", "man/udevadm.8", "man/systemd-udevd.service.8")
diff --git a/system/base/udev/comar/package.py b/system/base/udev/comar/package.py
new file mode 100644
index 0000000000..e81903334f
--- /dev/null
+++ b/system/base/udev/comar/package.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+
+import os
+
+def createNode(mode, uid, gid, minor, major, path):
+ os.system("/bin/mknod --mode=%d %s c %d %d" % (mode, path, minor, major))
+ os.system("/bin/chown %s:%s %s" % (uid, gid, path))
+
+def postInstall(fromVersion, fromRelease, toVersion, toRelease):
+ createNode(600, "root", "root", 1, 11, "/lib/udev/devices/kmsg")
+ createNode(666, "root", "root", 1, 3, "/lib/udev/devices/null")
+ createNode(666, "root", "root", 1, 5, "/lib/udev/devices/zero")
+ createNode(600, "root", "root", 10, 130, "/lib/udev/devices/watchdog")
+ createNode(666, "root", "root", 10, 229, "/lib/udev/devices/fuse")
+ createNode(600, "root", "tty", 5, 1, "/lib/udev/devices/console")
+ createNode(666, "root", "tty", 5, 2, "/lib/udev/devices/ptmx")
+ createNode(666, "root", "tty", 5, 0, "/lib/udev/devices/tty")
+ createNode(620, "root", "tty", 4, 1, "/lib/udev/devices/tty1")
+ createNode(600, "root", "root", 10, 200, "/lib/udev/devices/net/tun")
+ createNode(600, "root", "root", 36, 0, "/lib/udev/devices/route")
+ createNode(600, "root", "root", 10, 200, "/lib/udev/devices/skip")
+ createNode(660, "root", "dialout", 108, 0, "/lib/udev/devices/ppp")
+
+ if os.path.exists("/lib/udev/devices/rtc"):
+ os.unlink("/lib/udev/devices/rtc")
+
+ # Migrate UDEV database
+ if fromVersion and int(fromVersion) < 165:
+ os.system("/sbin/udevadm info --convert-db &> /dev/null")
diff --git a/system/base/udev/files/tmpfiles.conf b/system/base/udev/files/tmpfiles.conf
new file mode 100644
index 0000000000..9a7ad93d58
--- /dev/null
+++ b/system/base/udev/files/tmpfiles.conf
@@ -0,0 +1 @@
+D /run/udev 0755 root root
diff --git a/system/base/udev/pspec.xml b/system/base/udev/pspec.xml
new file mode 100644
index 0000000000..439be79e58
--- /dev/null
+++ b/system/base/udev/pspec.xml
@@ -0,0 +1,284 @@
+
+
+
+
+ udev
+ http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
+
+ PisiLinux Community
+ admins@pisilinux.org
+
+ GPLv2
+ app:console
+ Linux dynamic and persistent device naming support
+ udev allows Linux users to have a dynamic /dev directory and it provides the ability to have persistent device names.
+ http://www.freedesktop.org/software/systemd/systemd-214.tar.xz
+
+ glib2
+ gperf
+ acl-devel
+ libkmod-devel
+ libblkid-devel
+
+
+
+
+ udev
+
+ libudev
+ acl
+ libkmod
+ libblkid
+ util-linux
+
+
+ /bin
+ /sbin
+ /usr/bin
+ /usr/sbin
+ /lib/udev
+ /lib
+ /usr/lib
+ /etc
+ /usr/lib/tmpfiles.d/udev.conf
+ /run/udev
+ /lib/systemd
+ /etc/udev/rules.d
+ /lib/udev/rules.d
+ /usr/share/dbus-1/services
+ /usr/share/bash-completion/completions
+ /usr/share/doc
+ /usr/share/man
+
+
+ tmpfiles.conf
+
+
+
+ System.Package
+
+
+
+
+ udev-devel
+ system.devel
+ Development files for udev
+
+ udev
+
+
+ /usr/include/systemd/sd-daemon.h
+ /usr/lib32/pkgconfig/libsystemd-daemon.pc
+ /usr/lib/pkgconfig/libsystemd-daemon.pc
+ /usr/share/pkgconfig/udev.pc
+
+
+
+
+ libudev
+ Dynamic library to access udev device information
+
+ udev
+
+
+ /usr/lib/libudev*
+ /lib/libudev*
+
+
+
+
+ libudev-devel
+ system.devel
+ Development files for libudev
+
+ udev
+ libudev
+
+
+ /usr/include/libudev.h
+ /usr/lib/pkgconfig/libudev.pc
+ /usr/lib32/pkgconfig/libudev.pc
+ /usr/share/gtk-doc/html/libudev
+
+
+
+
+ libgudev1
+ Libraries for adding libudev support to applications that use glib
+
+ glib2
+ libudev
+ >
+
+ /usr/lib/libgudev*
+
+
+
+
+ libgudev1-devel
+ system.devel
+ Development files for libgudev1
+
+ libudev-devel
+ libgudev1
+
+
+ /usr/include/gudev-1.0
+ /usr/lib/pkgconfig/gudev-1.0*
+ /usr/lib32/pkgconfig/gudev-1.0*
+ /usr/share/gir-1.0/GUdev-1.0.gir
+ /usr/share/gtk-doc/html/gudev
+
+
+
+
+ libudev-32bit
+ emul32
+ 32-bit shared libraries for libudev
+ emul32
+
+ libkmod-32bit
+ libblkid-32bit
+
+
+ libudev
+
+
+ /usr/lib32/libudev*
+ /lib32/libudev*
+
+
+
+
+ libgudev1-32bit
+ emul32
+ 32-bit shared libraries for libgudev1
+ emul32
+
+ glib2-32bit
+
+
+ libgudev1
+ libudev-32bit
+ glib2-32bit
+
+
+ /usr/lib32/libgudev*
+
+
+
+
+
+ 2014-07-01
+ 214
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2014-05-11
+ 212
+ Add upstream patches.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2014-03-28
+ 212
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2014-03-12
+ 211
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2014-03-07
+ 210
+ Rebuild.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2014-02-26
+ 210
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2014-02-20
+ 209
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2014-01-11
+ 208
+ Add tmpfiles.conf, git updates.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2013-10-30
+ 208
+ Version bump.
+ Serdar Soytetir
+ kaptan@pisilinux.org
+
+
+ 2013-09-10
+ 206
+ Add /run/udev directory.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2013-08-13
+ 206
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2013-07-28
+ 204
+ Fix pc files for emul32.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2013-06-13
+ 204
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2013-03-30
+ 200
+ Version bump.
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2013-01-24
+ 197
+ Version bump, add emul32
+ Marcin Bojara
+ marcin@pisilinux.org
+
+
+ 2012-10-11
+ 194
+ First release
+ Erdem Artan
+ admins@pisilinux.org
+
+
+
diff --git a/system/base/udev/translations.xml b/system/base/udev/translations.xml
new file mode 100644
index 0000000000..5535e5820b
--- /dev/null
+++ b/system/base/udev/translations.xml
@@ -0,0 +1,35 @@
+
+
+
+ udev
+ Linux dinamik ve sürekli aygıt isimlendirme desteği (kernel dışındaki devfs)
+ udev linux kullanıcılarının dinamik /dev dizinine sahip olmalarına olanek verir ve tutarlı cihaz isimleri almasını sağlar.
+ udev permet aux utilisateurs Linux d'avoir un répertoire /dev dynamique et donne la possibilité d'avoir des noms de périphériques persistants.
+ udev ermöglicht Linux Benutzern ein dynamisches /dev Verzeichnis und beständige Gerätenamen
+
+
+
+ libudev
+ udev aygıt bilgilerini sunan kitaplık
+
+
+
+ libudev-32bit
+ udev için 32-bit paylaşımlı kitaplıklar
+
+
+
+ libudev-devel
+ libudev için geliştirme dosyaları
+
+
+
+ libgudev1
+ glib kullanan uygulamalara libudev desteği eklemek için kullanılan kitaplık
+
+
+
+ libgudev1-devel
+ libgudev1 için geliştirme dosyaları
+
+