mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
opkg: rename postinst trigger script
Use 'run-postinsts' as trigger script name as it describes better the intent of it. (From OE-Core rev: 9a0a106f64a913de593877bf47f79cb29ab87716) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f473660b5f
commit
792d79f157
@@ -11,7 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
|
||||
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
|
||||
|
||||
PE = "1"
|
||||
INC_PR = "r7"
|
||||
INC_PR = "r8"
|
||||
|
||||
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
|
||||
|
||||
@@ -60,9 +60,9 @@ if [ "x$D" != "x" ]; then
|
||||
# this happens at S98 where our good 'ole packages script used to run
|
||||
echo "#!/bin/sh
|
||||
opkg-cl configure
|
||||
rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
|
||||
" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
|
||||
chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
|
||||
rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
|
||||
" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
|
||||
chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts
|
||||
fi
|
||||
|
||||
update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
|
||||
|
||||
Reference in New Issue
Block a user