snapper: add recipe
A message that is not in the archive (sent off-list or not yet received): [email protected]
I created a recipe for snapper and thought it might be useful enough for meta-oe?
Quoted 72 lines · Markus Volk
Snapper is a tool for Linux file system snapshot management. Apart from the obvious creation and deletion of snapshots it can compare snapshots and revert differences between them. In simple terms, this allows root and non-root users to view older versions of files and revert changes.
Signed-off-by Markus Volk <[email protected] <mailto:[email protected]>>--- .../recipes-support/snapper/snapper_0.11.2.bb | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-oe/recipes-support/snapper/snapper_0.11.2.bbmeta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +1
-0@@ -0,0 +1,35 @@ +SUMMARY = "Snapper is a tool for Linux file system snapshotmanagement"
meta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +3
-0+HOMEPAGE = "<https://github.com/openSUSE/snapper>" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM ="file://COPYING;md5=751419260aa954499f7abaabaa882bbe" <file://copying;md5=751419260aa954499f7abaabaa882bbe/>
meta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +7
-0+ +DEPENDS = "acl boost btrfs-tools dbus json-c libxml2 lvm2 zlib" + +# Build separation is slightly broken +inherit autotools-brokensep pkgconfig gettext + +SRC_URI ="
git://github.com/openSUSE/snapper.git;protocol=https;branch=master"meta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +5
-0+SRCREV = "6c603565f36e9996d85045c8012cd04aba5f3708" + +S = "${WORKDIR}/git" + +PACKAGECONFIG ?= "${@bb.utils.filter<mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'api-documentation systemd pam', d)}"
meta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +3
-0+PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" +PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" +PACKAGECONFIG[api-documentation] ="--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native"
meta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +11
-0+ +# Avoid HOSTTOOLS path in binaries +export DIFFBIN="${bindir}/diff" +export RMBIN = "${bindir}/rm" +export TOUCHBIN = "${bindir}/touch" +export CPBIN = "${bindir}/cp" + + +do_install:append() { + install -d ${D}${sysconfdir}/sysconfig + install -m0644 ${S}/data/default-config${D}${sysconfdir}/sysconfig/snapper
meta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +3
-0+} + +FILES:${PN} += "${libdir}/pam_snapper ${libdir}/systemd${libdir}/zypp ${libdir}/security ${datadir}"
meta-oe/recipes-support/snapper/snapper_0.11.2.bb new file +2
-1+# bash is needed for the testsuite +RDEPENDS:${PN} = "bash diffutils util-linux" --2.47.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112978): <https://lists.openembedded.org/g/openembedded-devel/message/112978>
Mute This Topic: <https://lists.openembedded.org/mt/109081580/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-