-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 27 Jan 2010, Chris Lumens wrote:
diff --git a/scripts/mk-images b/scripts/mk-images
index edd4ecc..c4a3142 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -849,13 +849,20 @@ EOF
instbin $IMGPATH /usr/bin/wget $MBD_DIR /sbin/wget
# Indirect dependencies
- install -m 755 $IMGPATH/$LIBDIR/libfreebl3.so $MBD_DIR/$LIBDIR/
- install -m 755 $IMGPATH/usr/$LIBDIR/libsoftokn3.so $MBD_DIR/$LIBDIR/
+ for nsslib in freebl3 softokn3 nssdbm3 ; do
+ if [ -f $IMGPATH/$LIBDIR/lib$nsslib.so ]; then
+ install -m 755 $IMGPATH/$LIBDIR/lib$nsslib.so $MBD_DIR/$LIBDIR/
+ elif [ -f $IMGPATH/usr/$LIBDIR/lib$nsslib.so ]; then
+ install -m 755 $IMGPATH/usr/$LIBDIR/lib$nsslib.so $MBD_DIR/$LIBDIR/
+ else
+ echo "ERROR: *** Missing lib$nsslib.so" >&2
+ fi
+ done
+
install -m 755 $IMGPATH/usr/$LIBDIR/libsqlite3.so.0 $MBD_DIR/usr/$LIBDIR/
install -m 755 $IMGPATH/$LIBDIR/libnss_dns.so.2 $MBD_DIR/$LIBDIR/
install -m 755 $IMGPATH/$LIBDIR/libnss_files.so.2 $MBD_DIR/$LIBDIR/
install -m 755 $IMGPATH/$LIBDIR/libgcc_s.so.1 $MBD_DIR/$LIBDIR/
- install -m 755 $IMGPATH/usr/$LIBDIR/libnssdbm3.so $MBD_DIR/$LIBDIR/
install -m 644 $IMGPATH/etc/udev/udev.conf $MBD_DIR/etc/udev/udev.conf
for i in $IMGPATH/lib/udev/rules.d/*.rules ; do
I'd prefer maintaining a list of libraries that are dlopened and
iterating over that, instead of acting like this is just these three NSS
libraries. At the least, the other libnss_*.so files fit this category.
I'm sure git log would reveal more.
I'm ok with that approach. I'd like to do that when it's less paniced (or
even in lorax rather than these scripts).
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 2fbed22..e0c0615 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -286,9 +286,12 @@ KEEPFILE=${TMPDIR:-/tmp}/keepfile.$$
cat > $KEEPFILE <<EOF
$LIBDIR/dbus-1
$LIBDIR/libaio.so*
+$LIBDIR/libfreebl3.so
$LIBDIR/libmultipath.so*
$LIBDIR/libnss_dns*
$LIBDIR/libnss_files*
+$LIBDIR/libnssdbm3.so
+$LIBDIR/libsoftokn3.so
$LIBDIR/libwrap*.so*
$LIBDIR/multipath/*
$LIBDIR/security/pam_*
This part's fine. Hopefully we'll even remember why some libraries are
listed twice.
Once lorax is usable, this stuff won't even matter anymore.
- --
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAktgisMACgkQ5hsjjIy1Vkn5YACg6cIiJV2NU+QyDHO2ls6s4ozZ
Eh8AoLuqziVVHCKpYruLO4RIQDYD/khM
=UIu7
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list