aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-blivet/python3-blivet_2.2.0.bb
blob: 045e0f48dc3c7da9fe5cddfe9703c7f076b13497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
DESCRIPTION = "A python module for system storage configuration"
HOMEPAGE = "http://fedoraproject.org/wiki/blivet"
LICENSE = "LGPLv2+"
SECTION = "devel/python"

LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

S = "${WORKDIR}/git"
B = "${S}"

SRCREV = "39db82f20d8d4904c0c4dc8912e595177c59e091"
SRC_URI = "git://github.com/rhinstaller/blivet;branch=2.2-devel \
           file://0001-comment-out-selinux.patch \
           file://0002-run_program-support-timeout.patch\
           file://0003-support-infinit-timeout.patch \
           file://0004-Mount-var-volatile-during-install.patch \
           file://0005-update-fstab-by-appending.patch \
           file://0006-fix-new.roots-object-is-not-iterable.patch \
           file://0007-fix-incorrect-timeout-while-system-time-changed.patch \
           file://0008-tweak-btrfs-packages.patch \
           file://0009-invoking-mount-with-infinite-timeout.patch \
           file://0010-use-oe-variable-to-replace-hardcoded-dir.patch \
           file://0011-invoking-fsck-with-infinite-timeout.patch \
           file://0012-invoking-mkfs-with-infinite-timeout.patch \
           file://0013-Revert-Adapt-to-logging-module-name-change.patch \
           file://0014-invoking-dd-with-infinite-timeout.patch \
"

UPSTREAM_CHECK_GITTAGREGEX = "blivet-(?P<pver>\d+(\.\d+)+)$"

inherit distro_features_check
REQUIRED_DISTRO_FEATURES = "systemd"

inherit setuptools3 python3native

RDEPENDS_${PN} = "python3-pykickstart python3-pyudev \
                  parted python3-pyparted multipath-tools \
                  lsof cryptsetup libblockdev \
                  libbytesize \
"

FILES_${PN} += " \
    ${datadir}/dbus-1/system-services \
"

inherit systemd

SYSTEMD_AUTO_ENABLE = "disable"
SYSTEMD_SERVICE_${PN} = "blivet.service"