Add usr/lib/python?.?/site-packages/*rhsm* and usr/$LIBDIR/python?.?/site-packages/encodings to the stage2 image so subscription-manager's product-id plugin will work properly. --- scripts/upd-instroot | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/upd-instroot b/scripts/upd-instroot index a24c749..3b056d4 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -482,6 +482,7 @@ usr/lib/python?.?/site-packages/pirut/* usr/lib/python?.?/site-packages/pykickstart/* usr/lib/python?.?/site-packages/rhpxl/* usr/lib/python?.?/site-packages/instnum.* +usr/lib/python?.?/site-packages/*rhsm* usr/lib/rpm/macros usr/lib/rpm/rpmpopt usr/lib/rpm/rpmrc @@ -1335,7 +1336,6 @@ find $DESTGR -type f -name '*.so' |xargs strip -g # some python stuff we don't need for stage2 rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/distutils/ rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/lib-dynload/japanese -rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/encodings/ rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/compiler/ rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/email/test/ rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/curses/ -- 1.7.5.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list