diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-05-06 17:53:07 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-06 17:53:07 +0000 |
commit | 574009f3b76ac859d173f5450b53a8b31d5ef1ca (patch) | |
tree | 0ab2716ec1e40025cea1fcdd443d16cce24f756d /packages/ipkg/ipkg.inc | |
parent | b7c0b97dec8d44496972003a3258654945872d29 (diff) | |
parent | 90d7e5110319cc4ab6b5e47af5e989b58004ee2f (diff) |
merge of 224e3cbcf014b8cd9406d30cb74a19c2d77cd5d6
and 253cbfe06dd468b449fb7cf63f7d91224be6c3d1
Diffstat (limited to 'packages/ipkg/ipkg.inc')
-rw-r--r-- | packages/ipkg/ipkg.inc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/ipkg/ipkg.inc b/packages/ipkg/ipkg.inc index f535cfbef0..8fc6c9efe0 100644 --- a/packages/ipkg/ipkg.inc +++ b/packages/ipkg/ipkg.inc @@ -16,6 +16,11 @@ S = "${WORKDIR}/ipkg/C" inherit autotools pkgconfig +# Define a variable to allow distros to run configure earlier. +# (for example, to enable loading of ethernet kernel modules before networking starts) +IPKG_INIT_POSITION = "98" +IPKG_INIT_POSITION_slugos = "41" + pkg_postinst_ipkg () { #!/bin/sh if [ "x$D" != "x" ]; then @@ -23,8 +28,8 @@ if [ "x$D" != "x" ]; then # this happens at S98 where our good 'ole packages script used to run echo -e "#!/bin/sh ipkg-cl configure -" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure - chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure +" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure + chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure fi update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100 |