]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_ipk, package_ipk: drop --force-overwrite
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 28 Nov 2012 15:40:07 +0000 (15:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Dec 2012 14:22:45 +0000 (14:22 +0000)
* it was introduced in 2010 by 8c3a7ebac8bed700bcc37f778d5a883cfeee8de8
  but doesn't seem needed anymore
* also such do_rootfs failure is good indication that runtime packages
  installed are not sane, ignoring this error in do_rootfs just
  transfers the issue to end user when he does "opkg upgrade" later
  on device
* tested on SHR images with whole feed included and only issue was
  gstreamer/gst-plugins-* locale packages (and there is patch for this
  on oe-core ML)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_ipk.bbclass
meta/classes/rootfs_ipk.bbclass

index 4bf1b10aaef1e129d053809e4cb2064dbe0c55c4..f916cf5b9013777301961074f36dd6b8c6807b4d 100644 (file)
@@ -139,7 +139,7 @@ package_install_internal_ipk() {
 
        mkdir -p ${target_rootfs}${localstatedir}/lib/opkg/
 
-       local ipkg_args="-f ${conffile} -o ${target_rootfs} --force-overwrite --force_postinstall --prefer-arch-to-version"
+       local ipkg_args="-f ${conffile} -o ${target_rootfs} --force_postinstall --prefer-arch-to-version"
 
        opkg-cl ${ipkg_args} update
 
index d5792e54f708b105d07e1cd2b46a7bcf8389fa5a..fc69b7edf4d51775630b1b1ebc982fc9fc89676d 100644 (file)
@@ -14,9 +14,9 @@ do_rootfs[recrdeptask] += "do_package_write_ipk"
 
 do_rootfs[lockfiles] += "${WORKDIR}/ipk.lock"
 
-IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} --force-overwrite --force_postinstall --prefer-arch-to-version"
+IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} --force_postinstall --prefer-arch-to-version"
 # The _POST version also works when constructing the matching SDK
-IPKG_ARGS_POST = "-f ${IPKGCONF_TARGET} -o $INSTALL_ROOTFS_IPK --force-overwrite --force_postinstall --prefer-arch-to-version"
+IPKG_ARGS_POST = "-f ${IPKGCONF_TARGET} -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version"
 
 OPKG_PREPROCESS_COMMANDS = "package_update_index_ipk; package_generate_ipkg_conf"