diff options
Diffstat (limited to 'recipes/dpkg/dpkg.inc')
-rw-r--r-- | recipes/dpkg/dpkg.inc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/recipes/dpkg/dpkg.inc b/recipes/dpkg/dpkg.inc index eb5778fa3b..b15a6365b4 100644 --- a/recipes/dpkg/dpkg.inc +++ b/recipes/dpkg/dpkg.inc @@ -19,17 +19,14 @@ inherit autotools gettext DPKG_INIT_POSITION = "98" DPKG_INIT_POSITION_slugos = "41" -pkg_postinst_dpkg () { -#!/bin/sh -if [ "x$D" != "x" ]; then - install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d +do_install_prepend () { + install -d ${D}${sysconfdir}/rcS.d # this happens at S98 where our good 'ole packages script used to run printf "#!/bin/sh - dpkg --configure -a - rm -f /${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure -\n" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure - chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure -fi +dpkg --configure -a +rm -f ${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure +" > ${D}${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure + chmod 0755 ${D}${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure } do_configure () { |