From 1e40bc8272df4774cde8f1a9d8561624eb6ae930 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 20 Dec 2010 20:38:11 +0000 Subject: rootfs_rpm: Add --ignoresize option when performing DB operations on a rootfs Signed-off-by: Richard Purdie --- meta/classes/rootfs_rpm.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 6e9cbba8c..33abe96df 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -80,7 +80,7 @@ fakeroot rootfs_rpm_do_rootfs () { # an actual package install! ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${DEPLOY_DIR_RPM}/solvedb.macro`" \ -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync" \ - -U --justdb --noscripts --notriggers --noparentdirs --nolinktos \ + -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \ ${IMAGE_ROOTFS}/install/install.manifest if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then @@ -95,7 +95,7 @@ fakeroot rootfs_rpm_do_rootfs () { echo "Attempting $pkg_name..." >> "${WORKDIR}/temp/log.do_rootfs_attemptonly.${PID}" ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${DEPLOY_DIR_RPM}/solvedb.macro`" \ -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync private" \ - -U --justdb --noscripts --notriggers --noparentdirs --nolinktos \ + -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \ $pkg_name >> "${WORKDIR}/temp/log.do_rootfs_attemptonly.${PID}" || true done fi @@ -130,7 +130,7 @@ fakeroot rootfs_rpm_do_rootfs () { echo "Attempting $pkg_name..." >> "${WORKDIR}/temp/log.do_rootfs_recommend.${PID}" ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${DEPLOY_DIR_RPM}/solvedb.macro`" \ -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync private" \ - -U --justdb --noscripts --notriggers --noparentdirs --nolinktos \ + -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \ $pkg_name >> "${WORKDIR}/temp/log.do_rootfs_recommend.${PID}" 2>&1 || true done cat ${IMAGE_ROOTFS}/install/recommend.list ${IMAGE_ROOTFS}/install/recommend.new | sort -u > ${IMAGE_ROOTFS}/install/recommend.new.list -- cgit v1.2.3