Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | SUMMARY = "This script upgrades packages automatically and unattended." |
| 2 | DESCRIPTION = "The purpose of unattended-upgrades is to keep the computer current with the latest security (and other) updates automatically." |
| 3 | HOMEPAGE = "https://wiki.debian.org/UnattendedUpgrades" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 4 | LICENSE = "GPL-2.0-only" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ |
| 6 | file://debian/copyright;md5=62b5f2ac0ede901fb245eefbe54c181f" |
| 7 | |
| 8 | SRC_URI = "git://github.com/mvo5/unattended-upgrades.git;protocol=https;branch=master \ |
| 9 | file://0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch \ |
Andrew Geissler | 78b7279 | 2022-06-14 06:47:25 -0500 | [diff] [blame] | 10 | file://0001-setup.py-Disable-autodection-of-modules.patch \ |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 11 | " |
| 12 | |
| 13 | SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 17 | inherit setuptools3_legacy |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 18 | |
| 19 | DEPENDS += "apt intltool-native python3-distutils-extra-native" |
| 20 | RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog" |
| 21 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 22 | do_configure:prepend () { |
| 23 | install -Dm 0644 ${S}/data/50unattended-upgrades.Debian ${S}/data/50unattended-upgrades |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | do_install:append () { |
| 27 | # fix bad installation path's |
| 28 | mv -v ${D}/usr/usr/share/* ${D}/usr/share/ |
| 29 | rm -r ${D}/usr/usr |
| 30 | } |
| 31 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 32 | FILES:${PN} = "${bindir} ${exec_prefix}/etc ${libdir} ${datadir} ${nonarch_libdir}" |