mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
opkg.inc: don't hardcode /var/lib/opkg
(From OE-Core rev: 9caf1f2540f0419c1301cc21777f97c6671fd844) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c14122abe2
commit
48fe02a104
@@ -63,7 +63,7 @@ REDIRECT_CMD[vardepsexclude] += "IMAGE_FEATURES POSTLOG"
|
||||
|
||||
pkg_postinst_${PN} () {
|
||||
#!/bin/sh
|
||||
if [ "x$D" != "x" ] && [ -f $D/var/lib/opkg/status ]; then
|
||||
if [ "x$D" != "x" ] && [ -f $D${OPKGLIBDIR}/opkg/status ]; then
|
||||
install -d $D${sysconfdir}/rcS.d
|
||||
|
||||
# this happens at S98 where our good 'ole packages script used to run
|
||||
|
||||
Reference in New Issue
Block a user