diff options
author | Chris Larson <kergoth@openedhand.com> | 2006-09-19 09:04:09 +0000 |
---|---|---|
committer | Chris Larson <kergoth@openedhand.com> | 2006-09-19 09:04:09 +0000 |
commit | 4fa2d11bb1fdb58ff426114169583672fc3d65b8 (patch) | |
tree | 0bd4952bbe057c3dc219be7e371a6a9d496c6535 /meta/packages/dpkg/dpkg.inc | |
parent | 04f695333350e31fa87b7822c17a073af73fcd84 (diff) | |
download | poky-4fa2d11bb1fdb58ff426114169583672fc3d65b8.tar.gz |
Sync up.. all the deb/dpkg changes which I have locally are now in svn.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 | } | ||