Skip to contentSkip to conversation

genhomedircon script

PATCH Daniel J Walsh 1 participant 1 message Oct 5, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Certain tools were calling genhomedircon and in certain cases genhomedircon is handy for rebuilding the home directory mapping.

Since semodule -Bn will rebuild, added genhomedircon script that just executes that command.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHBnFnrlYvE4MpobMRAlewAKCIEx4xXsOcfgqmmvPU+831lbULVACbB+cm pj1mkkZoxZsZRgTjBkk4Q1s=
=SRCa
-----END PGP SIGNATURE-----

scripts/genhomedircon +2 -0
diff --exclude-from=exclude --exclude=sepolgen-1.0.10 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-2.0.27/scripts/genhomedircon
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/sbin/semodule -Bn
scripts/Makefile +2 -1
diff --exclude-from=exclude --exclude=sepolgen-1.0.10 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/Makefile policycoreutils-2.0.27/scripts/Makefile
@@ -5,12 +5,13 @@
 MANDIR ?= $(PREFIX)/share/man
 LOCALEDIR ?= /usr/share/locale
 
-all: fixfiles
+all: fixfiles genhomedircon
 
 install: all
 	-mkdir -p $(BINDIR)
 	install -m 755 chcat $(BINDIR)
 	install -m 755 fixfiles $(DESTDIR)/sbin
+	install -m 755 genhomedircon  $(SBINDIR)
 	-mkdir -p $(MANDIR)/man8
 	install -m 644 fixfiles.8 $(MANDIR)/man8/
 	install -m 644 chcat.8 $(MANDIR)/man8/