diff options
Diffstat (limited to 'meta/packages/dpkg/dpkg.inc')
-rw-r--r-- | meta/packages/dpkg/dpkg.inc | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/meta/packages/dpkg/dpkg.inc b/meta/packages/dpkg/dpkg.inc index 3c3f29c304..0d2053ab0f 100644 --- a/meta/packages/dpkg/dpkg.inc +++ b/meta/packages/dpkg/dpkg.inc | |||
@@ -1,10 +1,34 @@ | |||
1 | DESCRIPTION = "Package maintenance system for Debian." | 1 | DESCRIPTION = "Package maintenance system for Debian." |
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "base" | 3 | SECTION = "base" |
4 | DEPENDS = "ncurses zlib" | ||
5 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" | 4 | MAINTAINER = "Chris Larson <kergoth@handhelds.org>" |
6 | 5 | ||
7 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz" | 6 | SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.gz \ |
7 | file://noupdalt.patch;patch=1" | ||
8 | S = "${WORKDIR}/dpkg-${PV}" | 8 | S = "${WORKDIR}/dpkg-${PV}" |
9 | 9 | ||
10 | DEPENDS_${PN} += "update-alternatives" | ||
11 | |||
10 | PARALLEL_MAKE = "" | 12 | PARALLEL_MAKE = "" |
13 | |||
14 | inherit autotools gettext | ||
15 | |||
16 | DPKG_INIT_POSITION = "98" | ||
17 | DPKG_INIT_POSITION_slugos = "41" | ||
18 | |||
19 | pkg_postinst_dpkg () { | ||
20 | #!/bin/sh | ||
21 | if [ "x$D" != "x" ]; then | ||
22 | install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d | ||
23 | # this happens at S98 where our good 'ole packages script used to run | ||
24 | echo -e "#!/bin/sh | ||
25 | dpkg --configure -a | ||
26 | " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure | ||
27 | chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure | ||
28 | fi | ||
29 | } | ||
30 | |||
31 | do_configure () { | ||
32 | echo >> m4/compiler.m4 | ||
33 | autotools_do_configure | ||
34 | } | ||