39bc6c35f1
Porting all CentOS patches, and also align the file permission with CentOS. Test Plan: Verify the building, installing and booting test PASS: Verify package build PASS: Verify system install PASS: Verify system boot Story: 2009221 Task: 43415 Signed-off-by: Yue Tao <yue.tao@windriver.com> Change-Id: I7766d4aa26420c6f701a0dffaa7e9bf6b77e0c75
24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
--- a/debian/rules
|
|
+++ b/debian/rules
|
|
@@ -3,10 +3,20 @@
|
|
%:
|
|
dh $@
|
|
|
|
+override_dh_usrlocal:
|
|
+
|
|
override_dh_auto_install:
|
|
$(MAKE) install DESTDIR=debian/ldapscripts PREFIX=/usr ETCDIR=/etc/ldapscripts LIBDIR=/usr/share/ldapscripts MANDIR=/usr/share/man
|
|
cp debian/runtime.debian debian/ldapscripts/usr/share/ldapscripts
|
|
rm debian/ldapscripts/etc/ldapscripts/*.sample
|
|
+ $(MAKE) install DESTDIR=debian/ldapscripts PREFIX=/usr ETCDIR=/usr/local/etc/ldapscripts
|
|
+ install -m 644 ldapscripts.conf.cgcs debian/ldapscripts/usr/local/etc/ldapscripts
|
|
+ install -m 644 ldapadduser.template.cgcs debian/ldapscripts/usr/local/etc/ldapscripts
|
|
+ install -m 644 ldapaddgroup.template.cgcs debian/ldapscripts/usr/local/etc/ldapscripts
|
|
+ install -m 644 ldapmoduser.template.cgcs debian/ldapscripts/usr/local/etc/ldapscripts
|
|
+ install -m 644 ldapaddsudo.template.cgcs debian/ldapscripts/usr/local/etc/ldapscripts
|
|
+ install -m 644 ldapmodsudo.template.cgcs debian/ldapscripts/usr/local/etc/ldapscripts
|
|
+ install -m 600 ldapscripts.passwd debian/ldapscripts/usr/local/etc/ldapscripts
|
|
|
|
override_dh_installdocs:
|
|
dh_installdocs README TODO
|