
Since initscripts was removed /etc/network/if-up.d/mountnfs doesn't exist anymore. Need to update logic here, copy from initscripts here. Add the service from Debian initscripts. Add the /lib/init/mount-functions.sh file. Let mountnfs service be installed by debhelper. Also change the buffer are to /usr/share/starlingx/initscripts, to avoid possible conflicts. Add sysvinv-utils dependency for /lib/init/vars.sh file. Tests on AIO-SX: PASS: build-pkgs && build-image PASS: unlocked enabled available PASS: mountnfs service is started at initial boot, same as on CentOS PASS: stop & start mountnfs service This work assumes advanced nfs tests were run when initscripts mountnfs was chosen in the first place. Depends-On: https://review.opendev.org/c/starlingx/tools/+/843853 Depends-On: https://review.opendev.org/c/starlingx/config-files/+/843854 Story: 2009101 Task: 44776 Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com> Change-Id: I9291345f869b0ad9ee35ddce8cba6125729dfd5a
8 lines
133 B
Makefile
8 lines
133 B
Makefile
#!/usr/bin/make -f
|
|
#export DH_VERBOSE = 1
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd --name=mountnfs mountnfs.service
|