diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-23 16:15:06 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-23 16:15:06 +0000 |
commit | 7b6ad5b9fb0a004cba5a5ff59004aa795ddf0a87 (patch) | |
tree | 999ea988606f1aefa0e1dd414b56b632d9b0718a /meta/packages/opkg | |
parent | 75f3ca5abb0d7a476a8926f2007bf40782326ce5 (diff) | |
download | poky-7b6ad5b9fb0a004cba5a5ff59004aa795ddf0a87.tar.gz |
Fix postinstall scripts not to use IMAGE_ROOTFS direction by use D instead. Based on a patch from Carl Simonson <simonsonc@gmail.com>
Diffstat (limited to 'meta/packages/opkg')
-rw-r--r-- | meta/packages/opkg/opkg_svn.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb index 92796a394f..4517cfff1c 100644 --- a/meta/packages/opkg/opkg_svn.bb +++ b/meta/packages/opkg/opkg_svn.bb | |||
@@ -6,7 +6,7 @@ RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg" | |||
6 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" | 6 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" |
7 | PACKAGE_ARCH_update-alternatives-cworth = "all" | 7 | PACKAGE_ARCH_update-alternatives-cworth = "all" |
8 | 8 | ||
9 | PR = "r8" | 9 | PR = "r9" |
10 | 10 | ||
11 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" | 11 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" |
12 | 12 | ||
@@ -36,8 +36,8 @@ if [ "x$D" != "x" ]; then | |||
36 | echo "#!/bin/sh | 36 | echo "#!/bin/sh |
37 | opkg-cl configure | 37 | opkg-cl configure |
38 | rm -f /${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure | 38 | rm -f /${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure |
39 | " > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure | 39 | " > $D${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure |
40 | chmod 0755 ${IMAGE_ROOTFS}${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure | 40 | chmod 0755 $D${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure |
41 | fi | 41 | fi |
42 | 42 | ||
43 | update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100 | 43 | update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100 |