diff options
Diffstat (limited to 'openembedded/packages/ipkg/ipkg.inc')
-rw-r--r-- | openembedded/packages/ipkg/ipkg.inc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/openembedded/packages/ipkg/ipkg.inc b/openembedded/packages/ipkg/ipkg.inc index f535cfbef0..8fc6c9efe0 100644 --- a/openembedded/packages/ipkg/ipkg.inc +++ b/openembedded/packages/ipkg/ipkg.inc | |||
@@ -16,6 +16,11 @@ S = "${WORKDIR}/ipkg/C" | |||
16 | 16 | ||
17 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
18 | 18 | ||
19 | # Define a variable to allow distros to run configure earlier. | ||
20 | # (for example, to enable loading of ethernet kernel modules before networking starts) | ||
21 | IPKG_INIT_POSITION = "98" | ||
22 | IPKG_INIT_POSITION_slugos = "41" | ||
23 | |||
19 | pkg_postinst_ipkg () { | 24 | pkg_postinst_ipkg () { |
20 | #!/bin/sh | 25 | #!/bin/sh |
21 | if [ "x$D" != "x" ]; then | 26 | if [ "x$D" != "x" ]; then |
@@ -23,8 +28,8 @@ if [ "x$D" != "x" ]; then | |||
23 | # this happens at S98 where our good 'ole packages script used to run | 28 | # this happens at S98 where our good 'ole packages script used to run |
24 | echo -e "#!/bin/sh | 29 | echo -e "#!/bin/sh |
25 | ipkg-cl configure | 30 | ipkg-cl configure |
26 | " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure | 31 | " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure |
27 | chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure | 32 | chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure |
28 | fi | 33 | fi |
29 | 34 | ||
30 | update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100 | 35 | update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100 |