diff options
| author | Martin Gracik <mgracik@redhat.com> | 2010-05-17 13:57:09 +0200 |
|---|---|---|
| committer | Martin Sivak <msivak@redhat.com> | 2010-05-20 15:09:49 +0200 |
| commit | e00e295ed4f8e3ee4b15bfe2e2b7781e33d8d004 (patch) | |
| tree | 535e2d0a087078547bec1f340fdfc3baf6608316 /scripts | |
| parent | e591b30fca36b9c7db4f045354ecb92eb9ee24bd (diff) | |
Add the rpmrc file to the initrd.img (#508242)
We need to have this file so the rpm routines
don't show up warnings that it's missing.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mk-images | 3 | ||||
| -rwxr-xr-x | scripts/upd-instroot | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 2aad2ecfd..735556fd1 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -590,6 +590,7 @@ makeinitrd() { mkdir -m 111 -p $MBD_DIR/var/empty/sshd mkdir -p $MBD_DIR/etc/{pam.d,security} mkdir -p $MBD_DIR/$LIBDIR/security + mkdir -p $MBD_DIR/usr/lib/rpm for x in $IMGPATH/$LIBDIR/security/* ; do y=$(basename $x) @@ -890,6 +891,8 @@ EOF install -m 644 $IMGPATH/usr/share/terminfo/$i $MBD_DIR/etc/terminfo/$i done + cp -a $IMGPATH/usr/lib/rpm/rpmrc $MBD_DIR/usr/lib/rpm + makeproductfile $MBD_DIR for n in insmod rmmod modprobe depmod; do diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 8d1d6a5ad..be167c97d 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -511,6 +511,7 @@ usr/$LIBDIR/libuser/* usr/$LIBDIR/pango usr/$LIBDIR/python?.? usr/$LIBDIR/rpm/rpmpopt +usr/lib/rpm/rpmrc usr/$LIBDIR/libiscsi.so* usr/$LIBDIR/libmetacity-private.so* usr/$LIBDIR/libsqlite3.so* |
