Skip to content
Snippets Groups Projects
Commit 74d56ecd authored by James Simmons's avatar James Simmons Committed by John L. Hammond
Browse files

LU-10869 build: package configuration files for Ubuntu / Debian

For a long time Lustre never added /etc configuration files to its
debian packages. It could get away with but now you can see it
fail conf-sanity test 76a. This test the lctl set_param -P which
uses udev events to set the tunables for lustre. In order for it
to work a default udev rule has to be added to 99-lustre.rules.
Beside the missing 99-lustre.rules and in all the other files used
for configuration. Lastly create conffile which is the way Debian
handles potential stomping of configuration files. When installing
with apt-get install it will ask the person installing if they
want to over ride specific files.

Test-Parameters: clientdistro=ubuntu1604 trivial testlist=conf-sanity
Test-Parameters: envdefinitions=ONLY=76a testlist=conf-sanity

Lustre-change: https://review.whamcloud.com/31850


Lustre-commit: 8f221cf6

Change-Id: Ic0aaf2bba531ce23a3e23ef070a1501032ad1c9f
Signed-off-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Reviewed-by: default avatarThomas Stibor <t.stibor@gsi.de>
Reviewed-by: default avatarNathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-on: https://review.whamcloud.com/32471


Tested-by: Jenkins
Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
parent 6121299d
No related branches found
No related tags found
No related merge requests found
/etc/lnet.conf
/etc/lnet_routes.conf
/etc/modprobe.d/ko2iblnd.conf
/etc/udev/rules.d/99-lustre.rules
debian/tmp/sbin/* sbin debian/tmp/sbin/* sbin
debian/tmp/usr/sbin/* usr/sbin debian/tmp/usr/sbin/* usr/sbin
debian/tmp/usr/bin/* usr/bin debian/tmp/usr/bin/* usr/bin
debian/tmp/lib/systemd/system/* lib/systemd/system
debian/tmp/etc/* etc
...@@ -349,7 +349,7 @@ binary-modules: prep-deb-files ...@@ -349,7 +349,7 @@ binary-modules: prep-deb-files
$(MAKE) $(PMAKEARGS) $(MAKE) $(PMAKEARGS)
$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PKGNAME) $(MAKE) install DESTDIR=$(CURDIR)/debian/$(PKGNAME)
# Remove stuff that doesn't belong (no module-only target) # Remove stuff that doesn't belong (no module-only target)
cd $(CURDIR)/debian/$(PKGNAME) && rm -rf usr/bin usr/sbin usr/lib usr/share usr/include/lustre sbin etc cd $(CURDIR)/debian/$(PKGNAME) && rm -rf usr/bin usr/sbin usr/lib usr/share usr/include/lustre lib/systemd sbin etc
dh_installdocs -p$(PKGNAME) dh_installdocs -p$(PKGNAME)
dh_installchangelogs -p$(PKGNAME) dh_installchangelogs -p$(PKGNAME)
dh_installmodules -p $(PKGNAME) dh_installmodules -p $(PKGNAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment