[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Add missing rpm macros file to get rid of the rpm warnings



Ack.

On 05/20/2010 02:45 PM, Martin Sivak wrote:
Related: rhbz#593941
---
  scripts/mk-images    |    2 ++
  scripts/upd-instroot |    1 +
  2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 7e11549..2627904 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -592,6 +592,7 @@ makeinitrd() {
      mkdir -p $MBD_DIR/etc/{pam.d,security}
      mkdir -p $MBD_DIR/$LIBDIR/security
      mkdir -p $MBD_DIR/usr/lib/rpm
+    mkdir -p $MBD_DIR/var/lib/rpm

      for x in $IMGPATH/$LIBDIR/security/* ; do
  	y=$(basename $x)
@@ -860,6 +861,7 @@ makeinitrd() {
      done

      cp -a $IMGPATH/usr/lib/rpm/rpmrc $MBD_DIR/usr/lib/rpm
+    cp -a $IMGPATH/usr/lib/rpm/macros $MBD_DIR/usr/lib/rpm

      makeproductfile $MBD_DIR

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 29788a1..22b7192 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -513,6 +513,7 @@ usr/$LIBDIR/pango
  usr/$LIBDIR/python?.?
  usr/$LIBDIR/rpm/rpmpopt
  usr/lib/rpm/rpmrc
+usr/lib/rpm/macros
  usr/$LIBDIR/libiscsi.so*
  usr/$LIBDIR/libfreebl3.so
  usr/$LIBDIR/libfreebl3.chk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]