mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
opkg: S98configure script is needed only on first boot
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4705 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -6,7 +6,7 @@ RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
|
||||
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
|
||||
PACKAGE_ARCH_update-alternatives-cworth = "all"
|
||||
|
||||
PR = "r4"
|
||||
PR = "r5"
|
||||
|
||||
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
|
||||
|
||||
@@ -26,6 +26,7 @@ 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${OPKG_INIT_POSITION}configure
|
||||
" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
|
||||
chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user