install -d ${D}${localstatedir}/cache/apt/archives/partial
install -d ${D}${docdir}/apt/examples
install -m 0644 doc/examples/* ${D}${docdir}/apt/examples/
+
+ install -d ${D}${sysconfdir}/default/volatiles
+ install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_apt
+}
+
+pkg_postinst_${PN} () {
+ /etc/init.d/populate-volatile.sh update
}
LICENSE = "GPL"
SECTION = "base"
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz"
+SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
+ file://volatiles "
S = "${WORKDIR}/apt-${PV}"
require apt.inc
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
- file://no-ko-translation.patch;patch=1 \
- file://use-host.patch;patch=1 "
-PR = "r2"
+SRC_URI += "file://no-ko-translation.patch;patch=1 \
+ file://use-host.patch;patch=1 "
+PR = "r3"
SRC_URI += "file://nodoc.patch;patch=1"
require apt.inc
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
- file://no-ko-translation.patch;patch=1 \
- file://use-host.patch;patch=1 "
-PR = "r2"
+SRC_URI += "file://no-ko-translation.patch;patch=1 \
+ file://use-host.patch;patch=1 "
+PR = "r3"
SRC_URI += "file://nodoc.patch;patch=1"
require apt.inc
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
- file://no-doxygen.patch;patch=1 \
- file://no-ko-translation.patch;patch=1 \
- file://use-host.patch;patch=1 "
+SRC_URI += "file://no-doxygen.patch;patch=1 \
+ file://no-ko-translation.patch;patch=1 \
+ file://use-host.patch;patch=1 "
+PR = "r1"
require apt-package.inc
--- /dev/null
+d root root 0755 /var/cache/apt none
+d root root 0755 /var/cache/apt/archives none
+d root root 0755 /var/cache/apt/archives/partial none