diff options
author | Chris Lumens <clumens@redhat.com> | 2006-04-04 20:29:32 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-04-04 20:29:32 +0000 |
commit | 9832d0233c37a8bca562f8f03dbe3cae052c4ba5 (patch) | |
tree | 082c566dbd3136f299758e3290f00b19be38b5fb | |
parent | e69b096a03105e0c4d3512eda5a806233d7a75f0 (diff) | |
download | anaconda-9832d0233c37a8bca562f8f03dbe3cae052c4ba5.tar.gz anaconda-9832d0233c37a8bca562f8f03dbe3cae052c4ba5.tar.xz anaconda-9832d0233c37a8bca562f8f03dbe3cae052c4ba5.zip |
Add libuser.
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | scripts/upd-instroot | 18 |
2 files changed, 18 insertions, 2 deletions
@@ -8,7 +8,7 @@ (requireDisplayMode): Removed. * scripts/upd-instroot: Add xorg-x11-server-Xorg to $PACKAGES for the - modes files. + modes files. Add libuser as well for password stuff. 2006-03-31 Chris Lumens <clumens@redhat.com> diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 407e6884f..dc2b33886 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -121,7 +121,7 @@ PACKAGES="glibc glibc-common setup openssl python newt slang libselinux policy policycoreutils pyparted xorg-x11 selinux-policy-targeted libstdc++ expat libgcc readline ncurses yum python-sqlite python-elementtree pykickstart e2fsprogs-libs iscsi-initiator-utils - db4 rhpxl xorg-x11-server-Xorg" + db4 rhpxl xorg-x11-server-Xorg libuser" if [ $ARCH = i386 -o $ARCH = x86_64 ]; then PACKAGES="$PACKAGES pcmciautils kernel-utils" @@ -406,6 +406,8 @@ usr/$LIBDIR/librpmdb*4.?.so* usr/$LIBDIR/librpmio*4.?.so* usr/$LIBDIR/libslang* usr/$LIBDIR/libstdc++.so.6* +usr/$LIBDIR/libuser.so* +usr/$LIBDIR/libuser/* usr/$LIBDIR/libxml2.so* usr/$LIBDIR/libz.* usr/$LIBDIR/libreadline* @@ -417,6 +419,7 @@ usr/$LIBDIR/python?.?/site-packages/rpmmodule.so usr/$LIBDIR/python?.?/site-packages/partedmodule.so usr/$LIBDIR/python?.?/site-packages/ixf86configmodule.so usr/$LIBDIR/python?.?/site-packages/xf86config.py +usr/$LIBDIR/python?.?/site-packages/libusermodule.so usr/$LIBDIR/python?.?/site-packages/*sqlite* usr/$LIBDIR/python?.?/site-packages/rhpl usr/$LIBDIR/python?.?/site-packages/rhpxl @@ -1064,8 +1067,21 @@ automount: files aliases: files EOF +echo "Creating libuser.conf" +cat > $DEST/etc/libuser.conf <<EOF +[defaults] +crypt_style = md5 +modules = files shadow +create_modules = files shadow +[files] +directory = /mnt/sysimage/etc +[shadow] +directory = /mnt/sysimage/etc +EOF + cp $DEST/etc/shells $DESTGR/etc/shells cp $DEST/etc/nsswitch.conf $DESTGR/etc/nsswitch.conf +cp $DEST/etc/libuser.conf $DESTGR/etc/libuser.conf # fixup man.config to point into /mnt/sysimage for rescue echo "Fixing up /etc/man.config to point into /mnt/sysimage" |